Skip to content

Commit

Permalink
Add link to dash-in-jupyter in the warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
T4rk1n committed Jun 29, 2023
1 parent a959be1 commit 2fec4b4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dash/dash.py
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,10 @@ def __init__( # pylint: disable=too-many-statements
self.logger.setLevel(logging.INFO)

if self.__class__.__name__ == "JupyterDash":
warnings.warn("JupyterDash is deprecated, use Dash instead.")
warnings.warn(
"JupyterDash is deprecated, use Dash instead.\n"
"See https://dash.plotly.com/dash-in-jupyter for more details."
)

def init_app(self, app=None, **kwargs):
"""Initialize the parts of Dash that require a flask app."""
Expand Down

0 comments on commit 2fec4b4

Please sign in to comment.