-
Notifications
You must be signed in to change notification settings - Fork 233
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
Get error: module 'bokeh.plotting' has no attribute 'Figure' #230
Comments
same problem here . looks like migration guide fro bokeh https://github.com/bokeh/bokeh/wiki/Migration-Guides says Figure has been removed Bokeh document Figure The duplicative attribute Figure (capital-F) was removed from bokeh.plotting. Use bokeh.plotting.figure (lowercase-f) instead. |
Same problem and error message here. Unfortunately, I have no write access to change the utility.py file. It can still be solved with downgrading bokeh to version 2.4.3 or 2.4.2. However, my problem is that this is incompatible with dask, which needs for its dashboard verion >3.0* |
I submitted this Pull Request to fix it. Edit: the pull request was just merged. |
Just noting that there is not really a need for a version check as in the PR. Lowercase-f |
PLEASE FILL OUT THE TEMPLATE
Describe the bug
Using pandasgui in my code to show DataFrame as following:
Get error: module 'bokeh.plotting' has no attribute 'Figure'. Did you mean: 'figure'
Environment
OS: Windows 10
Python: 3.10
IDE: VS Code
Package versions
In source file utility.py:446, following code:
Change 'bokeh.plotting.Figure' to 'bokeh.plotting.figure' (Figure to lower case)
Everything is OK
The text was updated successfully, but these errors were encountered: