From: Josh L. <jos...@gm...> - 2008-09-05 02:03:51
|
Hey all, When I plot using python 2.5.2 and matplotlib 0.98.3 (and 0.98.1) I have the following problem. If I run a script from the command line that plots and saves the figure, I get the default aspect ratio of (8, 6). If, however, I close the plotting window and replot without exiting the python prompt and starting anew, the aspect changes to something like (8, 6.04). I can reliably get the (8, 6) aspect ratio if I quit the python prompt and load a new prompt. The problem only comes after I close the plot window and replot. The new aspect ratio is consistent after it first changes. That is, if I plot, close the window, replot, close the window, and replot again, the 2nd and 3rd figures would save with the same aspect ratio while the first would have the one I desire. What could be the problem? Cheers, Josh |