File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
1111## Changed
1212
1313- [#2573](https://github.com/plotly/dash/pull/2573) Use `julia --project` command inside `JuliaRunner`.
14+ - [#2579](https://github.com/plotly/dash/pull/2579) Add warning if using `JupyterDash`
1415
1516## [2.11.0] - 2023-06-23
1617
Original file line number Diff line number Diff line change 33import sys
44import collections
55import importlib
6+ import warnings
67from contextvars import copy_context
78from importlib .machinery import ModuleSpec
89import pkgutil
@@ -511,6 +512,12 @@ def __init__( # pylint: disable=too-many-statements
511512
512513 self .logger .setLevel (logging .INFO )
513514
515+ if self .__class__ .__name__ == "JupyterDash" :
516+ warnings .warn (
517+ "JupyterDash is deprecated, use Dash instead.\n "
518+ "See https://dash.plotly.com/dash-in-jupyter for more details."
519+ )
520+
514521 def init_app (self , app = None , ** kwargs ):
515522 """Initialize the parts of Dash that require a flask app."""
516523
You can’t perform that action at this time.
0 commit comments