Re: [Matplotlib-users] Set various parameters of a plot window.

2012-03-11 Thread gsal

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. 
-- 
View this message in context: 
http://old.nabble.com/Set-various-parameters-of-a-plot-window.-tp33479160p33480317.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Set various parameters of a plot window.

2012-03-11 Thread Goyo
El día 11 de marzo de 2012 11:31, gsal salger...@gmail.com 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

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Set various parameters of a plot window.

2012-03-11 Thread Ignas Anikevicius
On 11/03/12 14:19, Goyo wrote:
 El día 11 de marzo de 2012 11:31, gsal salger...@gmail.com 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
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Set various parameters of a plot window.

2012-03-10 Thread Ignas Anikevicius
Hello everybody,

I am trying to write a rule for AwesomeWM, so that all matplotlib
related windows would be floating and not tiled. For this purpose I want
to filter matplotlib windows by some window attribute, like class,
instance or title. Is there a way to modify the window class or instance
easily?

I already know how to modify the title of the window, but this is not
sufficient as any dialogs, which would be created from the toolbar on
the plot window will not have the same title and the filtering can not
be applied to them.

If I have not explained this clearly enough, please let me know, what
I need to clarify.

All best,
Ignas A.

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users