I have major issues with the visualization of output while using Julia notebook. First, I cannot use PyPlot: when typing using PyPlot, I receive the following error message
This call to matplotlib.use() has no effect
because the backend has already been chosen;
matplotlib.use() must be called *before* pylab, matplotlib.pyplot,or matplotlib.backends is imported for the first time.
(I followed the guide, and I intalled Anaconda).
So I tried to use Gadfly, but I cannot figure out how to use the same figure multiple times: in my code a function has to iteratively plot one point in the same plane Oxy, but the only way I can plot is using the command display(plot(x=...,y=)), and this plots on different figures. As far as I know, Gadfly does not support the command "hold on" as in Matlab because it should be automatic. Also, the command "display" is not really precise, as it just makes the figure appear at a random point in the output.
I am using version Julia 5.0 and I am on Mac OsX 10.12.
Thank you all for your help