Perform a property update operation on all xaxis objects that satisfy the specified selection criteria Parameters ---------- patch: dict Dictionary of property updates to be applied to all xaxis objects that satisfy the selection crit
(
self, patch=None, selector=None, overwrite=False, row=None, col=None, **kwargs
)
| 23478 | return self |
| 23479 | |
| 23480 | def update_xaxes( |
| 23481 | self, patch=None, selector=None, overwrite=False, row=None, col=None, **kwargs |
| 23482 | ) -> "FigureWidget": |
| 23483 | """ |
| 23484 | Perform a property update operation on all xaxis objects |
| 23485 | that satisfy the specified selection criteria |
| 23486 | |
| 23487 | Parameters |
| 23488 | ---------- |
| 23489 | patch: dict |
| 23490 | Dictionary of property updates to be applied to all |
| 23491 | xaxis objects that satisfy the selection criteria. |
| 23492 | selector: dict, function, or None (default None) |
| 23493 | Dict to use as selection criteria. |
| 23494 | xaxis objects will be selected if they contain |
| 23495 | properties corresponding to all of the dictionary's keys, with |
| 23496 | values that exactly match the supplied values. If None |
| 23497 | (the default), all xaxis objects are selected. If a |
| 23498 | function, it must be a function accepting a single argument and |
| 23499 | returning a boolean. The function will be called on each |
| 23500 | xaxis and those for which the function returned True will |
| 23501 | be in the selection. |
| 23502 | overwrite: bool |
| 23503 | If True, overwrite existing properties. If False, apply updates |
| 23504 | to existing properties recursively, preserving existing |
| 23505 | properties that are not specified in the update operation. |
| 23506 | row, col: int or None (default None) |
| 23507 | Subplot row and column index of xaxis objects to select. |
| 23508 | To select xaxis objects by row and column, the Figure |
| 23509 | must have been created using plotly.subplots.make_subplots. |
| 23510 | If None (the default), all xaxis objects are selected. |
| 23511 | **kwargs |
| 23512 | Additional property updates to apply to each selected |
| 23513 | xaxis object. If a property is specified in |
| 23514 | both patch and in **kwargs then the one in **kwargs |
| 23515 | takes precedence. |
| 23516 | Returns |
| 23517 | ------- |
| 23518 | self |
| 23519 | Returns the FigureWidget object that the method was called on |
| 23520 | """ |
| 23521 | for obj in self.select_xaxes(selector=selector, row=row, col=col): |
| 23522 | obj.update(patch, overwrite=overwrite, **kwargs) |
| 23523 | |
| 23524 | return self |
| 23525 | |
| 23526 | def select_yaxes(self, selector=None, row=None, col=None, secondary_y=None): |
| 23527 | """ |
nothing calls this directly
no test coverage detected