Perform a property update operation on all yaxis objects that satisfy the specified selection criteria Parameters ---------- patch: dict Dictionary of property updates to be applied to all yaxis objects that satisfy the selection crit
(
self,
patch=None,
selector=None,
overwrite=False,
row=None,
col=None,
secondary_y=None,
**kwargs,
)
| 23620 | return self |
| 23621 | |
| 23622 | def update_yaxes( |
| 23623 | self, |
| 23624 | patch=None, |
| 23625 | selector=None, |
| 23626 | overwrite=False, |
| 23627 | row=None, |
| 23628 | col=None, |
| 23629 | secondary_y=None, |
| 23630 | **kwargs, |
| 23631 | ) -> "FigureWidget": |
| 23632 | """ |
| 23633 | Perform a property update operation on all yaxis objects |
| 23634 | that satisfy the specified selection criteria |
| 23635 | |
| 23636 | Parameters |
| 23637 | ---------- |
| 23638 | patch: dict |
| 23639 | Dictionary of property updates to be applied to all |
| 23640 | yaxis objects that satisfy the selection criteria. |
| 23641 | selector: dict, function, or None (default None) |
| 23642 | Dict to use as selection criteria. |
| 23643 | yaxis objects will be selected if they contain |
| 23644 | properties corresponding to all of the dictionary's keys, with |
| 23645 | values that exactly match the supplied values. If None |
| 23646 | (the default), all yaxis objects are selected. If a |
| 23647 | function, it must be a function accepting a single argument and |
| 23648 | returning a boolean. The function will be called on each |
| 23649 | yaxis and those for which the function returned True will |
| 23650 | be in the selection. |
| 23651 | overwrite: bool |
| 23652 | If True, overwrite existing properties. If False, apply updates |
| 23653 | to existing properties recursively, preserving existing |
| 23654 | properties that are not specified in the update operation. |
| 23655 | row, col: int or None (default None) |
| 23656 | Subplot row and column index of yaxis objects to select. |
| 23657 | To select yaxis objects by row and column, the Figure |
| 23658 | must have been created using plotly.subplots.make_subplots. |
| 23659 | If None (the default), all yaxis objects are selected. |
| 23660 | secondary_y: boolean or None (default None) |
| 23661 | * If True, only select yaxis objects associated with the secondary |
| 23662 | y-axis of the subplot. |
| 23663 | * If False, only select yaxis objects associated with the primary |
| 23664 | y-axis of the subplot. |
| 23665 | * If None (the default), do not filter yaxis objects based on |
| 23666 | a secondary y-axis condition. |
| 23667 | |
| 23668 | To select yaxis objects by secondary y-axis, the Figure must |
| 23669 | have been created using plotly.subplots.make_subplots. See |
| 23670 | the docstring for the specs argument to make_subplots for more |
| 23671 | info on creating subplots with secondary y-axes. |
| 23672 | **kwargs |
| 23673 | Additional property updates to apply to each selected |
| 23674 | yaxis object. If a property is specified in |
| 23675 | both patch and in **kwargs then the one in **kwargs |
| 23676 | takes precedence. |
| 23677 | Returns |
| 23678 | ------- |
| 23679 | self |
nothing calls this directly
no test coverage detected