Skip to content

v5.15.0

Compare
Choose a tag to compare
@LiamConnors LiamConnors released this 08 Jun 16:08
· 1348 commits to master since this release

Updated

  • Updated Plotly.js from version 2.20.0 to version 2.24.1. See the plotly.js CHANGELOG for more information. Notable changes include:
    • Add pattern to pie, funnelarea, sunburst, icicle and treemap traces [#6601, #6619, #6622, #6626, #6627, #6628, #6629], with thanks to @thierryVergult for the contribution!
    • Add texttemplate to shape.label for parametric shapes i.e. line, rect and circle [#6527],
      with thanks to the Volkswagen Center of Excellence for Battery Systems for sponsoring development!
    • Add strict option to custom bundle command [#6557],
      with thanks to @CallumNZ for the contribution!
    • Add legend references to traces and legend2, legend3, etc. to layout,
      also add visible to legend i.e. to allow positioning multiple legends on a graph [#6535],
      this feature was anonymously sponsored: thank you to our sponsor!
    • Add legend.xref and legend.yref to enable container-referenced positioning of legends [#6589], with thanks to Gamma Technologies for sponsoring the related development.
    • Add colorbar.xref and colorbar.yref to enable container-referenced positioning of colorbars [#6593], with thanks to Gamma Technologies for sponsoring the related development.
  • px methods now accept data-frame-like objects that support a to_pandas() method, such as polars, cudf, vaex etc

Fixed

  • Fixed another compatibility issue with Pandas 2.0, just affecting px.*(line_close=True) [#4190]
  • Empty pandas dataframe with facet row/column set no longer fails [#4038]
  • Added some rounding to the make_subplots function to handle situations where the user-input specs cause the domain to exceed 1 by small amounts [#4153]
  • Sanitize JSON output to prevent an XSS vector when graphs are inserted directly into HTML [#4196]
  • Fixed issue with shapes and annotations plotting on the wrong y axis when supplied with a specific axis in the yref parameter [#4177]
  • Remove use_2to3 setuptools arg, which is invalid in the latest Python and setuptools versions [#4206]
  • Fix #4066 JupyterLab v4 giving tiny default graph height [#4227]
  • Fixed issue with colors.n_colors where generated RGB color values were not being constrained to stay between 0 and 255 [#4110]
  • Fix streamline figure factory with recent versions of Numpy
  • Fix issue with shapes and annotations not drawing on correct axis [#4177]