Assuming IPython in pylab mode:

    a = [0.1, 0.2, 0.1]
    errorbar(arange(3), a, yerr=a-sum(a)/len(a), fmt='ro')

Result MPL output clips limit values in two different ways:

1. If GTK backend is used both left and right sides are clipped
2. If IPyhton inline mode is used, only right side is clipped

I don't see any obvious argument in bar(), errorbar() doc strings, that
would let me define X range, although I would expect MPL to take care of
this by default, based on data entered.
What is the easiest way I can correct this?

I attached images for both cases:

1. GTK:
[image: Inline image 2]

2. Inline:

[image: Inline image 1]

<<MPL-GTK.png>>

<<MPL-inline.png>>

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to