1111from plotly .io ._defaults import defaults
1212
1313ENGINE_SUPPORT_TIMELINE = "September 2025"
14- ENABLE_KALEIDO_V0_DEPRECATION_WARNINGS = False
14+ ENABLE_KALEIDO_V0_DEPRECATION_WARNINGS = True
1515
1616PLOTLY_GET_CHROME_ERROR_MSG = """
1717
@@ -247,29 +247,29 @@ def to_image(
247247 - 'webp'
248248 - 'svg'
249249 - 'pdf'
250- - 'eps' (Kaleido v0.* only ) (Requires the poppler library to be installed and on the PATH)
250+ - 'eps' (deprecated ) (Requires the poppler library to be installed and on the PATH)
251251
252252 If not specified, will default to:
253- - `plotly.io.defaults.default_format` or `plotly.io.kaleido.scope.default_format` if engine is "kaleido"
254- - `plotly.io.orca.config.default_format` if engine is "orca"
253+ - `plotly.io.defaults.default_format` if engine is "kaleido"
254+ - `plotly.io.orca.config.default_format` if engine is "orca" (deprecated)
255255
256256 width: int or None
257257 The width of the exported image in layout pixels. If the `scale`
258258 property is 1.0, this will also be the width of the exported image
259259 in physical pixels.
260260
261261 If not specified, will default to:
262- - `plotly.io.defaults.default_width` or `plotly.io.kaleido.scope.default_width` if engine is "kaleido"
263- - `plotly.io.orca.config.default_width` if engine is "orca"
262+ - `plotly.io.defaults.default_width` if engine is "kaleido"
263+ - `plotly.io.orca.config.default_width` if engine is "orca" (deprecated)
264264
265265 height: int or None
266266 The height of the exported image in layout pixels. If the `scale`
267267 property is 1.0, this will also be the height of the exported image
268268 in physical pixels.
269269
270270 If not specified, will default to:
271- - `plotly.io.defaults.default_height` or `plotly.io.kaleido.scope.default_height` if engine is "kaleido"
272- - `plotly.io.orca.config.default_height` if engine is "orca"
271+ - `plotly.io.defaults.default_height` if engine is "kaleido"
272+ - `plotly.io.orca.config.default_height` if engine is "orca" (deprecated)
273273
274274 scale: int or float or None
275275 The scale factor to use when exporting the figure. A scale factor
@@ -278,14 +278,14 @@ def to_image(
278278 less than 1.0 will decrease the image resolution.
279279
280280 If not specified, will default to:
281- - `plotly.io.defaults.default_scale` or `plotly.io.kaleido.scope.default_scale` if engine is "kaleido"
282- - `plotly.io.orca.config.default_scale` if engine is "orca"
281+ - `plotly.io.defaults.default_scale` if engine is "kaleido"
282+ - `plotly.io.orca.config.default_scale` if engine is "orca" (deprecated)
283283
284284 validate: bool
285285 True if the figure should be validated before being converted to
286286 an image, False otherwise.
287287
288- engine: str
288+ engine (deprecated) : str
289289 Image export engine to use. This parameter is deprecated and Orca engine support will be
290290 dropped in the next major Plotly version. Until then, the following values are supported:
291291 - "kaleido": Use Kaleido for image export
@@ -433,31 +433,31 @@ def write_image(
433433 - 'webp'
434434 - 'svg'
435435 - 'pdf'
436- - 'eps' (Kaleido v0.* only ) (Requires the poppler library to be installed and on the PATH)
436+ - 'eps' (deprecated ) (Requires the poppler library to be installed and on the PATH)
437437
438438 If not specified and `file` is a string then this will default to the
439439 file extension. If not specified and `file` is not a string then this
440440 will default to:
441- - `plotly.io.defaults.default_format` or `plotly.io.kaleido.scope.default_format` if engine is "kaleido"
442- - `plotly.io.orca.config.default_format` if engine is "orca"
441+ - `plotly.io.defaults.default_format` if engine is "kaleido"
442+ - `plotly.io.orca.config.default_format` if engine is "orca" (deprecated)
443443
444444 width: int or None
445445 The width of the exported image in layout pixels. If the `scale`
446446 property is 1.0, this will also be the width of the exported image
447447 in physical pixels.
448448
449449 If not specified, will default to:
450- - `plotly.io.defaults.default_width` or `plotly.io.kaleido.scope.default_width` if engine is "kaleido"
451- - `plotly.io.orca.config.default_width` if engine is "orca"
450+ - `plotly.io.defaults.default_width` if engine is "kaleido"
451+ - `plotly.io.orca.config.default_width` if engine is "orca" (deprecated)
452452
453453 height: int or None
454454 The height of the exported image in layout pixels. If the `scale`
455455 property is 1.0, this will also be the height of the exported image
456456 in physical pixels.
457457
458458 If not specified, will default to:
459- - `plotly.io.defaults.default_height` or `plotly.io.kaleido.scope.default_height` if engine is "kaleido"
460- - `plotly.io.orca.config.default_height` if engine is "orca"
459+ - `plotly.io.defaults.default_height` if engine is "kaleido"
460+ - `plotly.io.orca.config.default_height` if engine is "orca" (deprecated)
461461
462462 scale: int or float or None
463463 The scale factor to use when exporting the figure. A scale factor
@@ -466,14 +466,14 @@ def write_image(
466466 less than 1.0 will decrease the image resolution.
467467
468468 If not specified, will default to:
469- - `plotly.io.defaults.default_scale` or `plotly.io.kaleido.scope.default_scale` if engine is "kaleido"
470- - `plotly.io.orca.config.default_scale` if engine is "orca"
469+ - `plotly.io.defaults.default_scale` if engine is "kaleido"
470+ - `plotly.io.orca.config.default_scale` if engine is "orca" (deprecated)
471471
472472 validate: bool
473473 True if the figure should be validated before being converted to
474474 an image, False otherwise.
475475
476- engine: str
476+ engine (deprecated) : str
477477 Image export engine to use. This parameter is deprecated and Orca engine support will be
478478 dropped in the next major Plotly version. Until then, the following values are supported:
479479 - "kaleido": Use Kaleido for image export
@@ -582,8 +582,7 @@ def write_images(
582582 provided to the `fig` argument.
583583 Specify format as a `str` to apply the same format to all exported images.
584584 If not specified, and the corresponding `file` argument has a file extension, then `format` will default to the
585- file extension. Otherwise, will default to `plotly.io.defaults.default_format`
586- or `plotly.io.kaleido.scope.default_format`.
585+ file extension. Otherwise, will default to `plotly.io.defaults.default_format`.
587586
588587 width: int, None, or list of (int or None)
589588 The width of the exported image in layout pixels. If the `scale`
@@ -593,8 +592,7 @@ def write_images(
593592 Use a list to specify widths for each figure or dict in the list
594593 provided to the `fig` argument.
595594 Specify width as an `int` to apply the same width to all exported images.
596- If not specified, will default to `plotly.io.defaults.default_width`
597- or `plotly.io.kaleido.scope.default_width`.
595+ If not specified, will default to `plotly.io.defaults.default_width`.
598596
599597 height: int, None, or list of (int or None)
600598 The height of the exported image in layout pixels. If the `scale`
@@ -604,8 +602,7 @@ def write_images(
604602 Use a list to specify heights for each figure or dict in the list
605603 provided to the `fig` argument.
606604 Specify height as an `int` to apply the same height to all exported images.
607- If not specified, will default to `plotly.io.defaults.default_height`
608- or `plotly.io.kaleido.scope.default_height`.
605+ If not specified, will default to `plotly.io.defaults.default_height`.
609606
610607 scale: int, float, None, or list of (int, float, or None)
611608 The scale factor to use when exporting the figure. A scale factor
@@ -616,8 +613,7 @@ def write_images(
616613 Use a list to specify scale for each figure or dict in the list
617614 provided to the `fig` argument.
618615 Specify scale as an `int` or `float` to apply the same scale to all exported images.
619- If not specified, will default to `plotly.io.defaults.default_scale`
620- or `plotly.io.kaleido.scope.default_scale`.
616+ If not specified, will default to `plotly.io.defaults.default_scale`.
621617
622618 validate: bool or list of bool
623619 True if the figure should be validated before being converted to
0 commit comments