Plotly

Latest version: v5.22.0

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

Scan your dependencies

Page 10 of 63

4.2.0

Not secure
Updated
- Updated Plotly.js to version 1.50.1. See the
[plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#1501----2019-10-15)
for more information

Added
- Added `treemap` trace type ([plotly.js4185](https://github.com/plotly/plotly.js/pull/4185), [plotly.js#4219](https://github.com/plotly/plotly.js/pull/4219), [plotly.js#4227](https://github.com/plotly/plotly.js/pull/4227), [plotly.js#4242](https://github.com/plotly/plotly.js/pull/4242))
- Added `add_*`/`select_*`/`for_each_*`/`update_*` convenience figure methods for annotations, shapes, and images ([1817](https://github.com/plotly/plotly.py/pull/1817))
- Added `overwrite` kwarg to `update*` figure methods to fully replace property values, rather than update them recursively ([1726](https://github.com/plotly/plotly.py/pull/1726))
- Added `texttemplate` attribute to all traces that support on-graph text ([plotly.js4071](https://github.com/plotly/plotly.js/pull/4071), [plotly.js#4179](https://github.com/plotly/plotly.js/pull/4179))
- Added date custom formatting in `hovertemplate` and `texttemplate` e.g. `'%{x|%b %-d, %Y}'` ([plotly.js4071](https://github.com/plotly/plotly.js/pull/4071))
- Added transition support to `bar` trace length, width, on-graph text positioning, marker style and error bars ([plotly.js4180](https://github.com/plotly/plotly.js/pull/4180), [plotly.js#4186](https://github.com/plotly/plotly.js/pull/4186))
- Added support for legend scrolling via touch interactions ([plotly.js3873](https://github.com/plotly/plotly.js/pull/3873), [plotly.js#4214](https://github.com/plotly/plotly.js/pull/4214))

Fixed
- Fixed `iframe` renderer on Python 2 ([1822](https://github.com/plotly/plotly.py/pull/1822))
- Fixed use of merged templates in plotly.express ([1819](https://github.com/plotly/plotly.py/pull/1819))

4.1.1

Not secure
Updated
- Updated Plotly.js to version 1.49.4. See the
[plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#1494----2019-08-22)
for more information
- The width of a figure produced by the `create_gantt` figure factory now resizes responsively ([1724](https://github.com/plotly/plotly.py/pull/1724))

Fixed
- The name of the steps property of `graph_objects.indicator.Gauge` has been renamed from `stepss` to `steps`
- Avoid crash in iframe renderers when running outside iPython ([1723](https://github.com/plotly/plotly.py/pull/1723))

4.1.0

Not secure
Updated
- Updated Plotly.js to version 1.49.1. See the
[plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#1491----2019-07-31)
for more information.
- Bars in the figures produced by the `create_gantt` figure factory may now be hidden by clicking on the legend ([1665](https://github.com/plotly/plotly.py/pull/1665)). Special thanks to [csabaszan](https://github.com/csabaszan) for this contribution!
- Improved performance when serializing figures containing large numpy arrays ([1690](https://github.com/plotly/plotly.py/pull/1690)). Special thanks to [miriad](https://github.com/miriad) for this contribution!

Added
- Added new renderers for displaying figures from within the Databricks and CoCalc notebook services ([1703](https://github.com/plotly/plotly.py/pull/1703))
- Added `indicator` traces ([plotly/plotly.js3978](https://github.com/plotly/plotly.js/pull/3978))
- Added `choroplethmapbox` traces ([plotly/plotly.js3988](https://github.com/plotly/plotly.js/pull/3988))
- Added `densitymapbox` traces ([plotly/plotly.js3993](https://github.com/plotly/plotly.js/pull/3993))
- Added new mapbox `style` values: `open-street-map`, `carto-positron`, `carto-darkmatter`,
`stamen-terrain`, `stamen-toner`, `stamen-watercolor` and `white-bg`
that do not require a Mapbox access token ([plotly/plotly.js3987](https://github.com/plotly/plotly.js/pull/3987), [plotly/plotly.js#4068](https://github.com/plotly/plotly.js/pull/4068))
- Added support for `sourcetype` value `raster` and `image` and `type` `raster`
for mapbox layout layers ([plotly/plotly.js4006](https://github.com/plotly/plotly.js/pull/4006))
- Added `below` attribute to `scattermapbox` traces ([plotly/plotly.js4058](https://github.com/plotly/plotly.js/pull/4058))
- Added support for `below: 'traces'` in mapbox layout layers ([plotly/plotly.js4058](https://github.com/plotly/plotly.js/pull/4058))
- Added `sourceattribution` attribute to mapbox layout layers ([plotly/plotly.js4069](https://github.com/plotly/plotly.js/pull/4069))
- Added `labelangle` and `labelside` attributes to `parcoords` traces ([plotly/plotly.js3966](https://github.com/plotly/plotly.js/pull/3966))
- Added `doubleClickDelay` config option ([plotly/plotly.js3991](https://github.com/plotly/plotly.js/pull/3991))
- Added `showEditInChartStudio` config option ([plotly/plotly.js4061](https://github.com/plotly/plotly.js/pull/4061))

Fixed
- Fixed incorrect facet row ordering in figures generated by plotly.express functions ([plotly/plotly_express129](https://github.com/plotly/plotly_express/issues/129))
- Fixed "The truth value of an array with more than one element is ambiguous" error when specifying subplot titles as numpy array of strings ([1685](https://github.com/plotly/plotly.py/pull/1685)). Special thanks to [MrQubo](https://github.com/MrQubo) for this contribution!
- The `line_3d` plotly express function was not visible by default when importing `*` from `plotly.express` ([1667](https://github.com/plotly/plotly.py/pull/1667/files))

4.0.0

Not secure
This is a major release that includes many new features, and a few breaking changes. See the [version 4 announcement](https://community.plot.ly/t/introducing-plotly-py-4-0-0rc1/25639) for a summary of the important changes.

Updated
- Updated Plotly.js to version 1.48.3. See the
[plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#1483----2019-06-13)
for more information.

Added
- The Plotly Express tech preview (https://medium.com/plotlygraphs/introducing-plotly-express-808df010143d) has been integrated as the `plotly.express` module ([#1613](https://github.com/plotly/plotly.py/pull/1613))
- Added a new renderers framework the supports rendering figure in a wide variety of contexts ([1474](https://github.com/plotly/plotly.py/pull/1474)). See the new [Displaying Plotly Figures](https://plot.ly/python/next/renderers) documentation page for more information.
- Added `plotly.io.write_html` and `plotly.io.to_html` functions for exporting figures to HTML ([1474](https://github.com/plotly/plotly.py/pull/1474)). Also available as `.write_html` and `.to_html` figure methods.
- Added new figure methods for batch updating figure properties (`update_layout`, `update_traces`, `update_xaxes`, etc.) ([1624](https://github.com/plotly/plotly.py/pull/1624)). See the new [Creating and Updating Figures](https://plot.ly/python/next/creating-and-updating-figures/) documentation page for more details.
- Added support for all trace types in `make_subplots` ([1528](https://github.com/plotly/plotly.py/pull/1528))
- Added support for secondary y-axes in `make_subplots` ([1564](https://github.com/plotly/plotly.py/pull/1564))
- Support passing a scalar trace object (rather than a list or tuple of trace objects) as the `data` property to the `Figure` constructor ([1614](https://github.com/plotly/plotly.py/pull/1614))
- Added dictionary-style `.pop` method to graph object classes ([1614](https://github.com/plotly/plotly.py/pull/1614))
- New `jupyterlab-plotly` JupyterLab extension for rendering figures in JupyterLab. Replaces the `jupyterlab/plotly-extension` extension, and includes JupyterLab 1.0 support.
- Added new suite of built-in colorscales to the `plotly.colors` module, and support for specifying this wide range of colorscales by name. Also added support for specifying colorscales as a list of colors, in which case the color spacing is assumed to be uniform ([1647](https://github.com/plotly/plotly.py/pull/1647)).
- Added `sphinx-gallery` renderer for embedding plotly figures in [Sphinx-Gallery](https://sphinx-gallery.github.io/) ([#1577](https://github.com/plotly/plotly.py/pull/1577), [plotly/plotly-sphinx-gallery](https://github.com/plotly/plotly-sphinx-gallery)).

Removed
- The follow modules for interfacing with the Chart Studio cloud service have been removed from plotly.py and moved to the new `chart-studio` distribution package. The following modules have been moved to a new top-level `chart_studio` module:
- `plotly.plotly` -> `chart_studio.plotly`
- `plotly.api` -> `chart_studio.api`
- `plotly.dashboard_objs` -> `chart_studio.dashboard_objs`
- `plotly.grid_objs` -> `chart_studio.grid_objs`
- `plotly.presentation_objs` -> `chart_studio.presentation_objs`
- The legacy `plotly.widgets.GraphWidget` class for displaying online figures hosted by Chart Studio as ipywidgets has been removed. Please use the offline, and much more capable, `plotly.graph_objects.FigureWidget` class instead.
- The `fileopt` argument to `chart_studio.plotly.plot` has been removed, so in-place modifications to previously published figures are no longer supported, and a figure will always overwrite a figure with the same name.

Changed
- The `'plotly'` template is used as the default theme across all figures.
- In order to reduce the size of the core `plotly` distribution package, the bundled geographic shape files used by the `create_choropleth` figure factory have been moved to a new optional `plotly-geo` distribution package ([1604](https://github.com/plotly/plotly.py/pull/1604))
- For consistency with other figure factories, the `create_choropleth` and `create_gantt` figure factories now always returns `Figure` objects, rather than dictionaries ([1600](https://github.com/plotly/plotly.py/pull/1600), [#1607](https://github.com/plotly/plotly.py/pull/1607)).
- Figure add trace methods (`.add_trace`, `.add_traces`, `.add_scatter`, etc.) now return a reference to the calling figure, rather than the newly created trace ([1624](https://github.com/plotly/plotly.py/pull/1624))
- `plotly.tools.make_subplots` has been moved to `plotly.subplots.make_subplots`, though it is still available at the previous location for backward compatibility
- The `plotly.graph_objs` module has been moved to `plotly.graph_objects`, though it is still available at the previous location for backward compatibility ([1614](https://github.com/plotly/plotly.py/pull/1614))
- Trace `uid` properties are only generated automatically when a trace is added to a `FigureWidget`. When a trace is added to a standard `Figure` graph object the input `uid`, if provided, is accepted as is ([1580](https://github.com/plotly/plotly.py/pull/1580)).
- `datetime` objects that include timezones are not longer converted to UTC ([1581](https://github.com/plotly/plotly.py/pull/1581))
- When a tuple property (e.g. `layout.annotations`) is updated with a list/tuple that is longer than the current value, the extra elements are appended to the end of the tuple.

Fixed
- Fixed visibility of `bar` trace error bars in built-in templates ([1656](https://github.com/plotly/plotly.py/pull/1656))

3.10.0

Not secure
Updated
- Updated Plotly.js to version 1.48.1. See the
[plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#1481----2019-05-30)
for more information.

Added
- Added funnel trace
([plotly/plotly.js3817](https://github.com/plotly/plotly.js/pull/3817),
[plotly/plotly.js3911](https://github.com/plotly/plotly.js/pull/3911))
- Added funnelarea traces
([3876](https://github.com/plotly/plotly.js/pull/3876),
[3912](https://github.com/plotly/plotly.js/pull/3912))
- Added support for shared color axes via coloraxis attributes in the layout
([3803](https://github.com/plotly/plotly.js/pull/3803),
[3786](https://github.com/plotly/plotly.js/pull/3786),
[3901](https://github.com/plotly/plotly.js/pull/3901),
[3916](https://github.com/plotly/plotly.js/pull/3916))
- Added support for sorting categorical cartesian axes by value
([3864](https://github.com/plotly/plotly.js/pull/3864))
- Added `bingroup` to `histogram`, `histogram2d` and `histogram2dcontour`
to group traces to have compatible auto-bin values
([3845](https://github.com/plotly/plotly.js/pull/3845))
- Add legend `itemclick` and `itemdoubleclick` attributes to set or disable
the legend item click and double-click behavior
([3862](https://github.com/plotly/plotly.js/pull/3862))
- Added support for calling orca through [Xvfb](https://www.x.org/releases/X11R7.6/doc/man/man1/Xvfb.1.xhtml)
to support static image export on Linux when X11 is not available
([1523](https://github.com/plotly/plotly.py/pull/1523)).

Fixed
- Fixed `PlotlyJSONEncoder` encoding error when `simplejson` is installed
([1556](https://github.com/plotly/plotly.py/issues/1556),
[1561](https://github.com/plotly/plotly.py/pull/1561))
- HTML export now honors the figure height specified in the figure template
([1560](https://github.com/plotly/plotly.py/issues/1560))
- Fixed display height of figure displayed in JupyterLab
([1572](https://github.com/plotly/plotly.py/issues/1572),
[1571](https://github.com/plotly/plotly.py/pull/1571))
- Fixed honouring of the `validate=False` option for all renderer types
([1576](https://github.com/plotly/plotly.py/pull/1576))

3.9.0

Not secure
Updated
- Updated Plotly.js to version 1.47.4. See the
[plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#1474----2019-04-25)
for more information.


Added
- Added "magic underscore" support for specifying nested figure properties
([1534](https://github.com/plotly/plotly.py/pull/1534))
- Added `select_traces`, `for_each_trace`, and `update_traces` figure
methods for accessing and updating traces by subplot location and trace
properties
([1534](https://github.com/plotly/plotly.py/pull/1534))
- Added `select_*`, `for_each_*`, and `update_*` figure methods for
accessing and updating subplot objects (`xaxis`, `scene`, `polar`, etc)
([1548](https://github.com/plotly/plotly.py/pull/1548))
- Added support for Dash Design Kit style color specifications
([1541](https://github.com/plotly/plotly.py/pull/1541)). Thanks to
[wbrgss](https://github.com/wbrgss) for this contribution!
- Added support for the `plotly_unselect` plotly.js event in a new
`on_unselect` trace method
([1542](https://github.com/plotly/plotly.py/pull/1542)). Thanks to
[denphi](https://github.com/denphi) for this contribution!

Changed
- Changed the default colorscale to be `plasma` for the `plotly`, `plotly_white`, and
`plotly_dark` templates for plotly.py version 4
([1274](https://github.com/plotly/plotly.py/issues/1274),
[1549](https://github.com/plotly/plotly.py/pull/1549))
- Reordered the default colorway for the `plotly`, `plotly_white`, and
`plotly_dark` templates for plotly.py version 4
([1549](https://github.com/plotly/plotly.py/pull/1549))

Fixed
- Fixed package listing in setup.py
([1543](https://github.com/plotly/plotly.py/pull/1543)). Thanks to
[jakevdp](https://github.com/jakevdp) for this contribution!
- Fixed built-in templates so that `heatmap` colorscales can be overridden
without specifying `autocolorscale=False`
([1454](https://github.com/plotly/plotly.py/issues/1454),
[1549](https://github.com/plotly/plotly.py/pull/1549))
- Fix `UnboundLocalError` error in the presence of a missing or corrupt
`~/.plotly/.config` file
([1551](https://github.com/plotly/plotly.py/pull/1551))
- Fixed error when combining `sankey` traces with cartesian subplots
([1527](https://github.com/plotly/plotly.py/issues/1527),
[plotly/plotly.js3802](https://github.com/plotly/plotly.js/pull/3802))

Page 10 of 63

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.