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

⬆️ Update code and docs to work with Bokeh 3.5.1 #80

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

rekognizecode
Copy link

⬆️ Update code to work with Bokeh 3.5.1
📝 Update markdown to match updated code
🐛 Fix a bug that prevents Slider-Widget from functioning
✏️ Correct a typo in markdown docs

veit and others added 11 commits July 26, 2024 17:39
Change circle() without size value to scatter() to make circles appear

Fix BokehDeprecationWarnings:
- 'circle() method with size value' deprecated, use 'scatter(size=...)'
- 'triangle() method deprecated, use 'scatter(marker='triangle', ...)'
- 'square() method deprecated, use 'scatter(marker='square', ...)'
- 'scatter(radius=...) deprecated, use 'circle(radius=...)'
Update import of the arrows to fit new Bokeh version
Change 'plot_width' and 'plot_height' to 'width' and 'height'

Change circle() without size value to scatter() to make circles appear

Fix BokehDeprecationWarning:
- 'circle() method with size value' deprecated, use 'scatter(size=...)'
Change circle() without size value to scatter() to make circles appear

Fix BokehDeprecationWarning:
- 'circle() method with size value' deprecated, use 'scatter(size=...)'
Change circle() without size value to scatter() to make circles appear

Fix BokehDeprecationWarnings:
- 'circle() method with size value' deprecated, use 'scatter(size=...)'
- 'asterisk() method' deprecated, use 'scatter(marker='asterisk', ...)'
- 'x() method' deprecated, use 'scatter(marker='x', ...)'
model 'Circle': change 'size=15' to 'radius=0.05', 'size' is deprecated
Fix BokehDeprecationWarning:
- 'circle() method with size value' deprecated, use 'scatter(size=...)'
Change 'legend' to 'legend_label' to match updated code

Change 'p.circle' to 'p.scatter' to match updated code
@veit
Copy link
Owner

veit commented Jul 30, 2024

There is currently still a conflict in docs/index.rst.

And in some places the execution order of the cells is not yet correct:

  • docs/bokeh/annotations.ipynb
    - "execution_count": 8,
    + "execution_count": 16,
  • docs/bokeh/interactions.ipynb
    - "execution_count": 1,
    + "execution_count": 2,
  • docs/bokeh/data-sources-transformations.ipynb
    - "execution_count": 4,
    + "execution_count": 9,
  • docs/bokeh/graph.ipynb
    - "execution_count": 1,
    + "execution_count": 14,
  • docs/bokeh/styling-theming.ipynb
    - "execution_count": 1,
    + "execution_count": 4,

Restart kernel and rerun cells
@veit veit force-pushed the main branch 6 times, most recently from bd2d14c to 7f48592 Compare October 6, 2024 10:19
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

Successfully merging this pull request may close these issues.

2 participants