From 7389cce1a7f7c7a91080523b9ff22d8873c39658 Mon Sep 17 00:00:00 2001 From: Ewout ter Hoeven Date: Wed, 4 Sep 2024 10:39:24 +0200 Subject: [PATCH] Introduce error to test RTD --- docs/tutorials/visualization_tutorial.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials/visualization_tutorial.ipynb b/docs/tutorials/visualization_tutorial.ipynb index c40b0d1b165..ba8d7a922d2 100644 --- a/docs/tutorials/visualization_tutorial.ipynb +++ b/docs/tutorials/visualization_tutorial.ipynb @@ -208,7 +208,7 @@ " # plt.figure(), for thread safety purpose\n", " fig = Figure()\n", " ax = fig.subplots()\n", - " wealth_vals = [agent.wealth for agent in model.agents]\n", + " wealth_vals = [agent.wealth for agent in model.schedule.agents]\n", " # Note: you have to use Matplotlib's OOP API instead of plt.hist\n", " # because plt.hist is not thread-safe.\n", " ax.hist(wealth_vals, bins=10)\n",