Hi, I'm a TA in an undergraduate astronomy course, and we've been using these jupyterlab servers for the hands-on lectures.
This semester we've encountered that we can't use the interactive tool of matplotlib. The output just says "Error displaying widget".
Example code:
import matplotlib.pyplot as plt
%matplotlib widget
plt.figure()
plt.plot([0,1],[0,1])
plt.show()
I also tried installing ipympl and ipywidgets first, but it doesn't change anything.
!pip install ipywidgets
!pip install ipympl
Any help would be appreciated.