Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ce4fec8

Browse filesBrowse files
authored
corrected import bug (plotly#2265)
1 parent 307fd73 commit ce4fec8
Copy full SHA for ce4fec8

File tree

Expand file treeCollapse file tree

2 files changed

+3
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+3
-2
lines changed

‎packages/python/plotly/codegen/__init__.py

Copy file name to clipboardExpand all lines: packages/python/plotly/codegen/__init__.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,9 +259,9 @@ def perform_codegen():
259259
from distutils.version import LooseVersion
260260
if LooseVersion(ipywidgets.__version__) >= LooseVersion('7.0.0'):
261261
from ._figurewidget import FigureWidget
262+
__all__.append("FigureWidget")
262263
del LooseVersion
263264
del ipywidgets
264-
__all__.append("FigureWidget")
265265
except ImportError:
266266
pass
267267
"""

‎packages/python/plotly/plotly/graph_objs/__init__.py

Copy file name to clipboardExpand all lines: packages/python/plotly/plotly/graph_objs/__init__.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100182,8 +100182,9 @@ def __init__(
100182100182

100183100183
if LooseVersion(ipywidgets.__version__) >= LooseVersion("7.0.0"):
100184100184
from ._figurewidget import FigureWidget
100185+
100186+
__all__.append("FigureWidget")
100185100187
del LooseVersion
100186100188
del ipywidgets
100187-
__all__.append("FigureWidget")
100188100189
except ImportError:
100189100190
pass

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.