From: Pierre H. <pie...@cr...> - 2012-09-03 10:18:51
|
Hello, I was playing a bit with the clippedline example (http://matplotlib.org/examples/pylab_examples/clippedline.html) and I feel it is not working anymore. From what I understand of the traceback I got, there may be something evil happening after setting >>> self._marker = 's' in the draw method. Maybe using the self.set_marker('s') is safer Also, by reading some archived emails from this mailing list, it seems that the purpose of this example became pointless because line clipping is now implemented directly in matplotlib. Am I right ? For what it's worth, I modified the clippeline.py example to make it just serve the purpose of dynamically changing the appearance of the line when zoom level is changing. I called t "zoom_adaptive_line.py" : https://gist.github.com/3607993 Would this script be an appropriate replacement for the clippedline example ? Best, Pierre |