mirror of
https://github.com/jupyter/notebook.git
synced 2025-02-05 12:19:58 +08:00
Merge pull request #7201 from jasongrout/widget-warning
Make the widget error message shorter and more understandable.
This commit is contained in:
commit
e61188a4c8
@ -26,4 +26,4 @@ from .widget_string import HTMLWidget, LatexWidget, TextWidget, TextareaWidget
|
||||
|
||||
# Warn on import
|
||||
from warnings import warn
|
||||
warn("""The widget API is still considered experimental and may change in the future.""", FutureWarning, stacklevel=2)
|
||||
warn("IPython widgets are experimental and may change in the future.", FutureWarning, stacklevel=2)
|
||||
|
Loading…
Reference in New Issue
Block a user