Skip to content

Commit f6a29af

Browse files
authored
Fix markdown syntax, typo in docs
1 parent e026ef5 commit f6a29af

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

Diff for: doc/python/creating-and-updating-figures.md

+10-8
Original file line numberDiff line numberDiff line change
@@ -613,20 +613,22 @@ There are also `for_each_xaxis()` and `for_each_yaxis()` methods that are analog
613613
### Other Update Methods
614614

615615
Figures created with the plotly.py graphing library also support:
616-
- the `update_layout_images()` method in order to [update background layout images](/python/images/),
617-
- `update_annotations()` in order to [update annotations](/python/text-and-annotations/#multiple-annotations),
618-
- and `update-shapes()` in order to [update shapes](/python/shapes/).
616+
617+
- the `update_layout_images()` method in order to [update background layout images](/python/images/),
618+
- `update_annotations()` in order to [update annotations](/python/text-and-annotations/#multiple-annotations),
619+
- and `update_shapes()` in order to [update shapes](/python/shapes/).
619620

620621
#### Chaining Figure Operations
621622

622623
All of the figure update operations described above are methods that return a reference to the figure being modified. This makes it possible the chain multiple figure modification operations together into a single expression.
623624

624625
Here is an example of a chained expression that creates:
625-
- a faceted scatter plot with OLS trend lines using Plotly Express,
626-
- sets the title font size using `update_layout()`,
627-
- disables vertical grid lines using `update_xaxes()`,
628-
- updates the width and dash pattern of the trend lines using `update_traces()`,
629-
- and then displays the figure using `show()`.
626+
627+
- a faceted scatter plot with OLS trend lines using Plotly Express,
628+
- sets the title font size using `update_layout()`,
629+
- disables vertical grid lines using `update_xaxes()`,
630+
- updates the width and dash pattern of the trend lines using `update_traces()`,
631+
- and then displays the figure using `show()`.
630632

631633
```python
632634
import plotly.express as px

0 commit comments

Comments
 (0)