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
+12-6
Original file line number
Diff line number
Diff line change
@@ -2,22 +2,28 @@
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.15.0] - UNRELEASED
6
5
7
-
### Added
6
+
##[4.14.3] - 2021-01-12
8
7
9
8
### Fixed
10
9
11
-
### Updated
10
+
-`px.timeline()` now allows `hover_data` formatting of start and end times [3018](https://github.com/plotly/plotly.py/pull/3018)
11
+
- Small change to packaging of `plotlywidget` extension for JupyterLab 3 [3021](https://github.com/plotly/plotly.py/pull/3021)
12
12
13
+
## [4.14.2] - 2021-01-11
13
14
14
-
##[4.14.2] - UNRELEASED
15
+
### Updated
15
16
16
-
### Added
17
+
- JupyterLab extensions now compatible with JupyterLab 3.x [3016](https://github.com/plotly/plotly.py/pull/3016)
18
+
- 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:
19
+
- fixes for rendering 3d plots on recent Safari versions
20
+
- fixes to inside ticklabels
21
+
- regression fixes
17
22
18
23
### Fixed
19
24
20
-
### Updated
25
+
-`px.histogram()` Y-axis labels now take into account `histnorm` and `barnorm`[2989](https://github.com/plotly/plotly.py/pull/2989)
26
+
-`px.histogram()``marginal` and `facet_*` now work correctly together [3014](https://github.com/plotly/plotly.py/pull/3014)
Copy file name to clipboardExpand all lines: README.md
+15-15
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 notebook](https://jupyter.org/install) (installable with `pip install "notebook>=5.3" "ipywidgets>=7.5"`):
43
43
44
44
```python
45
45
import plotly.graph_objects as go
@@ -86,53 +86,53 @@ 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
98
### Jupyter Notebook Support
99
99
100
100
For use in the Jupyter Notebook, install the `notebook` and `ipywidgets`
101
-
packages using pip...
101
+
packages using `pip`:
102
102
103
103
```
104
-
pip install "notebook>=5.3" "ipywidgets==7.5"
104
+
pip install "notebook>=5.3" "ipywidgets>=7.5"
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 "notebook>=5.3" "ipywidgets>=7.5"
111
111
```
112
112
113
-
### JupyterLab Support (Python 3.5+)
113
+
### JupyterLab Support
114
114
115
115
For use in JupyterLab, install the `jupyterlab` and `ipywidgets`
116
-
packages using pip...
116
+
packages using `pip`:
117
117
118
118
```
119
-
pip install jupyterlab "ipywidgets==7.5"
119
+
pip install jupyterlab "ipywidgets>=7.5"
120
120
```
121
121
122
-
or conda.
122
+
or `conda`:
123
123
124
124
```
125
-
conda install jupyterlab "ipywidgets=7.5"
125
+
conda install jupyterlab "ipywidgets>=7.5"
126
126
```
127
127
128
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: doc/python/builtin-colorscales.md
+15-2
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ jupyter:
6
6
extension: .md
7
7
format_name: markdown
8
8
format_version: '1.2'
9
-
jupytext_version: 1.4.2
9
+
jupytext_version: 1.6.0
10
10
kernelspec:
11
11
display_name: Python 3
12
12
language: python
@@ -20,7 +20,7 @@ jupyter:
20
20
name: python
21
21
nbconvert_exporter: python
22
22
pygments_lexer: ipython3
23
-
version: 3.7.7
23
+
version: 3.7.6
24
24
plotly:
25
25
description: A reference for the built-in named continuous (sequential, diverging
26
26
and cylclical) color scales in Plotly.
@@ -74,6 +74,19 @@ import plotly.express as px
74
74
print(px.colors.sequential.Plasma)
75
75
```
76
76
77
+
### Continuous Color Scales in Dash
78
+
79
+
[Dash](https://plotly.com/dash/) is the best way to build analytical apps in Python using Plotly figures. To run the app below, run `pip install dash`, click "Download" to get the code and run `python app.py`.
80
+
81
+
Get started with [the official Dash docs](https://dash.plotly.com/installation) and **learn how to effortlessly [style](https://plotly.com/dash/design-kit/) & [deploy](https://plotly.com/dash/app-manager/) apps like this with <aclass="plotly-red"href="https://plotly.com/dash/">Dash Enterprise</a>.**
A collection of predefined sequential colorscales is provided in the `plotly.colors.sequential` module. Sequential color scales are appropriate for most continuous data, but in some cases it can be helpful to use a diverging or cyclical color scale (see below).
For use in the classic [Jupyter Notebook](https://jupyter.org/), install the `notebook` and `ipywidgets`
101
-
packages using pip...
101
+
packages using `pip`:
102
102
103
103
```
104
-
$ pip install "notebook>=5.3" "ipywidgets>=7.2"
104
+
$ pip install "notebook>=5.3" "ipywidgets>=7.5"
105
105
```
106
106
107
-
or conda.
107
+
or `conda`:
108
108
109
109
```
110
-
$ conda install "notebook>=5.3" "ipywidgets>=7.2"
110
+
$ conda install "notebook>=5.3" "ipywidgets>=7.5"
111
111
```
112
112
113
113
These packages contain everything you need to run a Jupyter notebook...
@@ -138,29 +138,29 @@ fig
138
138
139
139
See [_Displaying Figures in Python_](/python/renderers/) for more information on the renderers framework, and see [_Plotly FigureWidget Overview_](/python/figurewidget/) for more information on using `FigureWidget`.
140
140
141
-
#### JupyterLab Support (Python 3.5+)
141
+
#### JupyterLab Support
142
142
143
143
For use in [JupyterLab](https://jupyterlab.readthedocs.io/en/stable/), install the `jupyterlab` and `ipywidgets`
144
-
packages using pip...
144
+
packages using `pip`:
145
145
146
146
```
147
147
$ pip install jupyterlab "ipywidgets>=7.5"
148
148
```
149
149
150
-
or conda.
150
+
or `conda`:
151
151
152
152
```
153
-
$ conda install jupyterlab "ipywidgets=7.5"
153
+
$ conda install jupyterlab "ipywidgets>=7.5"
154
154
```
155
155
156
156
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: doc/python/heatmaps.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -102,7 +102,7 @@ fig.show()
102
102
103
103
### Heatmap with Categorical Axis Labels
104
104
105
-
In this example we also show how to ignore [hovertext](https://plotly.com/python/hover-text-and-formatting/) when we have [missing values](https://plotly.com/python/missing_values) in the data by setting the [hoverongaps](https://plotly.com/python/reference/heatmap/#heatmap-hoverongaps) to False.
105
+
In this example we also show how to ignore [hovertext](https://plotly.com/python/hover-text-and-formatting/) when we have missing values in the data by setting the [hoverongaps](https://plotly.com/python/reference/heatmap/#heatmap-hoverongaps) to False.
[Dash](https://plotly.com/dash/) is the best way to build analytical apps in Python using Plotly figures. To run the app below, run `pip install dash`, click "Download" to get the code and run `python app.py`.
73
+
74
+
Get started with [the official Dash docs](https://dash.plotly.com/installation) and **learn how to effortlessly [style](https://plotly.com/dash/design-kit/) & [deploy](https://plotly.com/dash/app-manager/) apps like this with <aclass="plotly-red"href="https://plotly.com/dash/">Dash Enterprise</a>.**
Copy file name to clipboardExpand all lines: doc/python/hover-text-and-formatting.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ jupyter:
34
34
35
35
### Hover Labels
36
36
37
-
One of the most deceptively-power features of interactive visualization using Plotly is the ability for the user to reveal more information about a data point by moving their mouse cursor over the point and having a hover label appear.
37
+
One of the most deceptively-powerful features of interactive visualization using Plotly is the ability for the user to reveal more information about a data point by moving their mouse cursor over the point and having a hover label appear.
38
38
39
39
There are three hover modes available in Plotly. The default setting is `layout.hovermode='closest'`, wherein a single hover label appears for the point directly underneath the cursor.
By default, the resulting HTML file is a fully self-contained HTML file which can be uploaded to a web server or shared via email or other file-sharing mechanisms. The downside to this approach is that the file is very large (5Mb+) because it contains an inlined copy of the Plotly.js library required to make the figure interactive. This can be controlled via the `include_plotlyjs` argument (see below).
57
57
58
58
59
+
### HTML export in Dash
60
+
61
+
[Dash](https://plotly.com/dash/) is the best way to build analytical apps in Python using Plotly figures. To run the app below, run `pip install dash`, click "Download" to get the code and run `python app.py`.
62
+
63
+
Get started with [the official Dash docs](https://dash.plotly.com/installation) and **learn how to effortlessly [style](https://plotly.com/dash/design-kit/) & [deploy](https://plotly.com/dash/app-manager/) apps like this with <aclass="plotly-red"href="https://plotly.com/dash/">Dash Enterprise</a>.**
[Dash](https://plotly.com/dash/) is the best way to build analytical apps in Python using Plotly figures. To run the app below, run `pip install dash`, click "Download" to get the code and run `python app.py`.
113
+
114
+
Get started with [the official Dash docs](https://dash.plotly.com/installation) and **learn how to effortlessly [style](https://plotly.com/dash/design-kit/) & [deploy](https://plotly.com/dash/app-manager/) apps like this with <aclass="plotly-red"href="https://plotly.com/dash/">Dash Enterprise</a>.**
If the GeoJSON you are using either does not have an `id` field or you wish you use one of the keys in the `properties` field, you may use the `featureidkey` parameter to specify where to match the values of `locations`.
0 commit comments