Skip to content

Commit fc44222

Browse files
Patch 7 (#2297)
* Update custom-buttons.md Set the 'updatemenu method' link directly to the method instead of the page header. * Update custom-buttons.md Bolded phrases and additional explanation in the "methods" section.
1 parent 7bbd2c4 commit fc44222

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/python/custom-buttons.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ jupyter:
3434
---
3535

3636
#### Methods
37-
The [updatemenu method](https://plot.ly/python/reference/#layout-updatemenus-buttons-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
37+
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; combination of `"restyle"` and `"relayout"`
4141
- `"animate"`: start or pause an [animation](https://plot.ly/python/#animations))
4242

4343

0 commit comments

Comments
 (0)