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
-`px.timeline()` now allows `hover_data` formatting of start and end times [3018](https://github.com/plotly/plotly.py/pull/3018)
16
+
- Small change to packaging of `plotlywidget` extension for JupyterLab 3 [3021](https://github.com/plotly/plotly.py/pull/3021)
17
17
18
+
## [4.14.2] - 2021-01-11
18
19
19
-
##[4.14.2] - UNRELEASED
20
+
### Updated
20
21
21
-
### Added
22
+
- JupyterLab extensions now compatible with JupyterLab 3.x [3016](https://github.com/plotly/plotly.py/pull/3016)
23
+
- Updated Plotly.js to version 1.58.4. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/v1.58.4/CHANGELOG.md) for more information. These changes are reflected in the auto-generated `plotly.graph_objects` module. Notable changes include:
24
+
- fixes for rendering 3d plots on recent Safari versions
25
+
- fixes to inside ticklabels
26
+
- regression fixes
22
27
23
28
### Fixed
24
29
25
-
### Updated
30
+
-`px.histogram()` Y-axis labels now take into account `histnorm` and `barnorm`[2989](https://github.com/plotly/plotly.py/pull/2989)
31
+
-`px.histogram()``marginal` and `facet_*` now work correctly together [3014](https://github.com/plotly/plotly.py/pull/3014)
26
32
27
33
28
34
## [4.14.1] - 2020-12-09
@@ -134,7 +140,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
134
140
faster image rendering and smaller figure size. Additional optional arguments
135
141
`binary_backend`, `binary_format` and `binary_compression_level` control
136
142
how to generate the b64 string ([#2691](https://github.com/plotly/plotly.py/pull/2691)
137
-
-`px.imshow` has a new `constrast_rescaling` argument in order to choose how
143
+
-`px.imshow` has a new `contrast_rescaling` argument in order to choose how
138
144
to set data values corresponding to the bounds of the color range
@@ -238,7 +244,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
238
244
239
245
### Added
240
246
241
-
- The `hover_data` parameter of `px` functions can now be a dictionary. This makes it possible to skip hover information for some arguments or to change the formatting of hover informatiom[#2377](https://github.com/plotly/plotly.py/pull/2377).
247
+
- The `hover_data` parameter of `px` functions can now be a dictionary. This makes it possible to skip hover information for some arguments or to change the formatting of hover information[#2377](https://github.com/plotly/plotly.py/pull/2377).
242
248
- It's now possible to build a development version of Plotly.py against the build artifacts from a non-`master` branch of Plotly.js, which makes for faster QA and development cycles [#2349](https://github.com/plotly/plotly.py/pull/2349). Thanks [@zouhairm](https://github.com/zouhairm) for this Pull Request!
243
249
244
250
### Fixed
@@ -251,7 +257,7 @@ This version includes several performance improvements ([#2368](https://github.c
251
257
252
258
- Child graph objects (e.g. `figure.layout.xaxis`) are no longer created eagerly during graph object construction. Instead, they are created lazily the first time the property is accessed.
253
259
- Property validation is now disabled for select internal operations.
254
-
- When used with Python 3.7 and above, ploty.py now takes advantage of [PEP-562](https://www.python.org/dev/peps/pep-0562/) to perform submodule imports lazily. This dramatically improves import times.
260
+
- When used with Python 3.7 and above, plotly.py now takes advantage of [PEP-562](https://www.python.org/dev/peps/pep-0562/) to perform submodule imports lazily. This dramatically improves import times.
255
261
256
262
## [4.6.0] - 2020-03-31
257
263
@@ -289,7 +295,7 @@ This version includes several performance improvements ([#2368](https://github.c
289
295
290
296
- Jupyterlab extension now compatible with both Jupyterlab 1.2 and 2.0 [#2261](https://github.com/plotly/plotly.py/pull/2261) with thanks to [@consideRatio](https://github.com/consideRatio) for the contribution!
291
297
- Fixed a bug when using boolean values for the color argument of px functions [#2127](https://github.com/plotly/plotly.py/pull/2127)
292
-
- Corrected import bug which was occuring with old versions of ipywidgets [#2265](https://github.com/plotly/plotly.py/pull/2265)
298
+
- Corrected import bug which was occurring with old versions of ipywidgets [#2265](https://github.com/plotly/plotly.py/pull/2265)
293
299
- Fixed python 3.8 syntax warning [#2262](https://github.com/plotly/plotly.py/pull/2262), with thanks to [@sgn](https://github.com/sgn) for the contribution!
294
300
295
301
## [4.5.3] - 2020-03-05
@@ -364,7 +370,7 @@ This version includes several performance improvements ([#2368](https://github.c
364
370
for more information
365
371
- The tutorials of the [plotly.py documentation](https://plot.ly/python/) are
366
372
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!
367
-
-`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 arguement to any `px.function()` to 600.
373
+
-`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.
- The width of a figure produced by the `create_gantt` figure factory now resizes responsively ([#1724](https://github.com/plotly/plotly.py/pull/1724))
439
445
440
446
### Fixed
441
-
- The name of the steps property of `graph_objects.indicator.Guage` has been renamed from `stepss` to `steps`
447
+
- The name of the steps property of `graph_objects.indicator.Gauge` has been renamed from `stepss` to `steps`
442
448
- Avoid crash in iframe renderers when running outside iPython ([#1723](https://github.com/plotly/plotly.py/pull/1723))
443
449
444
450
## [4.1.0] - 2019-08-06
@@ -490,7 +496,7 @@ This is a major release that includes many new features, and a few breaking chan
490
496
- Added support for all trace types in `make_subplots` ([#1528](https://github.com/plotly/plotly.py/pull/1528))
491
497
- Added support for secondary y-axes in `make_subplots` ([#1564](https://github.com/plotly/plotly.py/pull/1564))
492
498
- 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))
493
-
- Added dictionary-stule`.pop` method to graph object classes ([#1614](https://github.com/plotly/plotly.py/pull/1614))
499
+
- Added dictionary-style`.pop` method to graph object classes ([#1614](https://github.com/plotly/plotly.py/pull/1614))
494
500
- New `jupyterlab-plotly` JupyterLab extension for rendering figures in JupyterLab. Replaces the `@jupyterlab/plotly-extension` extension, and includes JupyterLab 1.0 support.
495
501
- 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)).
496
502
- 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)).
@@ -1095,7 +1101,7 @@ must be installed:
1095
1101
properties are ignored rather than causing an exception.
1096
1102
- A `to_ordered_dict` method has been added to the `Figure` and `FigureWidget`
1097
1103
classes. This method returns a representation of the figure as a nested
1098
-
structure of `OrdererdDict` and `list` instances where the keys in each
1104
+
structure of `OrderedDict` and `list` instances where the keys in each
1099
1105
`OrderedDict` are sorted alphabetically. This method replaces the
1100
1106
`get_ordered` method that was available in version 2, and makes it possible
1101
1107
to traverse the nested structure of a figure in a deterministic order.
@@ -1516,7 +1522,7 @@ gone.
1516
1522
## [1.12.10] - 2016-11-28
1517
1523
### Updated
1518
1524
-`FF.create_violin` and `FF.create_scatterplotmatrix` now by default do not print subplot grid information in output
1519
-
- Removed alert that occured when downloading plot images offline. Please note: for higher resolution images and more export options, consider making requests to our image servers. See: `help(py.image)` for more details.
1525
+
- Removed alert that occurred when downloading plot images offline. Please note: for higher resolution images and more export options, consider making requests to our image servers. See: `help(py.image)` for more details.
1520
1526
1521
1527
### Added
1522
1528
- Plot configuration options for offline plots. See the list of [configuration options](https://github.com/Rikorose/plotly.py/blob/master/plotly/offline/offline.py#L189) and [examples](https://plot.ly/javascript/configuration-options/) for more information.
Copy file name to clipboardExpand all lines: README.md
+25-25
Original file line number
Diff line number
Diff line change
@@ -37,9 +37,9 @@ Our recommended IDE for Plotly’s Python graphing library is Dash Enterprise’
37
37
38
38
## Quickstart
39
39
40
-
`pip install plotly==4.14.1`
40
+
`pip install plotly==4.14.3`
41
41
42
-
Inside [Jupyter notebook](https://jupyter.org/install) (installable with `pip install "notebook>=5.3" "ipywidgets>=7.2"`):
42
+
Inside [Jupyter](https://jupyter.org/install) (installable with `pip install "jupyterlab>=3" "ipywidgets>=7.6"`):
43
43
44
44
```python
45
45
import plotly.graph_objects as go
@@ -86,57 +86,57 @@ Built on top of [plotly.js](https://github.com/plotly/plotly.js), `plotly.py` is
86
86
plotly.py may be installed using pip...
87
87
88
88
```
89
-
pip install plotly==4.14.1
89
+
pip install plotly==4.14.3
90
90
```
91
91
92
92
or conda.
93
93
94
94
```
95
-
conda install -c plotly plotly=4.14.1
95
+
conda install -c plotly plotly=4.14.3
96
96
```
97
97
98
-
### Jupyter Notebook Support
98
+
### JupyterLab Support
99
99
100
-
For use in the Jupyter Notebook, install the `notebook` and `ipywidgets`
101
-
packages using pip...
100
+
For use in JupyterLab, install the `jupyterlab` and `ipywidgets`
101
+
packages using `pip`:
102
102
103
103
```
104
-
pip install "notebook>=5.3" "ipywidgets==7.5"
104
+
pip install jupyterlab>=3 "ipywidgets>=7.6"
105
105
```
106
106
107
-
or conda.
107
+
or `conda`:
108
108
109
109
```
110
-
conda install "notebook>=5.3" "ipywidgets=7.5"
110
+
conda install jupyterlab>=3 "ipywidgets>=7.6"
111
111
```
112
112
113
-
### JupyterLab Support (Python 3.5+)
114
-
115
-
For use in JupyterLab, install the `jupyterlab` and `ipywidgets`
116
-
packages using pip...
113
+
For JupyterLab 2 or earlier, run the following commands to install the required JupyterLab extensions (note that this will require [`node`](https://nodejs.org/) to be installed):
Please check out our [Troubleshooting guide](https://plotly.com/python/troubleshooting/) if you run into any problems with JupyterLab.
124
+
125
+
### Jupyter Notebook Support
126
+
127
+
For use in the Jupyter Notebook, install the `notebook` and `ipywidgets`
128
+
packages using `pip`:
123
129
124
130
```
125
-
conda install jupyterlab "ipywidgets=7.5"
131
+
pip install "notebook>=5.3" "ipywidgets>=7.5"
126
132
```
127
133
128
-
Then run the following commands to install the required JupyterLab extensions (note that this will require [`node`](https://nodejs.org/) to be installed):
Copy file name to clipboardExpand all lines: contributing.md
+2-7
Original file line number
Diff line number
Diff line change
@@ -238,12 +238,7 @@ the `plotly/plotly.js` GitHub repository (and place them in
238
238
`plotly/package_data`). It will then regenerate all of the `graph_objs`
239
239
classes based on the new schema.
240
240
241
-
For dev branches, it is also possible to use `updateplotlyjsdev --devrepo reponame --devbranch branchname` to update to development versions of `plotly.js`. This will fetch the `plotly.js` in the CircleCI artifact of the branch `branchname` of the repo `reponame`. If `--devrepo` or `--devbranch` are omitted, `updateplotlyjsdev` defaults using `plotly/plotly.js` and `master` respectively. For example, to update to a version from a pull request to the `plotly/plotly.js` repo that is numbered 555, run:
For dev branches, it is also possible to use `updateplotlyjsdev --devrepo reponame --devbranch branchname` to update to development versions of `plotly.js`. This will fetch the `plotly.js` in the CircleCI artifact of the branch `branchname` of the repo `reponame`. If `--devrepo` or `--devbranch` are omitted, `updateplotlyjsdev` defaults using `plotly/plotly.js` and `master` respectively.
This example shows how to use [bingroup](https://plotly.com/python/reference/histogram/#histogram-bingroup) attribute to have a compatible bin settings for both histograms. To define `start`, `end` and `size` value of x-axis and y-axis seperatly, set [ybins](https://plotly.com/python/reference/histogram2dcontour/#histogram2dcontour-ybins) and `xbins`.
140
+
This example shows how to use [bingroup](https://plotly.com/python/reference/histogram/#histogram-bingroup) attribute to have a compatible bin settings for both histograms. To define `start`, `end` and `size` value of x-axis and y-axis separately, set [ybins](https://plotly.com/python/reference/histogram2dcontour/#histogram2dcontour-ybins) and `xbins`.
Here we visualize slices parallel to the axes on top of isosurfaces. For a clearer visualization, the `fill` ratio of isosurfaces is decreased below 1 (completely filled).
136
136
@@ -235,4 +235,4 @@ fig.show()
235
235
```
236
236
237
237
#### Reference
238
-
See https://plotly.com/python/reference/isosurface/ for more information and chart attribute options!
238
+
See https://plotly.com/python/reference/isosurface/ for more information and chart attribute options!
0 commit comments