@@ -246,29 +246,29 @@ def to_image(
246246 - 'webp'
247247 - 'svg'
248248 - 'pdf'
249- - 'eps' (deprecated ) (Requires the poppler library to be installed and on the PATH)
249+ - 'eps' (Kaleido v0.* only ) (Requires the poppler library to be installed and on the PATH)
250250
251251 If not specified, will default to:
252- - `plotly.io.defaults.default_format` if engine is "kaleido"
253- - `plotly.io.orca.config.default_format` if engine is "orca" (deprecated)
252+ - `plotly.io.defaults.default_format` or `plotly.io.kaleido.scope.default_format` if engine is "kaleido"
253+ - `plotly.io.orca.config.default_format` if engine is "orca"
254254
255255 width: int or None
256256 The width of the exported image in layout pixels. If the `scale`
257257 property is 1.0, this will also be the width of the exported image
258258 in physical pixels.
259259
260260 If not specified, will default to:
261- - `plotly.io.defaults.default_width` if engine is "kaleido"
262- - `plotly.io.orca.config.default_width` if engine is "orca" (deprecated)
261+ - `plotly.io.defaults.default_width` or `plotly.io.kaleido.scope.default_width` if engine is "kaleido"
262+ - `plotly.io.orca.config.default_width` if engine is "orca"
263263
264264 height: int or None
265265 The height of the exported image in layout pixels. If the `scale`
266266 property is 1.0, this will also be the height of the exported image
267267 in physical pixels.
268268
269269 If not specified, will default to:
270- - `plotly.io.defaults.default_height` if engine is "kaleido"
271- - `plotly.io.orca.config.default_height` if engine is "orca" (deprecated)
270+ - `plotly.io.defaults.default_height` or `plotly.io.kaleido.scope.default_height` if engine is "kaleido"
271+ - `plotly.io.orca.config.default_height` if engine is "orca"
272272
273273 scale: int or float or None
274274 The scale factor to use when exporting the figure. A scale factor
@@ -277,14 +277,14 @@ def to_image(
277277 less than 1.0 will decrease the image resolution.
278278
279279 If not specified, will default to:
280- - `plotly.io.defaults.default_scale` if engine is "kaleido"
281- - `plotly.io.orca.config.default_scale` if engine is "orca" (deprecated)
280+ - `plotly.io.defaults.default_scale` or `plotly.io.kaleido.scope.default_scale` if engine is "kaleido"
281+ - `plotly.io.orca.config.default_scale` if engine is "orca"
282282
283283 validate: bool
284284 True if the figure should be validated before being converted to
285285 an image, False otherwise.
286286
287- engine (deprecated) : str
287+ engine: str
288288 Image export engine to use. This parameter is deprecated and Orca engine support will be
289289 dropped in the next major Plotly version. Until then, the following values are supported:
290290 - "kaleido": Use Kaleido for image export
@@ -430,31 +430,31 @@ def write_image(
430430 - 'webp'
431431 - 'svg'
432432 - 'pdf'
433- - 'eps' (deprecated ) (Requires the poppler library to be installed and on the PATH)
433+ - 'eps' (Kaleido v0.* only ) (Requires the poppler library to be installed and on the PATH)
434434
435435 If not specified and `file` is a string then this will default to the
436436 file extension. If not specified and `file` is not a string then this
437437 will default to:
438- - `plotly.io.defaults.default_format` if engine is "kaleido"
439- - `plotly.io.orca.config.default_format` if engine is "orca" (deprecated)
438+ - `plotly.io.defaults.default_format` or `plotly.io.kaleido.scope.default_format` if engine is "kaleido"
439+ - `plotly.io.orca.config.default_format` if engine is "orca"
440440
441441 width: int or None
442442 The width of the exported image in layout pixels. If the `scale`
443443 property is 1.0, this will also be the width of the exported image
444444 in physical pixels.
445445
446446 If not specified, will default to:
447- - `plotly.io.defaults.default_width` if engine is "kaleido"
448- - `plotly.io.orca.config.default_width` if engine is "orca" (deprecated)
447+ - `plotly.io.defaults.default_width` or `plotly.io.kaleido.scope.default_width` if engine is "kaleido"
448+ - `plotly.io.orca.config.default_width` if engine is "orca"
449449
450450 height: int or None
451451 The height of the exported image in layout pixels. If the `scale`
452452 property is 1.0, this will also be the height of the exported image
453453 in physical pixels.
454454
455455 If not specified, will default to:
456- - `plotly.io.defaults.default_height` if engine is "kaleido"
457- - `plotly.io.orca.config.default_height` if engine is "orca" (deprecated)
456+ - `plotly.io.defaults.default_height` or `plotly.io.kaleido.scope.default_height` if engine is "kaleido"
457+ - `plotly.io.orca.config.default_height` if engine is "orca"
458458
459459 scale: int or float or None
460460 The scale factor to use when exporting the figure. A scale factor
@@ -463,14 +463,14 @@ def write_image(
463463 less than 1.0 will decrease the image resolution.
464464
465465 If not specified, will default to:
466- - `plotly.io.defaults.default_scale` if engine is "kaleido"
467- - `plotly.io.orca.config.default_scale` if engine is "orca" (deprecated)
466+ - `plotly.io.defaults.default_scale` or `plotly.io.kaleido.scope.default_scale` if engine is "kaleido"
467+ - `plotly.io.orca.config.default_scale` if engine is "orca"
468468
469469 validate: bool
470470 True if the figure should be validated before being converted to
471471 an image, False otherwise.
472472
473- engine (deprecated) : str
473+ engine: str
474474 Image export engine to use. This parameter is deprecated and Orca engine support will be
475475 dropped in the next major Plotly version. Until then, the following values are supported:
476476 - "kaleido": Use Kaleido for image export
@@ -577,7 +577,8 @@ def write_images(
577577 provided to the `fig` argument.
578578 Specify format as a `str` to apply the same format to all exported images.
579579 If not specified, and the corresponding `file` argument has a file extension, then `format` will default to the
580- file extension. Otherwise, will default to `plotly.io.defaults.default_format`.
580+ file extension. Otherwise, will default to `plotly.io.defaults.default_format`
581+ or `plotly.io.kaleido.scope.default_format`.
581582
582583 width: int, None, or list of (int or None)
583584 The width of the exported image in layout pixels. If the `scale`
@@ -587,7 +588,8 @@ def write_images(
587588 Use a list to specify widths for each figure or dict in the list
588589 provided to the `fig` argument.
589590 Specify width as an `int` to apply the same width to all exported images.
590- If not specified, will default to `plotly.io.defaults.default_width`.
591+ If not specified, will default to `plotly.io.defaults.default_width`
592+ or `plotly.io.kaleido.scope.default_width`.
591593
592594 height: int, None, or list of (int or None)
593595 The height of the exported image in layout pixels. If the `scale`
@@ -597,7 +599,8 @@ def write_images(
597599 Use a list to specify heights for each figure or dict in the list
598600 provided to the `fig` argument.
599601 Specify height as an `int` to apply the same height to all exported images.
600- If not specified, will default to `plotly.io.defaults.default_height`.
602+ If not specified, will default to `plotly.io.defaults.default_height`
603+ or `plotly.io.kaleido.scope.default_height`.
601604
602605 scale: int, float, None, or list of (int, float, or None)
603606 The scale factor to use when exporting the figure. A scale factor
@@ -608,7 +611,8 @@ def write_images(
608611 Use a list to specify scale for each figure or dict in the list
609612 provided to the `fig` argument.
610613 Specify scale as an `int` or `float` to apply the same scale to all exported images.
611- If not specified, will default to `plotly.io.defaults.default_scale`.
614+ If not specified, will default to `plotly.io.defaults.default_scale`
615+ or `plotly.io.kaleido.scope.default_scale`.
612616
613617 validate: bool or list of bool
614618 True if the figure should be validated before being converted to
0 commit comments