On Mon, Jul 27, 2009 at 3:06 PM, Gewton Jhames<gjha...@gmail.com> wrote:
> Thanks everyone. Everything works perfectly.
> Only a few things left:
>
> How to "trim the canvas" of the image generated? It's transparent, but still
> have a "padding", if it would be cropped, I can safe almost 200px!. I have
> attached a file to this email to show it, the background of the graph was
> set to red only to you see the padding.

use

  fig.subplots_adjust(left=0.05, bottom=0.05, top=0.05, right=0.05)

etc to trim the excess space

> In the file attached to this email, the graph have a space after the
> position 23:00, I wish to remove it.

Several ways to do it: one is:

  ax.autoscale_view(tight=True, scaley=False)

Use

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to