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: .github/pull_request_template.md
+1
Original file line number
Diff line number
Diff line change
@@ -33,5 +33,6 @@ below :-).
33
33
- [ ] For a new feature, I have added documentation examples in an existing or
34
34
new tutorial notebook (please see the doc checklist as well).
35
35
- [ ] I have added a CHANGELOG entry if fixing/changing/adding anything substantial.
36
+
- [ ] For a new feature or a change in behaviour, I have updated the relevant docstrings in the code to describe the feature or behaviour (please see the doc checklist as well).
Copy file name to clipboardExpand all lines: CHANGELOG.md
+107
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,108 @@
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
+
7
+
### Added
8
+
9
+
### Fixed
10
+
11
+
### Updated
12
+
13
+
14
+
## [4.14.2] - UNRELEASED
15
+
16
+
### Added
17
+
18
+
### Fixed
19
+
20
+
### Updated
21
+
22
+
23
+
## [4.14.1] - 2020-12-09
24
+
25
+
### Updated
26
+
27
+
- Updated Plotly.js to version 1.58.2. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/v1.58.0/CHANGELOG.md) for more information. These changes are reflected in the auto-generated `plotly.graph_objects` module. Notable changes include:
28
+
- fixes for new `ticklabelposition` attribute
29
+
- fixes for a regression related to treemaps in the previous version
30
+
31
+
32
+
## [4.14.0] - 2020-12-07
33
+
34
+
### Added
35
+
36
+
-`px.imshow` now supports `facet_col` and `animation_frame` arguments for visualizing 3-d and 4-d images [2746](https://github.com/plotly/plotly.py/pull/2746)
37
+
-`px.defaults` now supports `color_discrete_map`, `symbol_map`, `line_dash_map`, `labels` and `category_orders` as well as a `.reset()` method [2957](https://github.com/plotly/plotly.py/pull/2957)
38
+
39
+
### Fixed
40
+
41
+
- axes will now auto-type numeric strings as categorical data rather than linear in the default templates [2951](https://github.com/plotly/plotly.py/pull/2951)
42
+
43
+
### Updated
44
+
45
+
- Updated Plotly.js to version 1.58.1. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/v1.58.0/CHANGELOG.md) for more information. These changes are reflected in the auto-generated `plotly.graph_objects` module. Notable changes include:
46
+
- a new `ticklabelposition` attribute to enable positioning tick labels inside the plotting area
47
+
- better support for `scaleanchor` and `matches` on cartesian axes for matched square subplots
48
+
- a new `autotypenumbers` attribute which is now set to `strict` in the default templates
49
+
- various fixes relating to `automargins` for small figures
50
+
51
+
52
+
## [4.13.0] - 2020-11-23
53
+
54
+
### Added
55
+
-`px.choropleth`, `px.scatter_geo` and `px.line_geo` now support faceting as well as `fitbounds` and `basemap_visible`[2923](https://github.com/plotly/plotly.py/pull/2923)
56
+
-`px.scatter_geo` and `px.line_geo` now support `geojson`/`featureidkey` input [2923](https://github.com/plotly/plotly.py/pull/2923)
57
+
-`px.scatter_geo` now supports `symbol`[2923](https://github.com/plotly/plotly.py/pull/2923)
58
+
-`go.Figure` now has a `set_subplots` method to set subplots on an already
-`px.scatter_geo` support for `text` is fixed [2923](https://github.com/plotly/plotly.py/pull/2923)
84
+
- the `x` and `y` parameters of `px.imshow` are now used also in the case where
85
+
an Image trace is used (for RGB data or with `binary_string=True`). However,
86
+
only numerical values are accepted (while the Heatmap trace allows date or
87
+
string values for `x` and `y`). [2761](https://github.com/plotly/plotly.py/pull/2761)
88
+
89
+
90
+
## [4.12.0] - 2020-10-23
91
+
92
+
### Added
93
+
94
+
- 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))
95
+
- 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))
96
+
- 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))
97
+
- 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))
98
+
99
+
### Added
100
+
101
+
- 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`.
102
+
103
+
### Updated
104
+
105
+
- 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.
106
+
5
107
## [4.11.0] - 2020-10-01
6
108
7
109
### Updated
@@ -16,6 +118,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).
16
118
17
119
### Updated
18
120
121
+
- The JSON serialization of plotly figures had been accelerated by handling
122
+
differently figures with and without NaN and Inf values ([#2880](https://github.com/plotly/plotly.py/pull/2880)).
123
+
124
+
### Updated
125
+
19
126
- 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.
20
127
-`px.imshow` has a new `binary_string` boolean argument, which passes the
21
128
image data as a b64 binary string when True. Using binary strings allow for
Copy file name to clipboardExpand all lines: README.md
+13-9
Original file line number
Diff line number
Diff line change
@@ -31,9 +31,13 @@
31
31
</tr>
32
32
</table>
33
33
34
+
## Data Science Workspaces
35
+
36
+
Our recommended IDE for Plotly’s Python graphing library is Dash Enterprise’s [Data Science Workspaces](https://plotly.com/dash/workspaces/), which has both Jupyter notebook and Python code file support.
37
+
34
38
## Quickstart
35
39
36
-
`pip install plotly==4.11.0`
40
+
`pip install plotly==4.14.1`
37
41
38
42
Inside [Jupyter notebook](https://jupyter.org/install) (installable with `pip install "notebook>=5.3" "ipywidgets>=7.2"`):
39
43
@@ -82,13 +86,13 @@ Built on top of [plotly.js](https://github.com/plotly/plotly.js), `plotly.py` is
82
86
plotly.py may be installed using pip...
83
87
84
88
```
85
-
pip install plotly==4.11.0
89
+
pip install plotly==4.14.1
86
90
```
87
91
88
92
or conda.
89
93
90
94
```
91
-
conda install -c plotly plotly=4.11.0
95
+
conda install -c plotly plotly=4.14.1
92
96
```
93
97
94
98
### Jupyter Notebook Support
@@ -125,18 +129,18 @@ Then run the following commands to install the required JupyterLab extensions (n
Copy file name to clipboardExpand all lines: doc/python/3d-line-plots.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -120,4 +120,4 @@ fig.show()
120
120
121
121
#### Reference
122
122
123
-
See https://plotly.com/python/reference/scatter3d/#scatter3d-marker-line for more information and chart attribute options!
123
+
See [function reference for `px.(line_3d)`](https://plotly.com/python-api-reference/generated/plotly.express.line_3d) or https://plotly.com/python/reference/scatter3d/#scatter3d-marker-line for more information and chart attribute options!
[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`.
74
+
75
+
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>.**
In this example we use the `ì`, `j` and `k` parameters to specify manually the geometry of the triangles of the mesh.
@@ -131,7 +144,7 @@ fig.show()
131
144
132
145
### Intensity values defined on vertices or cells
133
146
134
-
The `intensitymode` attribute of `go.Mesh3d` can be set to `vertex` (default mode, in which case intensity values are interpolated between values defined on vertices), or to `cell` (value of the whole cell, no interpolation). Note that the `intensity` parameter should have the same length as the number of vertices or cells, depending on the `intensitymode`.
147
+
The `intensitymode` attribute of `go.Mesh3d` can be set to `vertex` (default mode, in which case intensity values are interpolated between values defined on vertices), or to `cell` (value of the whole cell, no interpolation). Note that the `intensity` parameter should have the same length as the number of vertices or cells, depending on the `intensitymode`.
135
148
136
149
Whereas the previous example used the default `intensitymode='vertex'`, we plot here the same mesh with `intensitymode='cell'`.
137
150
@@ -163,4 +176,4 @@ fig.show()
163
176
```
164
177
165
178
## Reference
166
-
See https://plotly.com/python/reference/mesh3d/ for more information and chart attribute options!
179
+
See https://plotly.com/python/reference/mesh3d/ for more information and chart attribute options!
0 commit comments