From e5188cad5af1357e7df25efdf2501dd31ec528ee Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Fri, 2 Sep 2022 10:02:45 +0200 Subject: [PATCH] Fix graphs display from 0 to 100 --- data-prep.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data-prep.qmd b/data-prep.qmd index d83bb64..59e4f9d 100644 --- a/data-prep.qmd +++ b/data-prep.qmd @@ -44,7 +44,7 @@ def gini_plot(country_df): if svg_render: pio.renderers.default = "png" - fig = px.line(country_df, x="year", y="gini", markers=True, labels={"year": "Year", "gini": "Gini coefficient"}, template="seaborn", range_y=[30,60]) + fig = px.line(country_df, x="year", y="gini", markers=True, labels={"year": "Year", "gini": "Gini coefficient"}, template="seaborn", range_y=[0,100]) fig.update_traces(marker_size=10) fig.show()