Skip to content

Commit

Permalink
Merge branch 'master' into ipywidgets-8
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaskruchten authored Jan 5, 2023
2 parents 21bc09c + a8a0c9b commit 8d7bc28
Show file tree
Hide file tree
Showing 42 changed files with 8,412 additions and 155 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ This project adheres to [Semantic Versioning](http://semver.org/).

### Updated
- Support for ipywidgets 8 [#3930](https://github.com/plotly/plotly.py/pull/3930)
- 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:
- Add `shift` and `autoshift` to cartesian y axes to help avoid overlapping of multiple axes [[#6334](https://github.com/plotly/plotly.js/pull/6334)],
with thanks to [Gamma Technologies](https://www.gtisoft.com) for sponsoring the related development!
- Introduce group attributes for `scatter` trace i.e. `alignmentgroup`, `offsetgroup`, `scattermode` and `scattergap` [[#6381](https://github.com/plotly/plotly.js/pull/6381)],
this feature was anonymously sponsored: thank you to our sponsor!
- Add `marker.cornerradius` attribute to `treemap` trace [[#6351](https://github.com/plotly/plotly.js/pull/6351)]
### Fixed
- Fixed the usage of sume deprecated NumPy types which were removed in NumPy 1.24 [[#3997](https://github.com/plotly/plotly.py/pull/3997)]

## [5.11.0] - 2022-10-27

Expand Down
4 changes: 1 addition & 3 deletions doc/python/dumbbell-plots.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ fig = go.Figure(

fig.update_layout(
title="Life Expectancy in Europe: 1952 and 2002",
width=1000,
height=1000,
showlegend=False,
)
Expand All @@ -109,7 +108,7 @@ fig.show()

In this example, we add arrow markers to the plot. The first trace adds the lines connecting the data points and arrow markers.
The second trace adds circle markers. On the first trace, we use `standoff=8` to position the arrow marker back from the data point.
For the arrow marker to point directly at the circle marker, this value should be half the circle marker size.
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.

```python
import pandas as pd
Expand Down Expand Up @@ -165,7 +164,6 @@ fig = go.Figure(

fig.update_layout(
title="Life Expectancy in Europe: 1952 and 2002",
width=1000,
height=1000,
showlegend=False,
)
Expand Down
Loading

0 comments on commit 8d7bc28

Please sign in to comment.