[julia-users] Re: PyPlot; how to get rid of that annoying flashed-tk-window artifact?

2015-07-22 Thread Jeff Waller



 matplotlib 1.1.1


 I would recommend trying a newer Matplotlib, and on OS/X I strongly 
 recommend using the Anaconda Python distro.  Anything else is a big 
 headache to maintain in the long run. 


It's ok. no need for that.  I was wrong anyway it was 1.4.3 all along.  I 
did find a way to keep this from happening.

import PyPlot
PyPlot.switch_backend(Agg);
PyPlot.pygui(true);
PyPlot.ioff();
PyPlot.svg(true); 

and then use

fig = PyPlot.gcf();
display(fig)

but that does not consume the figure, so you must perform PyPlot.gcf() 
afterwards, or just before the new figure.


[julia-users] Re: PyPlot; how to get rid of that annoying flashed-tk-window artifact?

2015-07-22 Thread Steven G. Johnson


On Tuesday, July 21, 2015 at 1:26:14 PM UTC-4, Jeff Waller wrote:


 What OS are you on, and what Python distro?  I haven't noticed this... 


 OS/X Mavericks, Python 2.7.5 (Apple default) 

 matplotlib 1.1.1


I would recommend trying a newer Matplotlib, and on OS/X I strongly 
recommend using the Anaconda Python distro.  Anything else is a big 
headache to maintain in the long run. 


[julia-users] Re: PyPlot; how to get rid of that annoying flashed-tk-window artifact?

2015-07-21 Thread Steven G. Johnson
On Tuesday, July 21, 2015 at 1:44:27 AM UTC-4, Jeff Waller wrote:

 Whenever PyPlot renders something, I'm getting a brief flashed window;  I 
 think it's a result of the backend
 trying to render in a window directly, but can't find a way to disable it.


What OS are you on, and what Python distro?  I haven't noticed this... 


[julia-users] Re: PyPlot; how to get rid of that annoying flashed-tk-window artifact?

2015-07-21 Thread Jeff Waller


 What OS are you on, and what Python distro?  I haven't noticed this... 


OS/X Mavericks, Python 2.7.5 (Apple default) 

matplotlib 1.1.1

Julia Version 0.4.0-dev+6075

Commit 4b757af* (2015-07-19 00:53 UTC)

Platform Info:

  System: Darwin (x86_64-apple-darwin13.4.0)

  CPU: Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz

  WORD_SIZE: 64

  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)

  LAPACK: libopenblas

  LIBM: libopenlibm

  LLVM: libLLVM-3.3