v4.10.0 - date-axis improvements, a Faster px.imshow() and Full Figures for Development
nicolaskruchten
released this
10 Sep 13:15
·
2816 commits
to master
since this release
See the full announcement at https://community.plotly.com/t/announcing-plotly-py-4-10-date-axis-improvements-a-faster-px-imshow-and-full-figures-for-development/44685
Added
- Added
plotly.io.full_figure_for_development()
andplotly.graph_objects.Figure.full_figure_for_development()
(#2737)
Updated
- Updated Plotly.js to version 1.55.2. See the plotly.js CHANGELOG for more information. These changes are reflected in the auto-generated
plotly.graph_objects
module. px.imshow
has a newbinary_string
boolean argument, which passes the
image data as a b64 binary string when True. Using binary strings allow for
faster image rendering and smaller figure size. Additional optional arguments
binary_backend
,binary_format
andbinary_compression_level
control
how to generate the b64 string (#2691px.imshow
has a newconstrast_rescaling
argument in order to choose how
to set data values corresponding to the bounds of the color range
(#2691
Fixed
- Plotly Express no longer converts datetime columns of input dataframes to UTC (#2749)
- Plotly Express has more complete support for datetimes as additional
hover_data
(#2749) - Histogram selection behaviour with
FigureWidget
(#2711) with thanks to @meffmadd - Behaviour of
full_html()
withhtml=False
(#2469) with thanks to @tallamjr ff.distplot()
now only computes traces that will be shown (#2730) with thanks to @akbo- Pandas backend
.hist()
works with latest version of Pandas (#2713) with thanks to @Kerybas