diff --git a/vizro-core/examples/_dev/app.py b/vizro-core/examples/_dev/app.py index 633e515d8..5a71dcd9a 100644 --- a/vizro-core/examples/_dev/app.py +++ b/vizro-core/examples/_dev/app.py @@ -12,7 +12,7 @@ gapminder_neg = px.data.gapminder() gapminder_mixed = px.data.gapminder() gapminder_neg["lifeExp"] = gapminder_neg["lifeExp"] * (-1) -gapminder_mixed["lifeExp"].iloc[:200] = gapminder_mixed["lifeExp"].iloc[:200] * (-1) +gapminder_mixed.loc[:200, "lifeExp"] = gapminder_mixed.loc[:200, "lifeExp"] * (-1) @capture("graph")