Re: [Matplotlib-users] Errorbar stays behind data

2011-04-11 Thread Martin Sparre
Hey, Thank you! You solved my problem! Cheers Martin 2011/4/11 Sebastian Berg : > Hey, > > not sure about which values are good to use (there is an example in the > gallery about it), but do the first plot command for example with > zorder=1 keyword argument, and the errorbar with zorder=2, and

Re: [Matplotlib-users] Errorbar stays behind data

2011-04-11 Thread Sebastian Berg
Hey, not sure about which values are good to use (there is an example in the gallery about it), but do the first plot command for example with zorder=1 keyword argument, and the errorbar with zorder=2, and voila you got what you want. Regards, Sebastian On Mon, 2011-04-11 at 14:49 +0200, Marti

[Matplotlib-users] Errorbar stays behind data

2011-04-11 Thread Martin Sparre
Dear Matplotlib-users, I am trying to plot some data as well as an errorbar. The problem is that the errorbar stays behind the data even though plt.errorbar(...) comes after plt.plot() in my code. Here is a simple code that produces the problem: http://dark-cosmology.dk/~sparre/example.py An