Update the properties of the figure's layout with a dict and/or with keyword arguments. This recursively updates the structure of the original layout with the values in the input dict / keyword arguments. Parameters ---------- dict1 : dict
(self, dict1=None, overwrite=False, **kwargs)
| 190 | ) |
| 191 | |
| 192 | def update_layout(self, dict1=None, overwrite=False, **kwargs) -> "Figure": |
| 193 | """ |
| 194 | |
| 195 | Update the properties of the figure's layout with a dict and/or with |
| 196 | keyword arguments. |
| 197 | |
| 198 | This recursively updates the structure of the original |
| 199 | layout with the values in the input dict / keyword arguments. |
| 200 | |
| 201 | Parameters |
| 202 | ---------- |
| 203 | dict1 : dict |
| 204 | Dictionary of properties to be updated |
| 205 | overwrite: bool |
| 206 | If True, overwrite existing properties. If False, apply updates |
| 207 | to existing properties recursively, preserving existing |
| 208 | properties that are not specified in the update operation. |
| 209 | kwargs : |
| 210 | Keyword/value pair of properties to be updated |
| 211 | |
| 212 | Returns |
| 213 | ------- |
| 214 | BaseFigure |
| 215 | The Figure object that the update_layout method was called on |
| 216 | |
| 217 | """ |
| 218 | return super().update_layout(dict1, overwrite, **kwargs) |
| 219 | |
| 220 | def for_each_trace( |
| 221 | self, fn, selector=None, row=None, col=None, secondary_y=None |
no outgoing calls