mirror of
https://src.fedoraproject.org/rpms/sagemath.git
synced 2025-04-22 19:55:54 -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}"]}
|
{"display_name": "SageMath %{version}", "argv": ["%{_bindir}/sage", "--python", "-m", "sage.repl.ipython_kernel", "-f", "{connection_file}"]}
|
||||||
EOF
|
EOF
|
||||||
popd
|
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
|
# last install command
|
||||||
rm -fr $DOT_SAGE
|
rm -fr $DOT_SAGE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue