Hello,
%matplotlib qt
rendering doesn’t work in single-user notebooks in z2jh. Here is part of the error:
File ~/.local/lib/python3.11/site-packages/matplotlib/backends/backend_qtagg.py:9
5 import ctypes
7 from matplotlib.transforms import Bbox
----> 9 from .qt_compat import QT_API, QtCore, QtGui
10 from .backend_agg import FigureCanvasAgg
11 from .backend_qt import _BackendQT, FigureCanvasQT
File ~/.local/lib/python3.11/site-packages/matplotlib/backends/qt_compat.py:133
131 break
132 else:
--> 133 raise ImportError(
134 "Failed to import any of the following Qt binding modules: {}"
135 .format(", ".join([QT_API for _, QT_API in _candidates]))
136 )
137 else: # We should not get there.
138 raise AssertionError(f"Unexpected QT_API: {QT_API}")
ImportError: Failed to import any of the following Qt binding modules: PyQt6, PySide6, PyQt5, PySide2
best