Re: [Matplotlib-users] bar plot errorbars

2009-10-19 Thread Jae-Joon Lee
It seems that this is not possible with bar or barh. I guess the best way is to use a separate errorbar comannd import matplotlib.pyplot as plt import numpy as np val = 3+10*np.random.rand(5)# the bar lengths pos = np.arange(5)+.5# the bar centers on the y axis yerr = np.random.rand(5) p

[Matplotlib-users] small bug in Axes.add_artist method

2009-10-19 Thread Yann Goudard
Hi, I found a small bug in matplotlib.axes.Axes.add_artist method. matplotlib.artist.Artist.set_axes method is called twice. def add_artist(self, a): ''' Add any :class:`~matplotlib.artist.Artist` to the axes. Returns the artist. ''' * a.set_axes(sel