Hello all,

I have a python module that requires making about 24 different kinds of plots, 
and to keep things tidy I put them all in different modules, which I then 
import.

All the import calls are at the head of the top module. There is one plotting 
call inside a while loop, and it is returning blank plots saved in the proper 
location. Blank meaning no axes, so it is a totally empty .png file. After the 
loop, the first plot called is being saved, but all the subsequent plots are 
saving as blank. I begin every plotting module with matplotlib.pyplot.clf() and 
then write out the individual plotting commands.

This worked fine when everything was in one gigantic module, but I am at a loss 
for why it has stopped working once I put everything into submodules.

Thanks for your help,

Stephen D. Webb
Associate Research Scientist
Tech-X Corporation
http://www.txcorp.com

e: sw...@txcorp.com
5621 Arapahoe Ave. Suite A
Boulder, CO 80303 USA

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to