Skip to content

Commit a293de3

Browse files
committed
remove references to Stream
1 parent 3a76e7d commit a293de3

5 files changed

Lines changed: 0 additions & 34 deletions

File tree

codegen/compatibility.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
"Marker": {"base_type": dict, "new": ["scatter", "histogram.selected", "etc."]},
2828
"RadialAxis": {"base_type": dict, "new": ["layout", "layout.polar"]},
2929
"Scene": {"base_type": dict, "new": ["layout"]},
30-
"Stream": {"base_type": dict, "new": ["scatter", "area"]},
3130
"XAxis": {"base_type": dict, "new": ["layout", "layout.scene"]},
3231
"YAxis": {"base_type": dict, "new": ["layout", "layout.scene"]},
3332
"ZAxis": {"base_type": dict, "new": ["layout.scene"]},

plotly/graph_objects/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@
7070
from ..graph_objs import Marker
7171
from ..graph_objs import RadialAxis
7272
from ..graph_objs import Scene
73-
from ..graph_objs import Stream
7473
from ..graph_objs import XAxis
7574
from ..graph_objs import YAxis
7675
from ..graph_objs import ZAxis
@@ -249,7 +248,6 @@
249248
"..graph_objs.Marker",
250249
"..graph_objs.RadialAxis",
251250
"..graph_objs.Scene",
252-
"..graph_objs.Stream",
253251
"..graph_objs.XAxis",
254252
"..graph_objs.YAxis",
255253
"..graph_objs.ZAxis",

plotly/graph_objs/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
from ._deprecations import Marker
3232
from ._deprecations import RadialAxis
3333
from ._deprecations import Scene
34-
from ._deprecations import Stream
3534
from ._deprecations import Trace
3635
from ._deprecations import XAxis
3736
from ._deprecations import XBins
@@ -210,7 +209,6 @@
210209
"._deprecations.Marker",
211210
"._deprecations.RadialAxis",
212211
"._deprecations.Scene",
213-
"._deprecations.Stream",
214212
"._deprecations.Trace",
215213
"._deprecations.XAxis",
216214
"._deprecations.XBins",

plotly/graph_objs/_deprecations.py

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -496,34 +496,6 @@ def __init__(self, *args, **kwargs):
496496
super().__init__(*args, **kwargs)
497497

498498

499-
class Stream(dict):
500-
"""
501-
plotly.graph_objs.Stream is deprecated.
502-
Please replace it with one of the following more specific types
503-
- plotly.graph_objs.scatter.Stream
504-
- plotly.graph_objs.area.Stream
505-
506-
"""
507-
508-
def __init__(self, *args, **kwargs):
509-
"""
510-
plotly.graph_objs.Stream is deprecated.
511-
Please replace it with one of the following more specific types
512-
- plotly.graph_objs.scatter.Stream
513-
- plotly.graph_objs.area.Stream
514-
515-
"""
516-
warnings.warn(
517-
"""plotly.graph_objs.Stream is deprecated.
518-
Please replace it with one of the following more specific types
519-
- plotly.graph_objs.scatter.Stream
520-
- plotly.graph_objs.area.Stream
521-
""",
522-
DeprecationWarning,
523-
)
524-
super().__init__(*args, **kwargs)
525-
526-
527499
class XAxis(dict):
528500
"""
529501
plotly.graph_objs.XAxis is deprecated.

tests/test_core/test_graph_objs/test_graph_objs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
"Scatter",
3535
"Scatter3d",
3636
"Scene",
37-
"Stream",
3837
"Surface",
3938
"Trace",
4039
"XAxis",

0 commit comments

Comments
 (0)