plot3d giving no output, just a blank canvas
I was trying to use SageMath to make a 3d plot. I tried some example plots from the SageMath website like:
x, y = var('x, y')
plot3d(x^2 + y^2, (-1,3),(-1,3))
Sage does open a plot in firefox, but it's just a black rectangle. I think there is some missing dependency somewhere but I have no clue on how to diagnose a problem like that.
I am on Pop OS 21.10 (an Ubuntu based distro) and had installed sage directly from the debian repositories. The version of sage is 9.2 and I am using python 3.9.7. Apt says that I am on the latest update for Sage.
Welcome to Ask Sage! Thank you for your question.
I would try to install SageMath 9.5 from source.
Could you try your code with https://sagecell.sagemath.org/ to see if the error is caused by Firefox? (I can see the output of your code in my Firefox.)
@tolga thanks for the link. The code does seem to work in my firefox as well. Its most definitely the bug as stated by the answer below and I will try and build the latest version from source.