Skip to content

Commit a60e803

Browse files
committed
Black
1 parent 9302d29 commit a60e803

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

packages/python/plotly/plotly/missing_anywidget.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,4 @@ class FigureWidget(BaseFigure):
1010
"""
1111

1212
def __init__(self, *args, **kwargs):
13-
raise ImportError(
14-
"Please install anywidget to use the FigureWidget class"
15-
)
13+
raise ImportError("Please install anywidget to use the FigureWidget class")

packages/python/plotly/plotly/tests/test_core/test_figure_widget_backend/test_missing_anywidget.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
try:
88
import anywidget as _anywidget
9+
910
missing_anywidget = False
1011
except Exception:
1112
missing_anywidget = True

0 commit comments

Comments
 (0)