You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
accelerate plotly JSON encoder for numpy arrays without nans (#2880)
* accelerate plotly JSON encoder for numpy arrays without nans
* limit change to numerical data types
* solution that works for 99% of cases but lists with composite types won't work
* other method: brute force string matching of Infinity or NaN
* black
* added test
* black
* removed ununsed variable
* changelog entry
* NaN tested before Infinity
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).
46
46
47
47
### Updated
48
48
49
+
- The JSON serialization of plotly figures had been accelerated by handling
50
+
differently figures with and without NaN and Inf values ([#2880](https://github.com/plotly/plotly.py/pull/2880)).
51
+
52
+
### Updated
53
+
49
54
- Updated Plotly.js to version 1.55.2. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/v1.55.2/CHANGELOG.md) for more information. These changes are reflected in the auto-generated `plotly.graph_objects` module.
50
55
-`px.imshow` has a new `binary_string` boolean argument, which passes the
51
56
image data as a b64 binary string when True. Using binary strings allow for
0 commit comments