github plotly/plotly.py v4.10.0
v4.10.0 - date-axis improvements, a Faster px.imshow() and Full Figures for Development

latest releases: v5.22.0, v5.21.0, v5.20.0...
3 years ago

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() and plotly.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 new binary_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 and binary_compression_level control
    how to generate the b64 string (#2691
  • px.imshow has a new constrast_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() with html=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

Don't miss a new plotly.py release

NewReleases is sending notifications on new releases.