fig – Figure object or dict representing a figure
’png’
’jpg’ or ‘jpeg’
’webp’
’svg’
’pdf’
’eps’ (deprecated) (Requires the poppler library to be installed and on the PATH)
plotly.io.defaults.default_format
if engine is “kaleido”
plotly.io.orca.config.default_format
if engine is “orca” (deprecated)
The width of the exported image in layout pixels. If the scale
property is 1.0, this will also be the width of the exported image in physical pixels.
plotly.io.defaults.default_width
if engine is “kaleido”
plotly.io.orca.config.default_width
if engine is “orca” (deprecated)
The height of the exported image in layout pixels. If the scale
property is 1.0, this will also be the height of the exported image in physical pixels.
plotly.io.defaults.default_height
if engine is “kaleido”
plotly.io.orca.config.default_height
if engine is “orca” (deprecated)
scale (int or float or None) –
The scale factor to use when exporting the figure. A scale factor larger than 1.0 will increase the image resolution with respect to the figure’s layout pixel dimensions. Whereas as scale factor of less than 1.0 will decrease the image resolution.
plotly.io.defaults.default_scale
if engine is “kaleido”
plotly.io.orca.config.default_scale
if engine is “orca” (deprecated)
validate (bool) – True if the figure should be validated before being converted to an image, False otherwise.
(deprecated) (engine) –
Image export engine to use. This parameter is deprecated and Orca engine support will be dropped in the next major Plotly version. Until then, the following values are supported:
”kaleido”: Use Kaleido for image export
”orca”: Use Orca for image export
”auto” (default): Use Kaleido if installed, otherwise use Orca
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4