Skip to content

Commit 8d7bc28

Browse files
Merge branch 'master' into ipywidgets-8
2 parents 21bc09c + a8a0c9b commit 8d7bc28

File tree

42 files changed

+8412
-155
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+8412
-155
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ This project adheres to [Semantic Versioning](http://semver.org/).
66

77
### Updated
88
- Support for ipywidgets 8 [#3930](https://github.com/plotly/plotly.py/pull/3930)
9+
- Updated Plotly.js to from version 2.16.1 to version 2.17.0. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#2170----2022-12-22) for more information. Notable changes include:
10+
- Add `shift` and `autoshift` to cartesian y axes to help avoid overlapping of multiple axes [[#6334](https://github.com/plotly/plotly.js/pull/6334)],
11+
with thanks to [Gamma Technologies](https://www.gtisoft.com) for sponsoring the related development!
12+
- Introduce group attributes for `scatter` trace i.e. `alignmentgroup`, `offsetgroup`, `scattermode` and `scattergap` [[#6381](https://github.com/plotly/plotly.js/pull/6381)],
13+
this feature was anonymously sponsored: thank you to our sponsor!
14+
- Add `marker.cornerradius` attribute to `treemap` trace [[#6351](https://github.com/plotly/plotly.js/pull/6351)]
15+
### Fixed
16+
- Fixed the usage of sume deprecated NumPy types which were removed in NumPy 1.24 [[#3997](https://github.com/plotly/plotly.py/pull/3997)]
917

1018
## [5.11.0] - 2022-10-27
1119

doc/python/dumbbell-plots.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ fig = go.Figure(
9494

9595
fig.update_layout(
9696
title="Life Expectancy in Europe: 1952 and 2002",
97-
width=1000,
9897
height=1000,
9998
showlegend=False,
10099
)
@@ -109,7 +108,7 @@ fig.show()
109108

110109
In this example, we add arrow markers to the plot. The first trace adds the lines connecting the data points and arrow markers.
111110
The second trace adds circle markers. On the first trace, we use `standoff=8` to position the arrow marker back from the data point.
112-
For the arrow marker to point directly at the circle marker, this value should be half the circle marker size.
111+
For the arrow marker to point directly at the circle marker, this value should be half the circle marker size, which is hardcoded to 16 here.
113112

114113
```python
115114
import pandas as pd
@@ -165,7 +164,6 @@ fig = go.Figure(
165164

166165
fig.update_layout(
167166
title="Life Expectancy in Europe: 1952 and 2002",
168-
width=1000,
169167
height=1000,
170168
showlegend=False,
171169
)

0 commit comments

Comments
 (0)