plot_3d doesn't work. Am I missing dependencies?
pauljurczak opened this issue · 4 comments
pauljurczak commented
I have scikit-spatial 6.1.0
and Python 3.8.10 un Ubuntu 20.04.3 MATE. Basic examples work, matplotlib
works, but plot_3d
fails to produce anything. I was trying this example: https://scikit-spatial.readthedocs.io/en/stable/gallery/projection/plot_vector_line.html
ajhynes7 commented
How are you running this code? In JupyterLab or another way?
pauljurczak commented
From command line. Specifically, VS Code terminal window.
ajhynes7 commented
Try adding this to your script:
import matplotlib.pyplot as plt
# All of your code
plt.show()
pauljurczak commented
Thank you. That's what was missing. I wasn't aware that matplotlib
is used in the background.