Open PaulSoderlind opened 7 years ago
I guess it should be. You're telling GR to plot the GKSterm instead of to the notebook.
In many cases you get the best behaviour in IPython with default(show=:ijulia)
. This could definitely be better documented.
I just tried this in a Jupyter notebook 0.5.2 (Win7 and also on JuliaBox):
using Plots
gr()
default(show=:ijulia)
x = linspace(-3,3,20) #create some "data" to plot
y = 2*x.^2 + 0.5
plot(x,y)
It showed two identical plots.
Just now on JuliaBox (using the 0.5.2 kernel), the following generates a lot of error messages:
The error messages are
Commenting out
default(show=true)
solves the problemIf this is the intended result (it should all be inline in IJulia?), then the documentation should perhaps mention it.
/Paul S