Skip to content

Commit 11e0bf0

Browse files
committed
allow selectedpoints
1 parent 60697dc commit 11e0bf0

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

test/image/convert_b64.py

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,15 @@
1515
int32bounds = numpy.iinfo(numpy.int32)
1616
uint32bounds = numpy.iinfo(numpy.uint32)
1717

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 = [
18+
skipKeys = [
2319
'geojson',
2420
'layers',
25-
'range',
26-
'selectedpoints'
21+
'range'
2722
]
2823

2924
def arraysToB64(obj, newObj) :
3025
for key, val in obj.items() :
31-
if key in rangeKeys :
26+
if key in skipKeys :
3227
newObj[key] = val
3328
elif isinstance(val, dict) :
3429
newObj[key] = dict()

0 commit comments

Comments
 (0)