On 1/21/2012 9:12 PM, Forest Yang wrote:
> Hi,
>
>     I am embedding a plot in Qt4 application, following the matplotlib
> example embeding_in_qt4.py, however I found that the xlabel is cut
> off, although the label shows more if I resize the window, still it is
> not the right one. Is it because of my local parameter settings or
> it's the limit of the example code. How can I fix this ?
>
>    Thanks.
>
> Best regards,
> Forest Yang

I dashed that last reply off quickly - a more complete answer would 
address your local parameter settings.  In pyplot.rcParams, you can set 
the default values for a number of parameters. In this case, I believe 
the parameters that will affect the cropping are the image size and the 
sizes of the axis labels and tics. I'm fairly new to these items myself 
- I'm not convinced that changes rcParams will be preserved from one 
python session to the next.

-Ethan

------------------------------------------------------------------------------
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

Reply via email to