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 a028996 commit 75da4a3Copy full SHA for 75da4a3
plotly/utils.py
@@ -147,20 +147,6 @@ def sageJSONEncoder(self, obj):
147
except:
148
raise NotEncodable
149
150
- def maskedNumbersEncoder(self, obj):
151
- """This catches masked numbers which can't be serialized.
152
-
153
- Pandas (and others) may use masked numbers to signify data that's
154
- not NaN, but also not valid in computations; something to be ignored.
155
156
- """
157
- import math
158
- try:
159
- if math.isnan(obj):
160
- return float('NaN')
161
- except:
162
- pass
163
- return None
164
if obj in RR:
165
return float(obj)
166
elif obj in ZZ:
0 commit comments