Hi,

I try to use pyplot.jl, nothing works, I need help :)

In python, I can use matplotlib with both the gtk3 and wx backends. But 
Julia tells me

WARNING: No working GUI backend found for matplotlib.
>

when I try using PyPlot. 

Calls to pygui(:gtk) and pygui(:wx) tell me that I don't have the 
corresponding GUI toolkits installed, but I have.

If I understand correctly, even with no working pygui, I should be able to 
see figures, through display(gcf()), but that also doesn't work. The actual 
code I tried is:

using PyCall
#pygui(:gtk)
using PyPlot

x = linspace(0,2*pi,1000); y = sin(3*x + 4*cos(2*x));
plot(x, y, color="red", linewidth=2.0, linestyle="--")

display(gcf())




did I miss something?

Reply via email to