From: John H. <jdh...@ac...> - 2005-04-26 17:14:19
|
>>>>> "Michal" == Michal Kaukic <mi...@fr...> writes: Michal> Hi, John and all, is the recent patch for use of masked Michal> data in plotting lines (and contours) working? What is Michal> the simplest example of using it? Michal> I got this with recent CVS I don't know how this bug crept into CVS (but I'm sure it's my fault), but you need to edit the add_line function in Axes in the section which reads xdata = l.get_xdata() ydata = l.get_ydata() and replace it with xdata = l.get_xdata(valid_only=True) ydata = l.get_ydata(valid_only=True) Also, FYI, > python examples/masked_demo.py -numarray should be > python examples/masked_demo.py --numarray JDH |