Skip to content

Commit c37f748

Browse files
committed
remove mapbox from make_baseline and make_exports
1 parent d909a6d commit c37f748

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

test/image/make_baseline.py

-8
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,6 @@
5555
pio.kaleido.scope.plotlyjs = plotlyjs
5656
pio.templates.default = 'none'
5757

58-
_credentials = open(os.path.join(root, 'build', 'credentials.json'), 'r')
59-
pio.kaleido.scope.mapbox_access_token = json.load(_credentials)['MAPBOX_ACCESS_TOKEN']
60-
_credentials.close()
61-
6258
ALL_MOCKS = [os.path.splitext(a)[0] for a in os.listdir(dirIn) if a.endswith('.json')]
6359
ALL_MOCKS.sort()
6460

@@ -70,10 +66,6 @@
7066
# unable to generate baselines for the following mocks
7167
blacklist = [
7268
'map_stamen-style',
73-
'mapbox_density0-legend',
74-
'mapbox_osm-style',
75-
'mapbox_stamen-style', # Could pass by setting mapboxAccessToken to a stadiamaps.com token
76-
'mapbox_custom-style' # Figure out why needed this in https://github.com/plotly/plotly.js/pull/6610
7769
]
7870
allNames = [a for a in allNames if a not in blacklist]
7971

test/image/make_exports.py

-5
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@
1010
pio.templates.default = 'none'
1111
pio.kaleido.scope.plotlyjs = os.path.join(root, 'build', 'plotly.js')
1212

13-
_credentials = open(os.path.join(root, 'build', 'credentials.json'), 'r')
14-
pio.kaleido.scope.mapbox_access_token = json.load(_credentials)['MAPBOX_ACCESS_TOKEN']
15-
_credentials.close()
16-
1713
allFormats = ['svg', 'jpg', 'jpeg', 'webp', 'eps', 'pdf']
1814
# 'png' is tested by image-test
1915

@@ -27,7 +23,6 @@
2723
'image_astronaut_source',
2824
'gl2d_no-clustering2',
2925
'gl3d_surface-heatmap-treemap_transparent-colorscale',
30-
'mapbox_density-multiple_legend',
3126
'map_density-multiple_legend',
3227
'smith_modes',
3328
'zsmooth_methods',

0 commit comments

Comments
 (0)