|
From: Jianbao T. <jia...@gm...> - 2012-10-03 17:53:26
|
Ben, Thanks for your reply. :-) This first link you mentioned seems to be a workaround. However, I am wondering if there is a way to set the position before the figure window is realized. Besides, the solution in the first link uses pyplot.get_current_fig_manager(). However, I don't see a counterpart of the figure manager in the matplotlib classes. From a developer perspective, it would be great if you can control the figure position during the initialization of the figure window, i.e., before there is any current figure window. However, I don't know if this is too much for now for matplotlib development. Cheers, Jianbao On Wed, Oct 3, 2012 at 6:57 AM, Benjamin Root <ben...@ou...> wrote: > > On Tue, Oct 2, 2012 at 11:38 PM, Jianbao Tao <jia...@gm...>wrote: > >> Hi, >> >> Is it possible to specify the position of a figure window when one is >> created? This will be a killing feature if one wants to put the figure >> window at the right place in the screen automatically. It is annoying if >> ones has to drag a new figure to a comfortable place in the screen every >> time a new figure is created. >> >> Jianbao >> >> > Jianbao, > > This question has come up before, and I have never really felt that a good > solution was ever given. However, here are some discussions and some > solutions for it. > > > http://stackoverflow.com/questions/7449585/how-do-you-set-the-absolute-position-of-figure-windows-with-matplotlib > > http://www.mail-archive.com/mat...@li.../msg14387.html > > http://stackoverflow.com/questions/11336835/ask-window-manager-to-place-matplotlib-plot-windows-always-on-top > > I know there are more discussions than this, mostly related to controlling > your window manager, but I can't seem to find them right now. > > Cheers! > Ben Root > > |