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

Skip to content

Commit d6a00d7

Browse files
committed
GraphWidget name change
1 parent e8aebaa commit d6a00d7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plotly/widgets/graph_widget.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def __init__(self, graph_url, **kwargs):
4242
GraphWidget('https://plot.ly/~chris/3375')
4343
```
4444
"""
45-
super(Graph, self).__init__(**kwargs)
45+
super(GraphWidget, self).__init__(**kwargs)
4646

4747
# TODO: Validate graph_url
4848
self._graph_url = graph_url
@@ -252,7 +252,7 @@ def restyle(self, data, indices=None):
252252
253253
Args:
254254
update (dict):
255-
Single-nested dict where keys are the graph attribute strings
255+
dict where keys are the graph attribute strings
256256
and values are the value of the graph attribute.
257257
258258
To update graph objects that are nested, like
@@ -357,7 +357,7 @@ def relayout(self, layout):
357357
358358
Args:
359359
layout (dict):
360-
Single-nested dict where keys are the graph attribute strings
360+
dict where keys are the graph attribute strings
361361
and values are the value of the graph attribute.
362362
363363
To update graph objects that are nested, like

0 commit comments

Comments
 (0)