Skip to content

Commit f0d571b

Browse files
committed
variable plotlyDomain in postMessage
1 parent 03f2409 commit f0d571b

File tree

2 files changed

+9
-12
lines changed

2 files changed

+9
-12
lines changed

plotly/widgets/graphWidget.js

Lines changed: 9 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plotly/widgets/graph_widget.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
from IPython.utils.traitlets import Unicode
99
from IPython.display import Javascript, display
1010

11-
import plotly
12-
1311
# Load JS widget code
1412
# No officially recommended way to do this in any other way
1513
# http://mail.scipy.org/pipermail/ipython-dev/2014-April/013835.html
@@ -30,9 +28,6 @@ class Graph(widgets.DOMWidget):
3028
_view_name = Unicode('GraphView', sync=True)
3129
_message = Unicode(sync=True)
3230
_graph_url = Unicode(sync=True)
33-
_plotly_domain = Unicode(
34-
sync=True, default_value=plotly.plotly.get_config()['plotly_domain']
35-
)
3631

3732
def __init__(self, graph_url, **kwargs):
3833
"""Initialize a plotly graph object.

0 commit comments

Comments
 (0)