From: Wolfgang D. <wdr...@dr...> - 2012-03-21 16:11:17
|
On Mon, 12 Mar 2012 15:51:15 -0500 Benjamin Root <ben...@ou...> wrote: > Ah, finally figured it out. The issue is that your y-value for that > error bar is 9.114, but you want to plot error bars that are > +/-10.31. That line gets thrown out by matplotlib because you can't > plot at negative values for log scale. Yes, I came to the same conclusion. I think matplotlib should print some warning or raise some exception if confronted with data like that, it can't handle. > There is a trick that might > work. The set_yscale method has a kwarg "nonposy" which could be set > to "clip". You could also try setting to the "symlog" scale which > might let you get away with a negative value. I'll try that. Thanks Wolfgang |