Question: I'm writing a simple Python application that uses matplotlib to display a few figures on screen. The number of figures generated is based on user input and changes throughout the application's life. The user has the ability to issue a "plot" command to generate a new figure window with the selected data series. In order to improve the user experience, I would like to provide another command that would programmatically arrange all open figure windows in some convenient arrangement (e.g. tile them across the available screen space).

I believe to have found APIs that allow me to adjust the size of the figure window (in pixels), but haven't had any success in finding a way to set their absolute position on screen. Is there a way to do this without delving into the details of whatever backend is in use? I would like to do this in a backend-agnostic way so I can avoid relying upon implementation details that might change in the future.

Answer: 
FINALLY found the solution for QT backend:

```
import matplotlib.pyplot as plt

fig, ax = plt.subplots()
mngr = plt.get_current_fig_manager()
# to put it into the upper left corner for example:
mngr.window.setGeometry(50,100,640, 545)

```

If one doesn't know the x- and y-width one can read them out first, like so:

```
# get the QTCore PyRect object
geom = mngr.window.geometry()
x,y,dx,dy = geom.getRect()

```

and then set the new position with the same size:

```
mngr.window.setGeometry(newX, newY, dx, dy)

```

I was searching quite often for this and finally invested the 30 minutes to find this out. Hope that helps someone.
For Qt4Agg, this worked for me.

```
fig = figure()
fig.canvas.manager.window.move(0,0)

```

Tested on Win7, mpl version 1.4.2, python 2.7.5