Fix graphs display from 0 to 100
This commit is contained in:
parent
a66223481d
commit
e5188cad5a
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue