You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+21-3
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,30 @@
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.5.2] - 2020-02-24
6
+
7
+
### Fixed
8
+
9
+
- Fix build errors in JupyterLab extension by pinning version of `@types/plotly.js` (#2223)(https://github.com/plotly/plotly.py/issues/2223)
10
+
11
+
## [4.5.1] - 2020-02-19
12
+
13
+
### Updated
14
+
- 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.
15
+
16
+
### Fixed
17
+
18
+
-`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)
19
+
-`px.defaults` no longer accepts arbitrary keys [#2168](https://github.com/plotly/plotly.py/issues/2168)
20
+
- better error message when `pandas` is not installed [#2125](https://github.com/plotly/plotly.py/issues/2125)
21
+
- 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)
for more information on numerous new attribute and bug fixes.
28
+
- 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.
11
29
- 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)
12
30
- 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)
13
31
- The `simple_white` colorbar styling has been streamlined [#2110](https://github.com/plotly/plotly.py/pull/2110)
Copy file name to clipboardExpand all lines: contributing.md
+73-33
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ Check out our Support App: https://support.plot.ly/libraries/python or Community
16
16
17
17
## Want to improve the plotly documentation?
18
18
19
-
Thank you! Instructions on how to contribute to the documentation are given [here](doc/contributing.md). Please also read the next section if you need to setup a development environment.
19
+
Thank you! Instructions on how to contribute to the documentation are given [here](doc/contributing.md). Please also read the next section if you need to setup a development environment.
20
20
21
21
## Setup a Development Environment
22
22
@@ -57,7 +57,7 @@ conda activate plotly-dev
57
57
### ipywidgets development install
58
58
59
59
Run the following commands in your virtual environment to use the
This repo uses the [Black](https://black.readthedocs.io/en/stable/) code formatter,
72
72
and the [pre-commit](https://pre-commit.com/) library to manage a git commit hook to
@@ -79,7 +79,7 @@ environment.
79
79
80
80
```bash
81
81
(plotly_dev) $ pre-commit install
82
-
```
82
+
```
83
83
84
84
Now, whenever you perform a commit, the Black formatter will run. If the formatter
85
85
makes no changes, then the commit will proceed. But if the formatter does make changes,
@@ -110,16 +110,16 @@ Once you've made your changes (and hopefully written some tests...), make that p
110
110
111
111
112
112
## Update to a new version of Plotly.js
113
-
First update the version of the `plotly.js` dependency in `js/package.json`.
113
+
First update the version of the `plotly.js` dependency in `packages/javascript/plotlywidget/package.json`.
114
114
115
115
Then run the `updateplotlyjs` command with:
116
116
117
117
```bash
118
118
$ python setup.py updateplotlyjs
119
119
```
120
120
121
-
This will download new versions of `plot-schema.json` and `plotly.min.js` from
122
-
the `plotly/plotly.js` GitHub repository (and place them in
121
+
This will download new versions of `plot-schema.json` and `plotly.min.js` from
122
+
the `plotly/plotly.js` GitHub repository (and place them in
123
123
`plotly/package_data`). It will then regenerate all of the `graph_objs`
124
124
classes based on the new schema.
125
125
@@ -205,15 +205,15 @@ You're *strongly* encouraged to write tests that check your added functionality.
205
205
206
206
When you write a new test anywhere under the `tests` directory, if your PR gets accepted, that test will run in a virtual machine to ensure that future changes don't break your contributions!
207
207
208
-
Test accounts include: `PythonTest`, `PlotlyImageTest`, and `PlotlyStageTest`.
208
+
Test accounts include: `PythonTest`, `PlotlyImageTest`, and `PlotlyStageTest`.
209
209
210
210
## Release process - plotly package
211
211
212
212
This is the release process for releasing `plotly.py` version `X.Y.Z` with
213
-
`plotlywidget` version `A.B.C`.
213
+
`plotlywidget`/`jupyterlab-plotly` version `A.B.C`.
214
214
215
215
Note: The `plotlywidget` instructions must be followed if any change
216
-
has been made in the `js/` directory source code, OR if the version of
216
+
has been made in the `packages/javascript` directory source code, OR if the version of
217
217
plotly.js has been updated. If neither of these is the case, there's no need
218
218
to increment the `plotlywidget` version or to publish a new version to npm.
219
219
@@ -235,7 +235,7 @@ noteable changes as sub-bullets (new trace types in particular), and provide
235
235
a link to the plotly.js CHANGELOG.
236
236
237
237
As the first entry in the changelog, include a `JupyterLab Versions` section.
238
-
Here, document the versions of `plotlywidget`,
238
+
Here, document the versions of `plotlywidget`,
239
239
`@jupyter-widgets/jupyterlab-manager`, `jupyterlab`, and
240
240
`@jupyterlab/plotly-extension` that are known to be compatible with this
241
241
version of `plotly.py`.
@@ -253,7 +253,9 @@ Note that the conda installation instructions must include
253
253
"-c plotly/lable/test" rather than "-c plotly" in order to install the
254
254
release candidate version.
255
255
256
-
Commit Changelog and README updates.
256
+
Update the `doc/python/getting-started.md` file with the same version numbers.
257
+
258
+
Commit Changelog, README and getting-started updates.
257
259
258
260
### Bump to release candidate version
259
261
1) Manually update the plotlywidget version to `A.B.C-rc.1` in the files
@@ -263,17 +265,21 @@ specified below.
263
265
+ Update `__frontend_version__` to `^A.B.C-rc.1` (Note the `^` prefix)
0 commit comments