Perform a property update operation on all coloraxis objects that satisfy the specified selection criteria Parameters ---------- patch: dict Dictionary of property updates to be applied to all coloraxis objects that satisfy the select
(
self, patch=None, selector=None, overwrite=False, row=None, col=None, **kwargs
)
| 22466 | return self |
| 22467 | |
| 22468 | def update_coloraxes( |
| 22469 | self, patch=None, selector=None, overwrite=False, row=None, col=None, **kwargs |
| 22470 | ) -> "Figure": |
| 22471 | """ |
| 22472 | Perform a property update operation on all coloraxis objects |
| 22473 | that satisfy the specified selection criteria |
| 22474 | |
| 22475 | Parameters |
| 22476 | ---------- |
| 22477 | patch: dict |
| 22478 | Dictionary of property updates to be applied to all |
| 22479 | coloraxis objects that satisfy the selection criteria. |
| 22480 | selector: dict, function, or None (default None) |
| 22481 | Dict to use as selection criteria. |
| 22482 | coloraxis objects will be selected if they contain |
| 22483 | properties corresponding to all of the dictionary's keys, with |
| 22484 | values that exactly match the supplied values. If None |
| 22485 | (the default), all coloraxis objects are selected. If a |
| 22486 | function, it must be a function accepting a single argument and |
| 22487 | returning a boolean. The function will be called on each |
| 22488 | coloraxis and those for which the function returned True will |
| 22489 | be in the selection. |
| 22490 | overwrite: bool |
| 22491 | If True, overwrite existing properties. If False, apply updates |
| 22492 | to existing properties recursively, preserving existing |
| 22493 | properties that are not specified in the update operation. |
| 22494 | row, col: int or None (default None) |
| 22495 | Subplot row and column index of coloraxis objects to select. |
| 22496 | To select coloraxis objects by row and column, the Figure |
| 22497 | must have been created using plotly.subplots.make_subplots. |
| 22498 | If None (the default), all coloraxis objects are selected. |
| 22499 | **kwargs |
| 22500 | Additional property updates to apply to each selected |
| 22501 | coloraxis object. If a property is specified in |
| 22502 | both patch and in **kwargs then the one in **kwargs |
| 22503 | takes precedence. |
| 22504 | Returns |
| 22505 | ------- |
| 22506 | self |
| 22507 | Returns the Figure object that the method was called on |
| 22508 | """ |
| 22509 | for obj in self.select_coloraxes(selector=selector, row=row, col=col): |
| 22510 | obj.update(patch, overwrite=overwrite, **kwargs) |
| 22511 | |
| 22512 | return self |
| 22513 | |
| 22514 | def select_geos(self, selector=None, row=None, col=None): |
| 22515 | """ |
nothing calls this directly
no test coverage detected