8000 Merge pull request #2825 from xyb994/patch-1 · plotly/plotly.py@41fa4b4 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 41fa4b4

Browse files
Merge pull request #2825 from xyb994/patch-1
Minor update to waterfall-charts.md
2 parents dde4789 + 2ecb11b commit 41fa4b4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/python/waterfall-charts.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ fig.show()
8888
```
8989

9090
### Setting Marker Size and Color
91-
This example uses [decreasing, increasing, and total](https://plotly.com/python/reference/waterfall/#waterfall-increasing) attributes to customize the bars.
91+
This example uses [decreasing](https://plotly.com/python/reference/waterfall/#waterfall-decreasing), [increasing](https://plotly.com/python/reference/waterfall/#waterfall-increasing), and [totals](https://plotly.com/python/reference/waterfall/#waterfall-totals) attributes to customize the bars.
9292

9393
```python
9494
import plotly.graph_objects as go
@@ -100,7 +100,7 @@ fig = go.Figure(go.Waterfall(
100100
y = [10, 20, 30, -10, None, 10, 20, -40, None], base = 300,
101101
decreasing = {"marker":{"color":"Maroon", "line":{"color":"red", "width":2}}},
102102
increasing = {"marker":{"color":"Teal"}},
103-
totals = {"marker":{"color":"deep sky blue", "line":{"color":'blue', "width":3}}}
103+
totals = {"marker":{"color":"deep sky blue", "line":{"color":"blue", "width":3}}}
104104
))
105105

106106
fig.update_layout(title = "Profit and loss statement", waterfallgap = 0.3)
@@ -129,4 +129,4 @@ fig.show()
129129
```
130130

131131
#### Reference
132-
See https://plotly.com/python/reference/waterfall/ for more information and chart attribute options!
132+
See https://plotly.com/python/reference/waterfall/ for more information and chart attribute options!

0 commit comments

Comments
 (0)
0