From: John H. <jdh...@ac...> - 2005-07-05 16:59:02
|
>>>>> "Tom" == Tom Denniston <tom...@gm...> writes: Tom> I have been using matplotlib a few days now and think I it is Tom> great but recently I have gotten hung up on a problem Tom> plotting negative numbers. Tom> I am trying to plot data where the y values are all negative. Tom> When I do this I get the No positive data to plot error. I Tom> have tracked it down to the following two line is Tom> /matplotlib/ticker.py: if minpos<=0: raise RuntimeError('No Tom> positive data to plot') This should only be occurring if you have log scaling set. Could you get a fresh copy of matplotlib CVS and see if you can replicate the bug. And if so, please post a script that exposes it. Thanks, JDH |