We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60697dc commit 11e0bf0Copy full SHA for 11e0bf0
test/image/convert_b64.py
@@ -15,20 +15,15 @@
15
int32bounds = numpy.iinfo(numpy.int32)
16
uint32bounds = numpy.iinfo(numpy.uint32)
17
18
-# List mainly including keys with type of 'info_array'
19
-# Simply having two items the b64 option is not supported by plotly.js
20
-# This list also includes cases of type 'any' that we don't to be converted
21
-# e.g. in mapbox layers or geojson
22
-rangeKeys = [
+skipKeys = [
23
'geojson',
24
'layers',
25
- 'range',
26
- 'selectedpoints'
+ 'range'
27
]
28
29
def arraysToB64(obj, newObj) :
30
for key, val in obj.items() :
31
- if key in rangeKeys :
+ if key in skipKeys :
32
newObj[key] = val
33
elif isinstance(val, dict) :
34
newObj[key] = dict()
0 commit comments