[*Discouraged*] Update this artist's properties from the dictionary *props*. .. admonition:: Discouraged This method exists for historic reasons. Please use `.Artist.set` instead. ``artist.update(props)`` is nowadays almost identical to ``artist
(self, props)
| 1278 | return ret |
| 1279 | |
| 1280 | def update(self, props): |
| 1281 | """ |
| 1282 | [*Discouraged*] Update this artist's properties from the dictionary *props*. |
| 1283 | |
| 1284 | .. admonition:: Discouraged |
| 1285 | |
| 1286 | This method exists for historic reasons. Please use `.Artist.set` instead. |
| 1287 | ``artist.update(props)`` is nowadays almost identical to |
| 1288 | ``artist.set(**props)`` with the only difference that ``set`` will |
| 1289 | additionally check that a property is not specified multiple times |
| 1290 | through aliases. |
| 1291 | |
| 1292 | Parameters |
| 1293 | ---------- |
| 1294 | props : dict |
| 1295 | Dictionary of properties (keys) and their new values. |
| 1296 | |
| 1297 | Returns |
| 1298 | ------- |
| 1299 | list |
| 1300 | A list of return values from the configured setters. |
| 1301 | |
| 1302 | """ |
| 1303 | return self._update_props( |
| 1304 | props, "{cls.__name__!r} object has no property {prop_name!r}") |
| 1305 | |
| 1306 | def _internal_update(self, kwargs): |
| 1307 | """ |