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/).
11
11
## Changed
12
12
13
13
- [#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`
14
15
15
16
## [2.11.0] - 2023-06-23
16
17
Original file line number Diff line number Diff line change 3
3
import sys
4
4
import collections
5
5
import importlib
6
+ import warnings
6
7
from contextvars import copy_context
7
8
from importlib .machinery import ModuleSpec
8
9
import pkgutil
@@ -511,6 +512,12 @@ def __init__( # pylint: disable=too-many-statements
511
512
512
513
self .logger .setLevel (logging .INFO )
513
514
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
+
514
521
def init_app (self , app = None , ** kwargs ):
515
522
"""Initialize the parts of Dash that require a flask app."""
516
523
You can’t perform that action at this time.
0 commit comments