From 1980b5374520a973a954f9b47d40b0852d0b4c48 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 15 Nov 2024 08:45:52 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- vizro-core/examples/visual-vocabulary/custom_charts.py | 4 +++- .../examples/visual-vocabulary/pages/examples/lollipop.py | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/vizro-core/examples/visual-vocabulary/custom_charts.py b/vizro-core/examples/visual-vocabulary/custom_charts.py index f05c6de86..6e31458de 100644 --- a/vizro-core/examples/visual-vocabulary/custom_charts.py +++ b/vizro-core/examples/visual-vocabulary/custom_charts.py @@ -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 diff --git a/vizro-core/examples/visual-vocabulary/pages/examples/lollipop.py b/vizro-core/examples/visual-vocabulary/pages/examples/lollipop.py index ed67aa07c..3ddd958d4 100644 --- a/vizro-core/examples/visual-vocabulary/pages/examples/lollipop.py +++ b/vizro-core/examples/visual-vocabulary/pages/examples/lollipop.py @@ -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