plotly v4.5.0 Release Notes

Release Date: 2020-01-22 // over 4 years ago
  • [4.5.0] - 2020-01-22

    ⚡️ Updated

    • ⚡️ Updated Plotly.js to version 1.52.1. See the plotly.js CHANGELOG for more information on numerous new attribute and bug fixes.
    • Plotly Express uses the new legend.title attribute and so now has shorter trace names #2051
    • 🔧 The heuristic used by px.parallel_categories to determine which columns of the data frame to draw has been changed and made more configurable with the dimensions_max_cardinality argument #2102
    • The simple_white colorbar styling has been streamlined #2110
    • The jupyterlab-plotly and plotlywidget JupyterLab extensions should now share code when installed together, resulting in smaller JupyterLab vendor bundle sizes #2103

    🛠 Fixed

    • Plotly Express category_orders are now respected independent of the contents of the data set #2084
    • go.Scattergl symbols now accept numeric specification #1928
    • px.scatter trendline coefficients are now more readable #1984
    • Built-in cyclical color scales now all have identical start and end points #2016

    ➕ Added

    • px.sunburst and px.treemap now accept a path argument for passing
      🏗 columns of a rectangular dataframe to build the charts #2006
    • px.choropleth now accepts a user-supplied geojson attribute #2057
    • px.choropleth and px.choropleth_mapbox now accept featureidkey to specify the GeoJSON field to use to match locations #2057
    • px.choropleth and px.choropleth_mapbox now accept discrete color #2057
    • px.bar_polar now accepts continuous color #2017
    • 🆕 New layout.uniformtext attribute allows for automatic standardization of font sizes across bar-like and hierarchical traces. See the plotly.js CHANGELOG for more information