The default image format to use on image export. Valid image formats strings are: - 'png' - 'jpg' or 'jpeg' - 'webp' - 'svg' - 'pdf' - 'eps' (Requires the poppler library to be installed) This value is only applie
(self)
| 509 | |
| 510 | @property |
| 511 | def default_format(self): |
| 512 | """ |
| 513 | The default image format to use on image export. |
| 514 | |
| 515 | Valid image formats strings are: |
| 516 | - 'png' |
| 517 | - 'jpg' or 'jpeg' |
| 518 | - 'webp' |
| 519 | - 'svg' |
| 520 | - 'pdf' |
| 521 | - 'eps' (Requires the poppler library to be installed) |
| 522 | |
| 523 | This value is only applied if no format value is supplied to the |
| 524 | plotly.io to_image or write_image functions. |
| 525 | |
| 526 | Returns |
| 527 | ------- |
| 528 | str or None |
| 529 | """ |
| 530 | return self._props.get("default_format", "png") |
| 531 | |
| 532 | @default_format.setter |
| 533 | def default_format(self, val): |
nothing calls this directly
no test coverage detected