partially solved : Works in jmol trough Sage CLI
3D plot remains blank in SageMath in Jupyter Notebook
Edit: This problem still remains unsolved, I have tried to even boot into a different OS (Debian instead of Kali) (not using anaconda, will (hopefully) get more time to try that)
As the title describes and illustrated by this screenshot:
Instead of the expected 3D plot, just a white plain background with a question mark in it, that, when clicked, displays a menu like this:
I have now experimented quite a bit on this example (on my system) and... to give an example:
This shows just a black square (while it's supposed to show a sphere):
sage: u = var('u')
sage: circle = (cos(u), sin(u))
sage: rp = revolution_plot3d
sage: rp(circle, (u, 0, 2*pi), axis=(0, 0),
....: show_curve=True, opacity=0.5).show(aspect_ratio=(1, 1, 1))
The following code is (I guess) a bit better, but still not really "as it should be", or "as expected":
sage: u = var('u')
sage: circle = (cos(u), sin(u))
sage: rp = revolution_plot3d
sage: rp(circle, (u, 0, 2*pi), axis=(0, 0), frame=False,
....: show_curve=True, opacity=0.5).show(aspect_ratio=(1, 1, 1))
(Change: include frame=False
somewhere in the last line).
Inspiration
I am trying to recreate this 3D plot from the SageMath documentation:
Info/Logs:
SageMath version:
SageMath version 9.2, Release Date: 2020-10-24
OS: Kali Linux
SageMath installed via
apt
:sudo apt-get install sagemath
I do not need to "get" this solved anytime soon, Right now I am mostly doing matrix operations, and such. so - there is no "hurry" with coming up with a solution here! It would just be a [plus+] to be able to do as the problem describe, but it is not necessary.
Any help is greatly appreciated! Thanks!
sudo apt install sagemath
) I should mention I have tried starting it from (pressing the "windows" button / super button, and trough terminal by typingsage -n
or --notebook (n for notebook) in the current directory I am in