Error in ploting a surface with Plots+plotlyjs()

Hello,

I’m having troubles to plot a surface using the plotlyjs() of the package Plots.jl.
Let me show you a simple example of what I’m getting:

plotlyjs()
x=1:10
y=1:10
z=rand(10,10)
plot(x,y,z,st=:surface,fill=true)

And the output:

Instead, if I switch to the gr() backend I’ll get a nice surface:

gr()
plot(x,y,z,st=:surface,fill=true)

But for what I’m trying to visualis, I need the interactivity that the plotlyjs offers.
I don’t know if this information is relevant or not, but I’m using VSCode.

Any idea why this is happening?

Cheers,
Tiago

1 Like

I got the same issue:

1 Like

Did you tried with plotly()? I tried and the plot pane opens but with no plot (in VSCode and windows 10)