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

2011-03-11 Thread Goyo
2011/3/10 Søren Nielsen soren.skou.niel...@gmail.com: 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

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

2011-03-11 Thread Benjamin Root
2011/3/10 Søren Nielsen soren.skou.niel...@gmail.com 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

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 ben.r...@ou.edu 2011/3/10 Søren Nielsen soren.skou.niel...@gmail.com 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