Select coloraxis subplot objects from a particular subplot cell and/or coloraxis subplot objects that satisfy custom selection criteria. Parameters ---------- selector: dict, function, or None (default None) Dict to use as selection crite
(self, selector=None, row=None, col=None)
| 22402 | return self.add_trace(new_trace, row=row, col=col, secondary_y=secondary_y) |
| 22403 | |
| 22404 | def select_coloraxes(self, selector=None, row=None, col=None): |
| 22405 | """ |
| 22406 | Select coloraxis subplot objects from a particular subplot cell |
| 22407 | and/or coloraxis subplot objects that satisfy custom selection |
| 22408 | criteria. |
| 22409 | |
| 22410 | Parameters |
| 22411 | ---------- |
| 22412 | selector: dict, function, or None (default None) |
| 22413 | Dict to use as selection criteria. |
| 22414 | coloraxis objects will be selected if they contain |
| 22415 | properties corresponding to all of the dictionary's keys, with |
| 22416 | values that exactly match the supplied values. If None |
| 22417 | (the default), all coloraxis objects are selected. If a |
| 22418 | function, it must be a function accepting a single argument and |
| 22419 | returning a boolean. The function will be called on each |
| 22420 | coloraxis and those for which the function returned True will |
| 22421 | be in the selection. |
| 22422 | row, col: int or None (default None) |
| 22423 | Subplot row and column index of coloraxis objects to select. |
| 22424 | To select coloraxis objects by row and column, the Figure |
| 22425 | must have been created using plotly.subplots.make_subplots. |
| 22426 | If None (the default), all coloraxis objects are selected. |
| 22427 | Returns |
| 22428 | ------- |
| 22429 | generator |
| 22430 | Generator that iterates through all of the coloraxis |
| 22431 | objects that satisfy all of the specified selection criteria |
| 22432 | """ |
| 22433 | |
| 22434 | return self._select_layout_subplots_by_prefix("coloraxis", selector, row, col) |
| 22435 | |
| 22436 | def for_each_coloraxis( |
| 22437 | self, fn, selector=None, row=None, col=None |
no test coverage detected