Allow displaying 3d plots in the jupyter notebook

This commit is contained in:
pcpa 2019-09-04 15:22:03 -03:00
parent b071c91b8a
commit 42e4c38f49

View file

@ -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