[Matplotlib-users] Calling to those embedding matplotlib in applications

2013-08-12 Thread Michael Droettboom
I'm considering changing the behavior of the rcParam |interactive| 
(which also can be set through |matplotlib.interactive()| and 
|pyplot.ion()| and |pyplot.ioff()|). Currently, when setting 
|interactive| to |True|, running any sort of matplotlib plot as a script 
will fail to display a window. This can be very surprising if a user 
turns on |interactive| because they prefer its behavior in IPython, but 
are then surprised that none of their scripts continue to work. I 
propose to fix this by turning on |interactive| only when running at an 
interactive console.


See the pull request http://github.com/matplotlib/matplotlib/pull/2286 
for an implementation.


I'm trying to rule out any negative impact of this change, and I would 
appreciate any feedback if this change will have a negative impact on 
your application.


Mike

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] [matplotlib-devel] Calling to those embedding matplotlib in applications

2013-08-12 Thread Chris Barker - NOAA Federal
On Mon, Aug 12, 2013 at 7:01 AM, Michael Droettboom md...@stsci.edu wrote:
  I propose to fix this by turning on interactive only when
 running at an interactive console.

I embed MPL more than other uses, and this sounds like a fine solution to me/

Thanks,

-Chris


-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/ORR(206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115   (206) 526-6317   main reception

chris.bar...@noaa.gov

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] how to create 2 plots?

2013-08-12 Thread vwf
Hello,

I need to create two plots (png files) in one go, two unrelated views of
the same dataset. There is good documentation about subplots but I
cannot locate documentation about two plots. Can someone tell me how it
is done?

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users