@@ -346,10 +346,10 @@ def restyle(self, update, indices=None):
346
346
Examples:
347
347
Initialization - Start each example below with this setup:
348
348
```
349
- from plotly.widgets import Graph
349
+ from plotly.widgets import GraphWidget
350
350
from IPython.display import display
351
351
352
- graph = GraphWidget('https://plot.ly/~chris/3979' )
352
+ graph = GraphWidget()
353
353
display(graph)
354
354
```
355
355
@@ -438,7 +438,7 @@ def relayout(self, layout):
438
438
Examples - Start each example below with this setup:
439
439
Initialization:
440
440
```
441
- from plotly.widgets import Graph
441
+ from plotly.widgets import GraphWidget
442
442
from IPython.display import display
443
443
444
444
graph = GraphWidget('https://plot.ly/~chris/3979')
@@ -521,7 +521,7 @@ def hover(self, *hover_objs):
521
521
Examples:
522
522
Initialization - Start each example below with this setup:
523
523
```
524
- from plotly.widgets import Graph
524
+ from plotly.widgets import GraphWidget
525
525
from IPython.display import display
526
526
527
527
graph = GraphWidget('https://plot.ly/~chris/3979')
@@ -569,7 +569,7 @@ def add_traces(self, traces, new_indices=None):
569
569
Examples:
570
570
Initialization - Start each example below with this setup:
571
571
```
572
- from plotly.widgets import Graph
572
+ from plotly.widgets import GraphWidget
573
573
from plotly.graph_objs import Scatter
574
574
from IPython.display import display
575
575
@@ -614,7 +614,7 @@ def delete_traces(self, indices):
614
614
615
615
Example - Delete the 2nd trace:
616
616
```
617
- from plotly.widgets import Graph
617
+ from plotly.widgets import GraphWidget
618
618
from IPython.display import display
619
619
620
620
graph = GraphWidget('https://plot.ly/~chris/3979')
@@ -704,7 +704,7 @@ def extend_traces(self, update, indices, max_points=None):
704
704
Examples:
705
705
Initialization - Start each example below with this setup:
706
706
```
707
- from plotly.widgets import Graph
707
+ from plotly.widgets import GraphWidget
708
708
from IPython.display import display
709
709
710
710
graph = GraphWidget()
0 commit comments