Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 15, 2024
1 parent c5994db commit 1980b53
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion vizro-core/examples/visual-vocabulary/custom_charts.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,5 +362,7 @@ def lollipop(data_frame: pd.DataFrame, **kwargs):
line_color=fig.layout.template.layout.colorway[0],
)

fig.update_layout(showlegend=False, yaxis_showgrid=yaxis_showgrid, xaxis_showgrid=xaxis_showgrid, yaxis_rangemode='tozero')
fig.update_layout(
showlegend=False, yaxis_showgrid=yaxis_showgrid, xaxis_showgrid=xaxis_showgrid, yaxis_rangemode="tozero"
)
return fig
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ def lollipop(data_frame: pd.DataFrame, **kwargs):
line_color=fig.layout.template.layout.colorway[0],
)

fig.update_layout(showlegend=False, yaxis_showgrid=yaxis_showgrid, xaxis_showgrid=xaxis_showgrid, yaxis_rangemode='tozero')
fig.update_layout(
showlegend=False, yaxis_showgrid=yaxis_showgrid, xaxis_showgrid=xaxis_showgrid, yaxis_rangemode="tozero"
)
return fig


Expand Down

0 comments on commit 1980b53

Please sign in to comment.