From: Pierre H. <pie...@cr...> - 2012-09-10 17:43:49
|
Hello, This may be a silly question, but I'm wondering what happens in Matplotlib rendering when there is a "big" Line2D object (say 10**7 points) added to an Axes, with *visibility set to false*. Here is an tiny script meant to be run interactively (say with Python in pylab mode) step by step : https://gist.github.com/3638471 I'm experiencing a strange slowdown of Axes rendering when such a "big line" is added to the Axes, despite the fact it is invisible. So I'm wondering if this is an expected behavior or a some kind of bug. Or maybe it's a well known fact, already fixed in the upcoming 1.2 release and in that case sorry for the duplicate. Best, Pierre PS: I'm using Matplotlib version 1.1.1rc2, from Debian Testing. Today TkAgg backend, but the other day same problem happened with Qt. |