Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'bokeh.plotting.figure #168

Open
zemarchezi opened this issue Mar 8, 2023 · 1 comment
Open

No module named 'bokeh.plotting.figure #168

zemarchezi opened this issue Mar 8, 2023 · 1 comment

Comments

@zemarchezi
Copy link

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.

@jameswilburlewis
Copy link
Collaborator

I think pytplot is moving toward matplotlib instead of bokeh. There's a separate branch in the pytplot repo for that effort, where most of the new development is happening, and I think the plan is to eventually make that the new master.

For pyspedas we're using this in the requirements.txt file:

pytplot-mpl-temp>=2.1.17

So if you're not explicitly using the bokeh features, give the matplotlib version a try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants