bokeh / tutorial

Notebooks and presentation materials for Bokeh tutorials
BSD 3-Clause "New" or "Revised" License
21 stars 28 forks source link

Adds scale bar, range tool, and subplot sections (CZI-related updates) #27

Closed droumis closed 4 months ago

droumis commented 5 months ago

Added scale bar, range tool, and subplot sections where I thought they fit best.

I'm happy for any of the core team to directly edit/contribute to this, and merge at their discretion.

2024-06-19_19-06_1 2024-06-19_19-06 2024-06-19_19-05

tcmetzger commented 4 months ago

These are some great additions, thank you!

For the Subplot section in chapter 9: The example here introduces a JS Callback and Switch widget, all of which are really only introduced in chapter 11. How about we remove the switch and callback from this example here and instead add a "🔁" interactivity section? There are several examples of this throughout the notebooks where we basically ask users to make small changes to the code and rerun the cell to see the effect (the section "How do I use this tutorial?" in 01_introduction.ipynb introduces this concept). In this case, we could ask users to change the level parameter themselves, e.g.:

level = 1 # 🔁 Try changing the level parameter to 0

What do you think?

droumis commented 4 months ago

What do you think?

makes sense to me

bryevdv commented 4 months ago

@droumis will you be able to make those changes?

droumis commented 4 months ago

I think this is ready for a final review

bryevdv commented 4 months ago

Thanks @droumis !