mirror of
https://src.fedoraproject.org/rpms/sagemath.git
synced 2025-04-22 11:45:56 -04:00
Allow displaying 3d plots in the jupyter notebook
This commit is contained in:
parent
b071c91b8a
commit
42e4c38f49
1 changed files with 3 additions and 0 deletions
|
@ -1592,6 +1592,9 @@ cat > kernel.json << EOF
|
|||
{"display_name": "SageMath %{version}", "argv": ["%{_bindir}/sage", "--python", "-m", "sage.repl.ipython_kernel", "-f", "{connection_file}"]}
|
||||
EOF
|
||||
popd
|
||||
# Allow displaying 3d plots in the jupyter notebook
|
||||
mkdir -p %{buildroot}%{_datadir}/jupyter/nbextensions/
|
||||
ln -sf %{_jsdir}/jsmol %{buildroot}%{_datadir}/jupyter/nbextensions/
|
||||
|
||||
# last install command
|
||||
rm -fr $DOT_SAGE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue