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 Aug 7, 2024
1 parent f342d23 commit d61fcda
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions vizro-core/examples/scratch_dev/app.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import plotly.graph_objs as go
import plotly.io as pio
import vizro.models as vm
import vizro.plotly.express as px
from vizro import Vizro
from vizro.models.types import capture

import plotly.io as pio

pio.templates["vizro_dark"]["layout"]["colorway"] = ["red"]
pio.templates["vizro_light"]["layout"]["colorway"] = ["yellow"]

Expand Down
3 changes: 1 addition & 2 deletions vizro-core/src/vizro/models/_dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
from pathlib import Path
from typing import TYPE_CHECKING, List, Literal, TypedDict

import plotly.io as pio
import dash
import dash_bootstrap_components as dbc
import dash_mantine_components as dmc
import plotly.io as pio
from dash import (
ClientsideFunction,
Input,
Expand All @@ -29,7 +29,6 @@
from dash.development.base_component import Component

import vizro
from vizro import _themes as themes
from vizro._constants import MODULE_PAGE_404, STATIC_URL_PREFIX
from vizro.actions._action_loop._action_loop import ActionLoop
from vizro.models import Navigation, VizroBaseModel
Expand Down
4 changes: 2 additions & 2 deletions vizro-core/tests/unit/vizro/models/test_dashboard.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
from pathlib import Path
import plotly.io as pio

import dash
import dash_bootstrap_components as dbc
import plotly.io as pio
import pytest
from asserts import assert_component_equal
from dash import dcc, html
Expand All @@ -14,7 +15,6 @@
import vizro
import vizro.models as vm
from vizro import Vizro
from vizro import _themes as themes
from vizro.actions._action_loop._action_loop import ActionLoop
from vizro.models._dashboard import _all_hidden

Expand Down

0 comments on commit d61fcda

Please sign in to comment.