> Hi,
>
> I have a question: Is there a way with matplotlib to see influence of
> code changes on the plot without explicitly recompiling?
>
Hello

Using bpython is a nice trick to achieve this :
Bootstrap in bpython :

http://bpaste.net/show/31823/

once sastified either F8 to share, or Ctrl+S to save
once wanting to make a new session, make a minimal file with all you need and

bpyton -i bootstrap.py
bpython -i => interactive you are given the  conctrol back once the
file is loaded.
use :
plt.show() once and only once to show the canvas.
plt.clf() : clear figure
plt.interactive(True) : dont let python tk (or whatever GUI fw you
use) take the focus
plt.draw() to refresh the canvas

Ctrl+R if you made a mistake, it will delete last line

advantages :
* completion ;
* help is included
* saving make stuff faster;

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to