Thanks, that works nicely.

 

--Peter

 

From: [email protected] [mailto:[email protected]] On 
Behalf Of Steven G. Johnson
Sent: Tuesday, June 03, 2014 11:17 AM
To: [email protected]
Subject: [julia-users] Re: Off-line plots using PyPlot

 

You could always pyimport pyplot directly, without using the PyPlot package.  
(The main reason for PyPlot is to set up the GUI, although I agree that it 
should allow more flexibility regarding the backend.) i.e.

 

pyimport("matplotlib")[:use]("Agg")
@pyimport matplotlib.pyplot as plt
plt.plot(1:10)

 

Reply via email to