diff --git a/docs/tutorials/intro_tutorial.ipynb b/docs/tutorials/intro_tutorial.ipynb index 5087d017..40ee8218 100644 --- a/docs/tutorials/intro_tutorial.ipynb +++ b/docs/tutorials/intro_tutorial.ipynb @@ -97,7 +97,7 @@ "from shapely.geometry import Point\n", "\n", "import mesa\n", - "from mesa.visualization import SolaraViz, make_plot_measure\n", + "from mesa.visualization import SolaraViz, make_plot_component\n", "import mesa_geo as mg\n", "from mesa_geo.visualization import make_geospace_leaflet" ] @@ -1067,8 +1067,8 @@ " model_params=model_params,\n", " components=[\n", " make_geospace_leaflet(SIR_draw, zoom=12, scroll_wheel_zoom=False),\n", - " make_plot_measure([\"infected\", \"susceptible\", \"recovered\", \"dead\"]),\n", - " make_plot_measure([\"safe\", \"hotspot\"]),\n", + " make_plot_component([\"infected\", \"susceptible\", \"recovered\", \"dead\"]),\n", + " make_plot_component([\"safe\", \"hotspot\"]),\n", " ],\n", ")\n", "# This is required to render the visualization in the Jupyter notebook\n",