Skip to content

Commit d8e7f2a

Browse files
committed
update tests to use new maps
1 parent 1c00bb5 commit d8e7f2a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

packages/python/plotly/plotly/tests/test_core/test_update_objects/test_update_subplots.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,11 @@ def test_select_by_type(self):
110110

111111
self.assert_select_subplots("ternary", "ternaries", [1], test_no_grid=True)
112112

113-
# No 'geo' or 'mapbox' subplots initialized, but the first subplot
113+
# No 'geo' or 'map' subplots initialized, but the first subplot
114114
# object is always present
115115
self.assert_select_subplots("geo", "geos", [1], test_no_grid=True)
116116

117-
self.assert_select_subplots("mapbox", "mapboxes", [1], test_no_grid=True)
117+
self.assert_select_subplots("map", "maps", [1], test_no_grid=True)
118118

119119
def test_select_by_type_and_grid(self):
120120
self.assert_select_subplots("xaxis", "xaxes", [1, 2], row=1)
@@ -262,7 +262,7 @@ def test_select_by_type_and_selector(self):
262262
"ternary", "ternaries", [1], selector=-1, test_no_grid=True
263263
)
264264

265-
# No 'geo' or 'mapbox' subplots initialized, but the first subplot
265+
# No 'geo' or 'map' subplots initialized, but the first subplot
266266
# object is always present
267267
self.assert_select_subplots(
268268
"geo", "geos", [], selector={"bgcolor": "blue"}, test_no_grid=True
@@ -273,7 +273,7 @@ def test_select_by_type_and_selector(self):
273273
)
274274

275275
self.assert_select_subplots(
276-
"mapbox", "mapboxes", [], selector={"pitch": 45}, test_no_grid=True
276+
"map", "maps", [], selector={"pitch": 45}, test_no_grid=True
277277
)
278278

279279
def test_select_by_type_and_grid_and_selector(self):
@@ -424,14 +424,14 @@ def test_update_by_type(self):
424424
test_no_grid=True,
425425
)
426426

427-
# No 'geo' or 'mapbox' subplots initialized, but the first subplot
427+
# No 'geo' or 'map' subplots initialized, but the first subplot
428428
# object is always present
429429
self.assert_update_subplots(
430430
"geo", "geos", [1], {"bgcolor": "purple"}, test_no_grid=True
431431
)
432432

433433
self.assert_update_subplots(
434-
"mapbox", "mapboxes", [1], {"pitch": 99}, test_no_grid=True
434+
"map", "maps", [1], {"pitch": 99}, test_no_grid=True
435435
)
436436

437437
def test_update_by_type_and_grid(self):

0 commit comments

Comments
 (0)