Skip to content

Commit 58334bf

Browse files
committed
💨 Change app.run_server to app.run for consistency across examples
1 parent a37ff9a commit 58334bf

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

examples/dash_apps/01_minimal_global.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,4 @@ def plot_graph(n_clicks):
7070

7171
# --------------------------------- Running the app ---------------------------------
7272
if __name__ == "__main__":
73-
app.run_server(debug=True, port=9023)
73+
app.run(debug=True, port=9023)

examples/dash_apps/02_minimal_cache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,4 @@ def update_fig(relayoutdata: dict, fig: FigureResampler):
7878

7979
# --------------------------------- Running the app ---------------------------------
8080
if __name__ == "__main__":
81-
app.run_server(debug=True, port=9023)
81+
app.run(debug=True, port=9023)

examples/dash_apps/03_minimal_cache_dynamic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,4 @@ def update_fig(relayoutdata: dict, fig: FigureResampler):
115115

116116
# --------------------------------- Running the app ---------------------------------
117117
if __name__ == "__main__":
118-
app.run_server(debug=True, port=9023)
118+
app.run(debug=True, port=9023)

examples/dash_apps/04_minimal_cache_overview.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,4 +122,4 @@ def update_fig(relayoutdata: dict, fig: FigureResampler):
122122

123123
# --------------------------------- Running the app ---------------------------------
124124
if __name__ == "__main__":
125-
app.run_server(debug=True, port=9023, use_reloader=False)
125+
app.run(debug=True, port=9023, use_reloader=False)

examples/dash_apps/05_cache_overview_subplots.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,4 +157,4 @@ def update_fig(relayoutdata, fig: FigureResampler):
157157

158158
# --------------------------------- Running the app ---------------------------------
159159
if __name__ == "__main__":
160-
app.run_server(debug=True, port=9023, use_reloader=False)
160+
app.run(debug=True, port=9023, use_reloader=False)

examples/dash_apps/11_sine_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,4 +200,4 @@ def update_fig(relayoutdata: dict, fig: FigureResampler):
200200

201201
# --------------------------------- Running the app ---------------------------------
202202
if __name__ == "__main__":
203-
app.run_server(debug=True, port=9023, use_reloader=False)
203+
app.run(debug=True, port=9023, use_reloader=False)

examples/dash_apps/12_file_selector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,4 +126,4 @@ def update_fig(relayoutdata: dict, fig: FigureResampler):
126126

127127
# --------------------------------- Running the app ---------------------------------
128128
if __name__ == "__main__":
129-
app.run_server(debug=True, port=9023, use_reloader=False)
129+
app.run(debug=True, port=9023, use_reloader=False)

examples/dash_apps/13_coarse_fine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,4 +183,4 @@ def update_dynamic_fig(
183183

184184
# --------------------------------- Running the app ---------------------------------
185185
if __name__ == "__main__":
186-
app.run_server(debug=True, port=9023, use_reloader=False)
186+
app.run(debug=True, port=9023, use_reloader=False)

0 commit comments

Comments
 (0)