Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 464a12f

Browse files
committed
Add url property to GraphWidget.
1 parent 49e46c5 commit 464a12f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

plotly/widgets/graph_widget.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ def __init__(self, graph_url='https://plot.ly/~playground/7', **kwargs):
7676
# so we'll just cue up messages until they're ready to be sent
7777
self._clientMessages = deque()
7878

79+
@property
80+
def url(self):
81+
return self._new_url or ''
82+
7983
def _handle_msg(self, message):
8084
"""Handle a msg from the front-end.
8185

0 commit comments

Comments
 (0)