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
+27-1Lines changed: 27 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,36 @@
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
-
## UNRELEASED
5
+
## [UNRELEASED]
6
+
7
+
### Fixed
8
+
- Fix issue with creating dendrogram in subplots [[#4411](https://github.com/plotly/plotly.py/pull/4411)],
9
+
10
+
## [5.18.0] - 2023-10-25
11
+
12
+
### Updated
13
+
- Updated Plotly.js from version 2.26.0 to version 2.27.0. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#2270----2023-10-20) for more information. These changes are reflected in the auto-generated `plotly.graph_objects` module. Notable changes include:
14
+
- Add `insiderange` to cartesian axes to help avoid overlap between visible grid lines and tick labels of the counter axis when they are positioned inside [[#6735](https://github.com/plotly/plotly.js/pull/6735)], this feature was anonymously sponsored: thank you to our sponsor!
15
+
- Fix column order changes on hover [[#6718](https://github.com/plotly/plotly.js/pull/6718)],
16
+
with thanks to @bhavinpatel1109 for the contribution!
17
+
- Fix hover at timestamp '1970-01-01 00:00:00' [[#6752](https://github.com/plotly/plotly.js/pull/6752)],
18
+
with thanks to @adamjhawley for the contribution!
19
+
- Fix clearing empty `candlestick` using react [[#6757](https://github.com/plotly/plotly.js/pull/6757)]
20
+
21
+
### Fixed
22
+
- Repair crash on Matplotlib 3.8 related to get_offset_position [[#4372](https://github.com/plotly/plotly.py/pull/4372)],
23
+
- Handle deprecation of `pandas.Series.dt.to_pydatetime()` calls and suppress the `FutureWarning` they currently emit. [[#4379](https://github.com/plotly/plotly.py/pull/4379)]
- Updated Plotly.js from version 2.25.2 to version 2.26.0. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#2260----2023-08-24) for more information. These changes are reflected in the auto-generated `plotly.graph_objects` module. Notable changes include:
30
+
- Add "min", "max", "min reversed" and "max reversed" autorange options and handle partial ranges (i.e. one end being null), add `autorangeoptions` (`clipmin`, `clipmax`, `minallowed`, `maxallowed`, `include`) as well as `minallowed` and `maxallowed` to cartesian, gl3d and radial axes [[#6547](https://github.com/plotly/plotly.js/pull/6547)]
31
+
- Add [n]-sigma (std deviations) box plots as an alternative to quartiles [[#6697](https://github.com/plotly/plotly.js/issues/6697)], with thanks to @28raining for the contribution!
32
+
- Add "top left" & "top center" side options to legend title [[#6711](https://github.com/plotly/plotly.js/pull/6711)], with thanks to @28raining for the contribution!
33
+
- Add "false" option to `scaleanchor` to allow removing a constraint that is set by default [[#6712](https://github.com/plotly/plotly.js/pull/6712)], with thanks to @lvlte for the contribution!
34
+
9
35
10
36
### Fixed
11
37
- Fixed two issues with px.imshow: [[#4330](https://github.com/plotly/plotly.py/issues/4330)] when facet_col is an earlier dimension than animation_frame for xarrays and [[#4329](https://github.com/plotly/plotly.py/issues/4329)] when facet_col has string coordinates in xarrays [[#4331](https://github.com/plotly/plotly.py/pull/4331)]
Running tests with tox is much more powerful, but requires a bit more setup.
273
273
274
-
You'll need to export an environment variable for *each* tox environment you wish to test with. For example, if you want to test with `Python 2.7` and
274
+
You'll need to export an environment variable for *each* tox environment you wish to test with. For example, if you want to test with `Python 3.9` and
275
275
`Python 3.6`, but only care to check the `core` specs, you would need to ensure that the following variables are exported:
276
276
277
277
```
278
-
export PLOTLY_TOX_PYTHON_27=<python binary>
278
+
export PLOTLY_TOX_PYTHON_39=<python binary>
279
279
export PLOTLY_TOX_PYTHON_36=<python binary>
280
280
```
281
281
@@ -286,15 +286,15 @@ Where the `<python binary` is going to be specific to your development setup. As
286
286
# tox envs #
287
287
############
288
288
289
-
exportPLOTLY_TOX_PYTHON_27=python2.7
290
-
exportPLOTLY_TOX_PYTHON_34=python3.4
291
-
export TOXENV=py27-core,py34-core
289
+
exportPLOTLY_TOX_PYTHON_39=python3.9
290
+
exportPLOTLY_TOX_PYTHON_36=python3.6
291
+
export TOXENV=py39-core,py36-core
292
292
```
293
293
294
294
Where `TOXENV` is the environment list you want to use when invoking `tox` from the command line. Note that the `PLOTLY_TOX_*` pattern is used to pass in variables for use in the `tox.ini` file. Though this is a little setup, intensive, you'll get the following benefits:
295
295
296
296
*`tox` will automatically manage a virtual env for each environment you want to test in.
297
-
* You only have to run `tox` and know that the module is working in both `Python 2` and `Python 3`.
297
+
* You only have to run `tox` and know that the module is working in all included Python versions.
298
298
299
299
Finally, `tox` allows you to pass in additional command line arguments that are formatted in (by us) in the `tox.ini` file, see `{posargs}`. This is setup to help with our configuration of [pytest markers](http://doc.pytest.org/en/latest/example/markers.html), which are set up in `packages/python/plotly/pytest.ini`. To run only tests that are *not* tagged with `nodev`, you could use the following command:
Copy file name to clipboardExpand all lines: doc/python/3d-axes.md
+37-8Lines changed: 37 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,10 +5,10 @@ jupyter:
5
5
text_representation:
6
6
extension: .md
7
7
format_name: markdown
8
-
format_version: '1.1'
9
-
jupytext_version: 1.1.1
8
+
format_version: '1.3'
9
+
jupytext_version: 1.15.1
10
10
kernelspec:
11
-
display_name: Python 3
11
+
display_name: Python 3 (ipykernel)
12
12
language: python
13
13
name: python3
14
14
language_info:
@@ -20,7 +20,7 @@ jupyter:
20
20
name: python
21
21
nbconvert_exporter: python
22
22
pygments_lexer: ipython3
23
-
version: 3.7.3
23
+
version: 3.10.4
24
24
plotly:
25
25
description: How to format axes of 3d plots in Python with Plotly.
26
26
display_as: 3d_charts
@@ -41,6 +41,8 @@ set the range, title, ticks, color etc. of the axes.
41
41
42
42
For creating 3D charts, see [this page](https://plotly.com/python/3d-charts/).
43
43
44
+
Set `range` on an axis to manually configure a range for that axis. If you don't set `range`, it's automatically calculated. In this example, we set a `range` on `xaxis`, `yaxis`, and `zaxis`.
45
+
44
46
```python
45
47
import plotly.graph_objects as go
46
48
import numpy as np
@@ -66,6 +68,37 @@ fig.update_layout(
66
68
fig.show()
67
69
```
68
70
71
+
### Setting only a Lower or Upper Bound for Range
72
+
73
+
*New in 5.17*
74
+
75
+
You can also set just a lower or upper bound for `range`. In this case, autorange is used for the other bound. In this example, we apply autorange to the lower bound of the `yaxis` and the upper bound of `zaxis` by setting them to `None`.
Copy file name to clipboardExpand all lines: doc/python/3d-surface-plots.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,7 +77,7 @@ fig.show()
77
77
#### Surface Plot With Contours
78
78
79
79
80
-
Display and customize contour data for each axis using the `contours` attribute ([reference](plotly.com/python/reference/surface/#surface-contours)).
80
+
Display and customize contour data for each axis using the `contours` attribute ([reference](https://plotly.com/python/reference/surface/#surface-contours)).
0 commit comments