lmcinnes / umap

Uniform Manifold Approximation and Projection
BSD 3-Clause "New" or "Revised" License
7.39k stars 803 forks source link

Fixed bug causing digits data bokeh plot in tutorial to break #1067

Closed Liqs-v2 closed 11 months ago

Liqs-v2 commented 11 months ago

Issue

On a fresh install of bokeh 3.3.0 the using plot_width and plot_height results in the following error:

AttributeError: unexpected attribute 'plot_width' to figure, similar attributes are outer_width, width or min_width

Technical information

Running in a VSCode Jupyter notebook:

Installed in Windows 11 directly (not running on WSL).

Fix

Use width and height instead which are equivalents according to the bokeh documentation.

Why is this useful

Ensuring the tutorial/demo works seamlessly leads to a better onboarding experience for new users and better retention.

lmcinnes commented 11 months ago

Thanks!