On Mon, Jun 18, 2012 at 2:36 AM, Andre' Walker-Loud <walksl...@gmail.com>wrote:
> Hi All,
>
> I have mac os x, 10.6.8, enthought distribution.
>
> I recently upgraded from the 6.2 to 7.3 EPD.
>
> Previously, I had a script which would manipulate some data, and as soon
> as the command
>
> plt.figure()
>
> was issued, the plot would show up. I could then continue along with the
> analysis (I wrote an interactive script) and plots would be updated, and
> new plots would show up (when I issued a command like re-sizing the plot
> limits.
>
> This no longer happens, and now the plots are not drawn until the very end
> of all the analysis. But of course this defeats the purpose of having an
> interactive analysis session.
>
> I do have plt.show() at the very end of the script.
> In case it may matter, my main script loads another one as a module. (But
> this is how it was before when it worked).
>
> I am not sure what has caused this to change. I have tried the follwing
>
> - restart computer in case there were just some gui problem
> - re-install the EPD 7.3 and EPD 6.2 (in that order)
> - use the older 6.2 installation to run the script
>
> all of these fail to produce the behavior I previously had. It would be
> great to sort this out.
>
>
> Thanks,
>
> Andre
>
Most likely, there was a change to your matplotlibrc file. There is a
setting in there for "interactive" and by default, it is set to False. If
you uncomment it and set it to True, you should get back the behavior you
expected. You can also explicitly set the interactive mode to True from
your scripts with a "plt.ion()" call before loading your other modules.
I hope that helps!
Ben Root
------------------------------------------------------------------------------
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