See the full release announcement here: https://community.plotly.com/t/announcing-plotly-py-5-2-1-trendlines-ecdf-plots-markers-on-lines-sharper-webgl-legend-group-titles/55681
Updated
- Updated Plotly.js to from version 2.2.0 to version 2.3.1. See the plotly.js CHANGELOG for more information. These changes are reflected in the auto-generated
plotly.graph_objects
module. Notable changes include:- new projections in
geo
subplots from a more recent version ofd3-geo
- new number-formatting directives from a more recent version of
d3-format
- Improve rendering of
scattergl
,splom
andparcoords
by implementingplotGlPixelRatio
for those traces - performance improvements and bug fixes
- new projections in
Added
- Extra flags were added to the
gapminder
andstocks
dataset to facilitate testing, documentation and demos #3305 - All line-like Plotly Express functions now accept
markers
argument to display markers, and all butline_mapbox
acceptsymbol
to map a field to the symbol attribute, similar to scatter-like functions #3326 px.scatter
andpx.density_contours
now support newtrendline
types'rolling'
,'expanding'
and'ewm'
#2997px.scatter
andpx.density_contours
now support newtrendline_options
argument to parameterize trendlines, with support for constant control and log-scaling in'ols'
and specification of the fraction used for'lowess'
, as well as pass-through to Pandas for'rolling'
,'expanding'
and'ewm'
#2997px.scatter
andpx.density_contours
now support newtrendline_scope
argument that accepts the value'overall'
to request a single trendline for all traces, including across facets and animation frames #2997- A new
px.ecdf()
function for Empirical Cumulative Distribution Functions #3330
Fixed
- Fixed regression introduced in version 5.0.0 where pandas/numpy arrays with
dtype
of Object were being converted tolist
values when added to a Figure (#3292, #3293) - Better detection of Chrome and Chromium browsers in the Renderers framework, especially on Linux (#3278) with thanks to @c-chaitanya for the contribution