Re: [Matplotlib-users] Error when plotting negative values on log scale

2011-03-11 Thread Søren Nielsen
Thanks for info Goyo and Ben! 2011/3/11 Benjamin Root > > > 2011/3/10 Søren Nielsen > >> Hi, >> >> >> When I do an errorbar plot (a.errorbar(), a = axis) with negative values >> and then try to change the yscale to log (a.set_yscale('log')) matplotlib >> crashes with: >> >> Traceback (most re

Re: [Matplotlib-users] Error when plotting negative values on log scale

2011-03-11 Thread Benjamin Root
2011/3/10 Søren Nielsen > Hi, > > When I do an errorbar plot (a.errorbar(), a = axis) with negative values > and then try to change the yscale to log (a.set_yscale('log')) matplotlib > crashes with: > > Traceback (most recent call last): > File > "/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-

Re: [Matplotlib-users] Error when plotting negative values on log scale

2011-03-11 Thread Goyo
2011/3/10 Søren Nielsen : > Is there a way I can get around this without having to search through my > data and remove points that are negative or NaN or INF when the yscale needs > to be log? That would also show an incorrect curve since a line would be > drawn across the points that were removed

[Matplotlib-users] Error when plotting negative values on log scale

2011-03-10 Thread Søren Nielsen
Hi, When I do an errorbar plot (a.errorbar(), a = axis) with negative values and then try to change the yscale to log (a.set_yscale('log')) matplotlib crashes with: Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14636, in