|
2 | 2 | All notable changes to this project will be documented in this file.
|
3 | 3 | This project adheres to [Semantic Versioning](http://semver.org/).
|
4 | 4 |
|
| 5 | +## [UNRELEASED] |
| 6 | + |
| 7 | +### Updated |
| 8 | + - Updated Plotly.js from version 2.20.0 to version 2.24.1. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#2241----2023-06-07) for more information. Notable changes include: |
| 9 | + - Add pattern to pie, funnelarea, sunburst, icicle and treemap traces [[#6601](https://github.com/plotly/plotly.js/pull/6601), [#6619](https://github.com/plotly/plotly.js/pull/6619), [#6622](https://github.com/plotly/plotly.js/pull/6622), [#6626](https://github.com/plotly/plotly.js/pull/6626), [#6627](https://github.com/plotly/plotly.js/pull/6627), [#6628](https://github.com/plotly/plotly.js/pull/6628), [#6629](https://github.com/plotly/plotly.js/pull/6629)], with thanks to @thierryVergult for the contribution! |
| 10 | + - Add `texttemplate` to shape.label for parametric shapes i.e. line, rect and circle [[#6527](https://github.com/plotly/plotly.js/pull/6527)], |
| 11 | + with thanks to the [Volkswagen](https://www.volkswagenag.com) Center of Excellence for Battery Systems for sponsoring development! |
| 12 | + - Add strict option to custom bundle command [[#6557](https://github.com/plotly/plotly.js/pull/6557)], |
| 13 | + with thanks to @CallumNZ for the contribution! |
| 14 | + - Add `legend` references to traces and `legend2`, `legend3`, etc. to layout, |
| 15 | + also add `visible` to legend i.e. to allow positioning multiple legends on a graph [[#6535](https://github.com/plotly/plotly.js/pull/6535)], |
| 16 | + this feature was anonymously sponsored: thank you to our sponsor! |
| 17 | + - Add `legend.xref` and `legend.yref` to enable container-referenced positioning of legends [[#6589](https://github.com/plotly/plotly.js/pull/6589)], with thanks to [Gamma Technologies](https://www.gtisoft.com/) for sponsoring the related development. |
| 18 | + - Add `colorbar.xref` and `colorbar.yref` to enable container-referenced positioning of colorbars [[#6593](https://github.com/plotly/plotly.js/pull/6593)], with thanks to [Gamma Technologies](https://www.gtisoft.com/) for sponsoring the related development. |
| 19 | + - `px` methods now accept data-frame-like objects that support a `to_pandas()` method, such as polars, cudf, vaex etc |
| 20 | + |
| 21 | +### Fixed |
| 22 | + - Fixed another compatibility issue with Pandas 2.0, just affecting `px.*(line_close=True)` [[#4190](https://github.com/plotly/plotly.py/pull/4190)] |
| 23 | + - Empty pandas dataframe with facet row/column set no longer fails [[#4038](https://github.com/plotly/plotly.py/pull/4038)] |
| 24 | + - 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](https://github.com/plotly/plotly.py/pull/4153)] |
| 25 | + - Sanitize JSON output to prevent an XSS vector when graphs are inserted directly into HTML [[#4196](https://github.com/plotly/plotly.py/pull/4196)] |
| 26 | + - Fixed issue with shapes and annotations plotting on the wrong y axis when supplied with a specific axis in the `yref` parameter [[#4177](https://github.com/plotly/plotly.py/pull/4177)] |
| 27 | + - Remove `use_2to3` setuptools arg, which is invalid in the latest Python and setuptools versions [[#4206](https://github.com/plotly/plotly.py/pull/4206)] |
| 28 | + - Fix [#4066](https://github.com/plotly/plotly.py/issues/4066) JupyterLab v4 giving tiny default graph height [[#4227](https://github.com/plotly/plotly.py/pull/4227)] |
| 29 | + - Fixed issue with `colors.n_colors` where generated RGB color values were not being constrained to stay between 0 and 255 [[#4110](https://github.com/plotly/plotly.py/pull/4110)] |
| 30 | + - Fix streamline figure factory with recent versions of Numpy |
5 | 31 |
|
6 |
| -## UNRELEASED |
| 32 | +## [5.14.1] - 2023-04-05 |
| 33 | + |
| 34 | +### Fixed |
| 35 | + - Fixed compatibility issue with Pandas 2.0 [[#4103](https://github.com/plotly/plotly.py/pull/4103)] |
| 36 | + |
| 37 | +## [5.14.0] - 2023-03-29 |
7 | 38 |
|
8 | 39 | ### Updated
|
9 |
| - - `px` methods now accept data-frame-like objects that support a `to_pandas()` method, such as polars, cudf, vaex etc |
| 40 | + - Updated Plotly.js from version 2.18.2 to version 2.20.0. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#2200----2023-03-15) for more information. Notable changes include: |
| 41 | + - Add `title.automargin` to enable automatic top and bottom margining for both container and paper referenced titles [[#6428](https://github.com/plotly/plotly.js/pull/6428)], |
| 42 | + with thanks to [Gamma Technologies](https://www.gtisoft.com/) for sponsoring the related development. |
| 43 | + - Add `label` attribute to shapes [[#6454](https://github.com/plotly/plotly.js/pull/6454)], with thanks to the [Volkswagen](https://www.volkswagenag.com) Center of Excellence for Battery Systems for sponsoring development! |
| 44 | + - Add `labelalias` to various axes namely cartesian, gl3d, polar, smith, ternary, carpet, |
| 45 | + indicator and colorbar [[#6481](https://github.com/plotly/plotly.js/pull/6481)], |
| 46 | + this feature was anonymously sponsored: thank you to our sponsor! |
| 47 | + - Key errors no longer precalculated when performing updates on plots [[#4101](https://github.com/plotly/plotly.py/pull/4101)] |
| 48 | + |
| 49 | +### Fixed |
| 50 | +- Fixed an issue with characters displaying incorrectly, by adding `charset="utf-8"` to scripts in `to_html` [[#4114](https://github.com/plotly/plotly.py/pull/4114)] |
| 51 | +- Added `packaging` to install requirements, fixing a `No module named 'packaging` error on Python 3.6 [[#4113](https://github.com/plotly/plotly.py/pull/4113)] |
| 52 | + |
| 53 | +### Added |
| 54 | +- Added option to allow passing a column name as a `str` in `hover_data` and `custom_data` in `plotly.express` [[4083](https://github.com/plotly/plotly.py/pull/4083)] |
| 55 | + |
| 56 | +## [5.13.1] - 2023-02-24 |
| 57 | + |
| 58 | +### Updated |
| 59 | + - Updated Plotly.js to from version 2.18.0 to version 2.18.2. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#2182----2023-02-15) for more information. These changes are reflected in the auto-generated `plotly.graph_objects` module. |
| 60 | + - Updated distutils.Version to packaging.Version [#3897](https://github.com/plotly/plotly.py/pull/3897)] and [#4055](https://github.com/plotly/plotly.py/pull/4055)] |
| 61 | + |
| 62 | +## [5.13.0] - 2023-01-23 |
| 63 | + |
| 64 | +### Updated |
| 65 | + - Updated Plotly.js to from version 2.17.1 to version 2.18.0. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#2180----2023-01-19) for more information. Notable changes include: |
| 66 | + - Add `sync` tickmode option [[#6356](https://github.com/plotly/plotly.js/pull/6356), [#6443](https://github.com/plotly/plotly.js/pull/6443)], with thanks to @filipesantiagoAM and @VictorBezak for the contribution! |
| 67 | + - Build process now uses Node 18.x and version 2 lockfile (should be an invisible change for users) [[#4034](https://github.com/plotly/plotly.py/pull/4034)] |
| 68 | + |
| 69 | +### Fixed |
| 70 | + - `write_html()` now explicitly encodes output as UTF-8 because Plotly.js' bundle contains such characters [[#4021](https://github.com/plotly/plotly.py/pull/4021)] and [[#4022](https://github.com/plotly/plotly.py/pull/4022)] |
| 71 | + - fixed `iframe` renderer regression from 5.12 and also fixed error when this renderer was used in the very first cell in a notebook [[#4036](https://github.com/plotly/plotly.py/pull/4036)] |
| 72 | + |
10 | 73 |
|
| 74 | +## [5.12.0] - 2023-01-12 |
| 75 | + |
| 76 | +### Updated |
| 77 | + - Support for ipywidgets 8 [[#3930](https://github.com/plotly/plotly.py/pull/3930)] |
| 78 | + - Updated Plotly.js to from version 2.16.1 to version 2.17.1. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#2170----2022-12-22) for more information. Notable changes include: |
| 79 | + - Add `shift` and `autoshift` to cartesian y axes to help avoid overlapping of multiple axes [[#6334](https://github.com/plotly/plotly.js/pull/6334)], |
| 80 | + with thanks to [Gamma Technologies](https://www.gtisoft.com) for sponsoring the related development! |
| 81 | + - Introduce group attributes for `scatter` trace i.e. `alignmentgroup`, `offsetgroup`, `scattermode` and `scattergap` [[#6381](https://github.com/plotly/plotly.js/pull/6381)], |
| 82 | + this feature was anonymously sponsored: thank you to our sponsor! |
| 83 | + - Add `marker.cornerradius` attribute to `treemap` trace [[#6351](https://github.com/plotly/plotly.js/pull/6351)] |
| 84 | +### Fixed |
| 85 | + - Fixed the usage of some deprecated NumPy types which were removed in NumPy 1.24 [[#3997](https://github.com/plotly/plotly.py/pull/3997)] |
| 86 | + - Fixed bug for trendlines with datetime axes [[#3683](https://github.com/plotly/plotly.py/issues/3683)] |
| 87 | + - `marker.angle` attribute now accepts iterables where appropriate [[#4013](https://github.com/plotly/plotly.py/issues/4013)] |
| 88 | + - `selector=0` now correctly returns the first trace in `.select_traces()` and related methods [[#3817](https://github.com/plotly/plotly.py/issues/3817)] |
| 89 | + |
| 90 | +## [5.11.0] - 2022-10-27 |
| 91 | + |
| 92 | +### Updated |
| 93 | + - Updated Plotly.js to from version 2.14.0 to version 2.16.1. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#2161----2022-10-21) for more information. Notable changes include: |
| 94 | + - Add clustering options to `scattermapbox` [[#5827](https://github.com/plotly/plotly.js/pull/5827)], |
| 95 | + with thanks to @elben10 for the contribution! |
| 96 | + - Add bounds to mapbox suplots [[6339](https://github.com/plotly/plotly.js/pull/6339)] |
| 97 | + - Add `angle`, `angleref` and `standoff` to `marker` and add `backoff` to `line`; also introduce new arrow symbols to facilitate drawing networks [[#6297](https://github.com/plotly/plotly.js/pull/6297)] |
| 98 | + - Add `minreducedwidth` and `minreducedheight` to layout for increasing control over automargin [[#6307](https://github.com/plotly/plotly.js/pull/6307)] |
| 99 | + - Add `entrywidth` and `entrywidthmode` to legend [[#6202](https://github.com/plotly/plotly.js/pull/6202), [#6324](https://github.com/plotly/plotly.js/pull/6324)] |
11 | 100 |
|
12 |
| -## [5.10.0] - 2022-08-11 |
| 101 | +## [5.10.0] - 2022-08-11 |
13 | 102 |
|
14 | 103 | ### Updated
|
15 | 104 | - Updated Plotly.js to from version 2.12.1 to version 2.14.0. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#2140----2022-08-10) for more information. Notable changes include:
|
|
0 commit comments