We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c15a384 commit f33bd47Copy full SHA for f33bd47
src/power_grid_model_ds/_core/visualizer/main.py
@@ -23,7 +23,7 @@
23
MDBOOTSTRAP = "https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/8.2.0/mdb.min.css"
24
25
26
-def visualize(grid: Grid, debug: bool = False):
+def visualize(grid: Grid, debug: bool = False, port: int = 8050) -> None:
27
"""Visualize the Grid.
28
29
grid: Grid
@@ -61,7 +61,7 @@ def visualize(grid: Grid, debug: bool = False):
61
SELECTION_OUTPUT_HTML,
62
],
63
)
64
- app.run(debug=debug)
+ app.run(debug=debug, port=port)
65
66
67
def _get_columns_store(grid: Grid) -> dcc.Store:
0 commit comments