Dynamically Generating a Graph in Python

H

HansWL

John Hunter said:
It would be interesting to know where this performance hit is coming
from. What happens if you set backend : TkAgg and interactive : True
in your rc file, and then fire up a standard python shell


In interactive mode, all the plotting commands are acted upon when
they are issued, which should enable you to debug which of these
commands, if any, causes the long delay.

Finally got sometime to try again. Seems most time was spent importing
(30 seconds). So in interactive mode, I imported once, then execfiled
your examples with import commented out. Now the figures came on
within seconds.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,743
Latest member
WoodrowMea

Latest Threads

Top