v4.13.0 - Magical Error Messages and Documentation, plus Speedups and Faceted Maps
See the fully release announcement at https://community.plotly.com/t/announcing-plotly-py-4-13-magical-error-messages-and-documentation-plus-speedups-and-faceted-maps/47497
Added
px.choropleth,px.scatter_geoandpx.line_geonow support faceting as well asfitboundsandbasemap_visible2923px.scatter_geoandpx.line_geonow supportgeojson/featureidkeyinput 2923px.scatter_geonow supportssymbol2923go.Figurenow has aset_subplotsmethod to set subplots on an already
existing figure. 2866- Added
Turbocolorscale and fancier swatch display functions
2882 - A utility function
image_array_to_data_urihas been added in
plotly.utils, in order to transform NumPy arrays to data b64 URIs (which
can be passed to the source parameter ofgo.Image, or to layout images).
2879 - the
selectorargument to updater/selector functions now acceptsints andstrs
2894
Updated
- the JSON serialization of plotly figures has been accelerated thanks to a
different handling of Infinity and NaN values. For example, a figure with a
1000x1000 Heatmap should now serialize 2x faster. 2880 - Coding mistakes with "magic underscores" now return significantly more ergonomic error
messages 2843 - Error messages related to impossible subplot geometries are now much more helpful
2897
Fixed
px.scatter_geosupport fortextis fixed 2923- the
xandyparameters ofpx.imshoware now used also in the case where
an Image trace is used (for RGB data or withbinary_string=True). However,
only numerical values are accepted (while the Heatmap trace allows date or
string values forxandy). 2761