Plotly

Latest version: v5.22.0

Safety actively analyzes 628924 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 9 of 63

4.5.1

Not secure
Updated

- Updated Plotly.js to version 1.52.2. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/releases/tag/v1.52.2) for more information on bug fixes.

Fixed

- `update_annotations`, `update_shapes` and `update_layout_images` now no longer require the `patch` argument, as per the docstring [2167](https://github.com/plotly/plotly.py/issues/2167)
- `px.defaults` no longer accepts arbitrary keys [2168](https://github.com/plotly/plotly.py/issues/2168)
- better error message when `pandas` is not installed [2125](https://github.com/plotly/plotly.py/issues/2125)
- support columns of numerical type in `path` argument of `px.sunburst`/`px.treemap` and add values of `color` column in hoverlabel for `px.sunburst`/`px.treemap` [2133](https://github.com/plotly/plotly.py/pull/2133)

4.5.0

Not secure
Updated
- Updated Plotly.js to version 1.52.1. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/v1.52.0/CHANGELOG.md#1520----2020-01-08) for more information on numerous new attribute and bug fixes.
- Plotly Express uses the new `legend.title` attribute and so now has shorter trace `name`s [2051](https://github.com/plotly/plotly.py/pull/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](https://github.com/plotly/plotly.py/pull/2102)
- The `simple_white` colorbar styling has been streamlined [2110](https://github.com/plotly/plotly.py/pull/2110)
- The `jupyterlab-plotly` and `plotlywidget` JupyterLab extensions should now share code when installed together, resulting in smaller JupyterLab vendor bundle sizes [2103](https://github.com/plotly/plotly.py/pull/2103)

Fixed

- Plotly Express `category_orders` are now respected independent of the contents of the data set [2084](https://github.com/plotly/plotly.py/issues/2084)
- `go.Scattergl` symbols now accept numeric specification [1928](https://github.com/plotly/plotly.py/issues/1928)
- `px.scatter` trendline coefficients are now more readable [1984](https://github.com/plotly/plotly.py/issues/1984)
- Built-in cyclical color scales now all have identical start and end points [2016](https://github.com/plotly/plotly.py/pulls/2016)


Added
- `px.sunburst` and `px.treemap` now accept a `path` argument for passing
columns of a rectangular dataframe to build the charts [2006](https://github.com/plotly/plotly.py/pull/2006)
- `px.choropleth` now accepts a user-supplied `geojson` attribute [2057](https://github.com/plotly/plotly.py/pull/2057)
- `px.choropleth` and `px.choropleth_mapbox` now accept `featureidkey` to specify the GeoJSON field to use to match `locations` [2057](https://github.com/plotly/plotly.py/pull/2057)
- `px.choropleth` and `px.choropleth_mapbox` now accept discrete color [2057](https://github.com/plotly/plotly.py/pull/2057)
- `px.bar_polar` now accepts continuous color [2017](https://github.com/plotly/plotly.py/pull/2017)
- New `layout.uniformtext` attribute allows for automatic standardization of font sizes across bar-like and hierarchical traces. See the
[plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/v1.52.0/CHANGELOG.md#1520----2020-01-08)
for more information

4.4.1

Not secure
Fixed
- Fixed improper JSON encoding exception when the `pillow` module not installed [1993](https://github.com/plotly/plotly.py/pull/1993)

4.4.0

Not secure
Updated
- Updated Plotly.js to version 1.51.2. See the
[plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#1512----2019-11-25)
for more information
- The tutorials of the [plotly.py documentation](https://plot.ly/python/) are
now in the main [plotly.py Github repository](https://github.com/plotly/plotly.py). Contributions in order to improve or extend the documentation are very welcome!
- `plotly.express` generated plots no longer have a default height of 600 pixels, instead they inherit the default height of regular figures [1990](https://github.com/plotly/plotly.py/pull/1990). To restore the old behavior, set `px.defaults.height=600` once per session, or set the `height` keyword argument to any `px.function()` to 600.

Fixed

- Fixed a plotly.express input bug when using data frame indices[1934](https://github.com/plotly/plotly.py/pull/1934)
- Fixed how to display facet labels with plotly express [1966](https://github.com/plotly/plotly.py/pull/1966)
- Fixed a bug to use correctly the `zmin/zmax` parameter in `px.imshow` for single-channel images [1981](https://github.com/plotly/plotly.py/pull/1981)
- Clipped docstring width for better display in Jupyterlab [1939](https://github.com/plotly/plotly.py/pull/1939). Thank you joelostblom!
- Fixed a bug in the case of external orca server [1915](https://github.com/plotly/plotly.py/pull/1915) thank you dev-dsp!

Added

- Extended the plotly.express functional API with 7 new functions: `px.pie`,
`px.sunburst`, `px.treemap`, `px.funnel`, and `px.funnel_area` ([1909](https://github.com/plotly/plotly.py/pull/1909)) `px.density_mapbox` and
`px.choropleth_mapbox` [1937](https://github.com/plotly/plotly.py/pull/1937).
- plotly.express mapbox functions in plotly.express have new arguments `center` and `mapbox_style` [1937](https://github.com/plotly/plotly.py/pull/1937).
- plotly.express polar plots (`scatter_polar`, `line_polar`, `bar_polar`) now
have a `range_theta` keyword argument for representing only an angular
section [1969](https://github.com/plotly/plotly.py/pull/1969).
- All continuous colorscales now accept a `_r` suffix that reverses their direction [1933](https://github.com/plotly/plotly.py/pull/1933)
- Docstrings of plotly.py are now doctested [1921](https://github.com/plotly/plotly.py/pull/1921).
- Reversing a predefined colorscale by appending `_r` to its name [1933](https://github.com/plotly/plotly.py/pull/1933)

4.3.0

Not secure
Updated
- Updated Plotly.js to version 1.51.1. See the
[plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#1511----2019-11-04)
for more information
- Improved propagation of empty templates ([1892](https://github.com/plotly/plotly.py/pull/1892))
- Update the `add_annotations`/`add_shapes`/`add_images` methods to no longer default to adding objects in paper coordinates. This allows plotly.js to determine the default reference frame based on context ([1888](https://github.com/plotly/plotly.py/pull/1888))
- Use the default template's background color for displaying color swatches ([1872](https://github.com/plotly/plotly.py/pull/1872)). Special thanks to [joelostblom](https://github.com/joelostblom) for this contribution!
- Improved docstrings ([1835](https://github.com/plotly/plotly.py/pull/1835), [#1837](https://github.com/plotly/plotly.py/pull/1837))

Added
- Added image trace type ([plotly.js4289](https://github.com/plotly/plotly.js/pull/4289), [plotly.js#4307](https://github.com/plotly/plotly.js/pull/4307), [plotly.js#4313](https://github.com/plotly/plotly.js/pull/4313), [plotly.js#4319](https://github.com/plotly/plotly.js/pull/4319))
- Added matplotlib-style `plotly.express.imshow` convenience function to display images and heatmaps ([1855](https://github.com/plotly/plotly.py/pull/1855), [#1885](https://github.com/plotly/plotly.py/pull/1885))
- Added matplotlib-style `simple_white` template ([1864](https://github.com/plotly/plotly.py/pull/1864)). Special thanks to [joelostblom](https://github.com/joelostblom) for this contribution.
- Added support for using an externally managed orca server for image export features ([1850](https://github.com/plotly/plotly.py/pull/1850)). Special thanks to [miriad](https://github.com/miriad) for this contribution.
- Added facet wrapping support to plotly express functions using the new `facet_col_wrap` argument ([1838](https://github.com/plotly/plotly.py/pull/1838))

4.2.1

Not secure
Fixed
- Fixed regression in 4.2.0 that caused all figure factories to require that scikit-image be installed ([1832](https://github.com/plotly/plotly.py/pull/1832))

Page 9 of 63

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.