Skip to content

Commit

Permalink
Update doc/python/filled-area-plots.md
Browse files Browse the repository at this point in the history
  • Loading branch information
LiamConnors committed Mar 12, 2024
1 parent 5416f77 commit 8314429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/python/filled-area-plots.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ fig.show()

*New in 5.20*

Scatter traces with a fill, support a `fillgradient`, which is a `dict` of options that define the gradient. Use `fillgradient.colorscale` to define the [colorscale](https://plotly.com/python/colorscales) for the gradient and choose a `type` to define the orientation of the gradient (`'horizontal'`, `'vertical'` or `'radial'`).
Scatter traces with a fill support a `fillgradient`, which is a `dict` of options that defines the gradient. Use `fillgradient.colorscale` to define the [colorscale](https://plotly.com/python/colorscales) for the gradient and choose a `type` to define the orientation of the gradient (`'horizontal'`, `'vertical'` or `'radial'`).

In the following example, we've defined a `horizontal` `fillgradient` with a colorscale of three colors.

Expand Down

0 comments on commit 8314429

Please sign in to comment.