On 11/03/12 14:19, Goyo wrote:
> El día 11 de marzo de 2012 11:31, gsal <[email protected]> escribió:
>>
>> I am not quite sure what you are asking, but, can you simply just add your
>> own attribute to the window objects? Python is friendly that way, you know?
>> It's dynamic.
>
> There are some dialogs not accesible using the mpl api. The save
> dialogs seem to be the standard ones for the underlying toolkit so
> reading the toolkit docs may help. Then there are the subplot params
> configuration dialogs.
>
> Goyo
Thanks for replies. What I wanted can be achieved with following:
import gobject
gobject.set_prgname('matplotlib')
This sets the instance attribute of the window to matplotlib instead of
the name of the script matplotlib window is produced from. All the
various window attributes can be looked-upon by running xprop tool from
terminal.
Is there any way of incorporating the above 2 lines of python code into
the matplotlibrc so that whenever matplotlib produces any windows, this
code is executed and the window has a proper name?
Cheers,
Ignas A.
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users