v4.10.0 - date-axis improvements, a Faster px.imshow() and Full Figures for Development
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_objectsmodule. px.imshowhas a newbinary_stringboolean 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_formatandbinary_compression_levelcontrol
how to generate the b64 string (#2691px.imshowhas a newconstrast_rescalingargument 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