Hello list -

There seems to be a bug in labeling contour lines.
When I call clabel, it removes all contours that are not labeled (because
the label doesn't fit on the section of contour, I presume).
This seems like a bug to me (or a really odd feature).

Easy example:

>>> x,y = meshgrid( linspace(-10,10,50), linspace(-10,10,50) )
>>> z = log(x**2 + y**2)
>>> cobj = contour(x,y,z)
>>> cobj.clabel()
<a list of 8 text.Text objects>
>>> draw()

And now all contours without a label are gone. On my machine it draws labels
on contours from 1 through 5, and erases the contours in the middle of the
plot with values -2, -1, and 0.

Mark
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to