I installed the last version of SpacePy, And if I try to import it I get the error message:
File "~/lib/python3.10/site-packages/pytplot/HTMLPlotter/TVarFigure1D.py", line 8, in <module>
from bokeh.plotting.figure import Figure
ModuleNotFoundError: No module named 'bokeh.plotting.figure'``
I believe that there are some changes in the new version.