Skip to content

Commit 149453d

Browse files
committed
Update custom-buttons.md
Bolded phrases and additional explanation in the "methods" section.
1 parent 4561fca commit 149453d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/python/custom-buttons.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ jupyter:
3535

3636
#### Methods
3737
The [updatemenu method](https://plot.ly/python/reference/#layout-updatemenus-items-updatemenu-buttons-items-button-method) determines which [plotly.js function](https://plot.ly/javascript/plotlyjs-function-reference/) will be used to modify the chart. There are 4 possible methods:
38-
- `"restyle"`: modify data or data attributes
39-
- `"relayout"`: modify layout attributes
40-
- `"update"`: modify data **and** layout attributes
38+
- `"restyle"`: modify **data** or data attributes
39+
- `"relayout"`: modify **layout** attributes
40+
- `"update"`: modify **data and layout** attributes; combination of `"restyle"` and `"relayout"`
4141
- `"animate"`: start or pause an [animation](https://plot.ly/python/#animations))
4242

4343

0 commit comments

Comments
 (0)