From: Shin <sd...@em...> - 2004-11-12 03:45:26
|
Thanks. Let me ask another question. How can I get the current mode? I like to recover mode after drawing everything in non-interactive mode. From help document, interactive() seems not to give current mode. Daehyok Shin John Hunter wrote: > > from matplotlib import interactive > from matplotlib.matlab import * > > plot([1,2,3]) > interactive(False) # turn off interactive mode > xlabel('hi mom') > ylabel('bye') > title('all done') > interactive(False) # turn it back on > draw() # draw the canvas > > JDH > > > > > > > > Shin> ------------------------------------------------------- This > Shin> SF.Net email is sponsored by: Sybase ASE Linux Express > Shin> Edition - download now for FREE LinuxWorld Reader's Choice > Shin> Award Winner for best database on Linux. > Shin> http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > Shin> _______________________________________________ > Shin> Matplotlib-users mailing list > Shin> Mat...@li... > Shin> https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |