Plot not working
I am new to SageMath and am following the examples from the basic tutorials. The following command does not work:
plot3d(x^2 + y^2, (x,-2,2), (y,-2,2))
The error message is
sh: -c: line 0: syntax error near unexpected token `('
sh: -c: line 0:`sage-open/Users/xxx/.sage/temp/MacBook-Pro-(6)/1333/tmp_smrlkile.html 2>/dev/null 1>/dev/null &'
Browsing to the temp directory, I do find the .html file and can open it (it displays the right graph). It seems the viewer cannot open it from the terminal application of SageMath. Is this due to the presence of parentheses in the auto-generated temporary directory? If so, how can I changed it?
Welcome to Ask Sage! Thank you for your question!
The operating system seems to be macOS, but what version of macOS? What version of Sage? How was it installed: via Conda, via Homebrew, from a binary downloaded from the SageMath website, or built from source? Are you using Sage in the terminal, in a Jupyter notebook, or in any other way?