|
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 | | -## [4.10.0] - unreleased |
| 5 | +## [4.13.0] - UNRELEASED |
| 6 | + |
| 7 | +### Added |
| 8 | + |
| 9 | +- `go.Figure` now has a `set_subplots` method to set subplots on an already |
| 10 | + existing figure. |
| 11 | +- Added `Turbo` colorscale |
| 12 | + |
| 13 | + |
| 14 | +## [4.12.1] - UNRELEASED |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | +## [4.12.0] - 2020-10-23 |
| 19 | + |
| 20 | +### Added |
| 21 | + |
| 22 | +- For `add_trace`, `add_shape`, `add_annotation` and `add_layout_image`, the `row` and/or `col` argument now also accept the string `"all"`. `row="all"` adds the object to all the subplot rows and `col="all"` adds the object to all the subplot columns. ([#2840](https://github.com/plotly/plotly.py/pull/2840)) |
| 23 | +- Shapes that reference the plot axes in one dimension and the data in another dimension can be added with the new `add_hline`, `add_vline`, `add_hrect`, `add_vrect` functions, which also support the `row="all"` and `col="all"` arguments. ([#2840](https://github.com/plotly/plotly.py/pull/2840)) |
| 24 | +- The `add_trace`, `add_shape`, `add_annotation`, `add_layout_image`, `add_hline`, `add_vline`, `add_hrect`, `add_vrect` functions accept an argument `exclude_empty_subplots` which if `True`, only adds the object to subplots already containing traces or layout objects. This is useful in conjunction with the `row="all"` and `col="all"` arguments. ([#2840](https://github.com/plotly/plotly.py/pull/2840)) |
| 25 | +- For all `go.Figure` functions accepting a selector argument (e.g., `select_traces`), this argument can now also be a function which is passed each relevant graph object (in the case of `select_traces`, it is passed every trace in the figure). For graph objects where this function returns true, the graph object is included in the selection. ([#2844](https://github.com/plotly/plotly.py/pull/2844)) |
| 26 | + |
| 27 | +### Added |
| 28 | + |
| 29 | +- Better magic underscore error messages. For example, `some_fig.update_layout(geo_ltaxis_showgrid=True)` shows `Bad property path:\ngeo_ltaxis_showgrid\n ^` and lists the valid properties for `geo`. |
| 30 | + |
| 31 | +### Updated |
| 32 | + |
| 33 | +- Updated Plotly.js to version 1.57.1. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/v1.57.1/CHANGELOG.md) for more information. These changes are reflected in the auto-generated `plotly.graph_objects` module. |
| 34 | + |
| 35 | +## [4.11.0] - 2020-10-01 |
| 36 | + |
| 37 | +### Updated |
| 38 | + |
| 39 | +- Updated Plotly.js to version 1.56.0. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/v1.56.0/CHANGELOG.md) for more information. These changes are reflected in the auto-generated `plotly.graph_objects` module. |
| 40 | + |
| 41 | +## [4.10.0] - 2020-09-10 |
6 | 42 |
|
7 | 43 | ### Added |
8 | 44 |
|
9 | 45 | - Added `plotly.io.full_figure_for_development()` and `plotly.graph_objects.Figure.full_figure_for_development()` ([#2737](https://github.com/plotly/plotly.py/pull/2737)) |
10 | 46 |
|
11 | 47 | ### Updated |
12 | 48 |
|
| 49 | +- The JSON serialization of plotly figures had been accelerated by handling |
| 50 | + differently figures with and without NaN and Inf values ([#2880](https://github.com/plotly/plotly.py/pull/2880)). |
| 51 | + |
| 52 | +### Updated |
| 53 | + |
| 54 | +- Updated Plotly.js to version 1.55.2. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/v1.55.2/CHANGELOG.md) for more information. These changes are reflected in the auto-generated `plotly.graph_objects` module. |
13 | 55 | - `px.imshow` has a new `binary_string` boolean argument, which passes the |
14 | 56 | image data as a b64 binary string when True. Using binary strings allow for |
15 | 57 | faster image rendering and smaller figure size. Additional optional arguments |
16 | 58 | `binary_backend`, `binary_format` and `binary_compression_level` control |
17 | 59 | how to generate the b64 string ([#2691](https://github.com/plotly/plotly.py/pull/2691) |
18 | 60 | - `px.imshow` has a new `constrast_rescaling` argument in order to choose how |
19 | | - to set data values corresponding to the bounds of the color range |
| 61 | + to set data values corresponding to the bounds of the color range |
20 | 62 | ([#2691](https://github.com/plotly/plotly.py/pull/2691) |
21 | 63 |
|
| 64 | +### Fixed |
| 65 | + |
| 66 | +- Plotly Express no longer converts datetime columns of input dataframes to UTC ([#2749](https://github.com/plotly/plotly.py/pull/2749)) |
| 67 | +- Plotly Express has more complete support for datetimes as additional `hover_data` ([#2749](https://github.com/plotly/plotly.py/pull/2749)) |
| 68 | +- Histogram selection behaviour with `FigureWidget` ([#2711](https://github.com/plotly/plotly.py/pull/2711)) with thanks to [@meffmadd](https://github.com/meffmadd) |
| 69 | +- Behaviour of `full_html()` with `html=False` ([#2469](https://github.com/plotly/plotly.py/pull/2469)) with thanks to [@tallamjr](https://github.com/tallamjr) |
| 70 | +- `ff.distplot()` now only computes traces that will be shown ([#2730](https://github.com/plotly/plotly.py/pull/2730)) with thanks to [@akbo](https://github.com/akbo) |
| 71 | +- Pandas backend `.hist()` works with latest version of Pandas ([#2713](https://github.com/plotly/plotly.py/pull/2713)) with thanks to [@Kerybas](https://github.com/Kerybas) |
| 72 | + |
| 73 | + |
22 | 74 | ## [4.9.0] - 2020-07-16 |
23 | 75 |
|
24 | 76 | ### Added |
|
0 commit comments