In this lesson you will practice linking the axes of multiple plots. Linking is the process of syncing elements of different visualizations within a layout.
For this example, the visualization will be able to pan to different segments of a team’s schedule and examine various game stats. Each stat will be represented by its own plot in a two-by-two gridplot()
.
You will start by collecting the data from the team_stats
DataFrame within the read_nba_data.py
file, selecting the Philadelphia 76ers as the team of interest.
For more on the CategoricalColorMapper, see the Colors section of Handling Categorical Data on Bokeh’s User Guide.
For additional details on linking plots can be found at Linking Plots in the Bokeh User Guide.
Dawn0fTime on Aug. 8, 2021
When I save the PNG, it only saves the Turnovers plot. Is there a way to get it to grab the entire grid?