v4.13.0 - Magical Error Messages and Documentation, plus Speedups and Faceted Maps
nicolaskruchten
released this
23 Nov 13:51
·
2090 commits
to master
since this release
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_geo
andpx.line_geo
now support faceting as well asfitbounds
andbasemap_visible
2923px.scatter_geo
andpx.line_geo
now supportgeojson
/featureidkey
input 2923px.scatter_geo
now supportssymbol
2923go.Figure
now has aset_subplots
method to set subplots on an already
existing figure. 2866- Added
Turbo
colorscale and fancier swatch display functions
2882 - A utility function
image_array_to_data_uri
has 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
selector
argument to updater/selector functions now acceptsint
s andstr
s
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_geo
support fortext
is fixed 2923- the
x
andy
parameters ofpx.imshow
are 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 forx
andy
). 2761