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 21, 2024
1 parent 790ccb4 commit 5ddd50a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion vizro-core/examples/scratch_dev/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@

dashboard = vm.Dashboard(pages=[page])

if __name__ == '__main__':
if __name__ == "__main__":
Vizro().build(dashboard).run()
5 changes: 1 addition & 4 deletions vizro-core/src/vizro/models/_components/tabs.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,7 @@ class Tabs(VizroBaseModel):
def build(self):
return dbc.Tabs(
id=self.id,
children=[
dbc.Tab(html.Div([tab.build()], className="tab-content"),
label=tab.title)
for tab in self.tabs],
children=[dbc.Tab(html.Div([tab.build()], className="tab-content"), label=tab.title) for tab in self.tabs],
persistence=True,
persistence_type="session",
)

0 comments on commit 5ddd50a

Please sign in to comment.