Skip to main content

Bokeh 2.3.3 !!top!!

| Problem | Fix | |---------|-----| | Jupyter plot not showing | Use output_notebook() before show() . | | HoverTool shows ??? | Ensure tooltips use field names matching ColumnDataSource columns. | | Layout breaks | Use sizing_mode="stretch_width" or "stretch_both" on top-level layout. | | Widgets not updating | Check that CustomJS uses source.change.emit() . |

In addition to the key features mentioned above, Bokeh 2.3.3 also introduces several new features, including: bokeh 2.3.3

# Using version 2.3.3's robust handling of toolbar location and sizing_mode p = figure( title="Stadium Noise Levels: The Roar of the Return (2021 vs 2019)", y_range=['2019 (Pre-Pandemic)', '2021 (Return)'], width=800, height=400, x_axis_label='Decibels (dB)', toolbar_location="above" ) | Problem | Fix | |---------|-----| | Jupyter

source = ColumnDataSource(data= 'date': dates, 'price': prices, 'volume': volume, 'moving_avg': pd.Series(prices).rolling(10).mean() ) 'moving_avg': pd.Series(prices).rolling(10).mean() )