You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/python/static-image-export.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -175,7 +175,7 @@ fig2 = go.Figure(
175
175
)
176
176
177
177
fig3= px.pie(
178
-
values=[30,20,10,40],
178
+
values=[30,20,10,40],
179
179
names=['A','B','C','D'],
180
180
title='Pie Chart'
181
181
)
@@ -217,7 +217,7 @@ Image(img_bytes)
217
217
218
218
##Specify Image Export Engine
219
219
220
-
>The`engine` parameter, as well as Orca support, is deprecated in Plotly.py 6.1.0 and will be removed after September 2025.
220
+
>The`engine` parameter, as well as Orca support, is deprecated in Plotly.py 6.2.0 and will be removed after September 2025.
221
221
222
222
If`kaleido` is installed, it will automatically be used to perform image export. If it is not installed, plotly.py will attempt to use`orca` instead. The`engine` argument to the`to_image` and`write_image` functions can be used to override this default behavior.
223
223
@@ -295,7 +295,7 @@ import plotly.io as pio
295
295
pio.defaults.default_height
296
296
~~~
297
297
298
-
In earlier versions of Plotly.py, these settings are available on`plotly.io.kaleido.scope`. This is deprecated since version 6.1. Use`plotly.io.defaults` instead.
298
+
In earlier versions of Plotly.py, these settings are available on`plotly.io.kaleido.scope`. This is deprecated since version 6.2. Use`plotly.io.defaults` instead.
Copy file name to clipboardExpand all lines: doc/python/static-image-generation-migration.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,15 +46,15 @@ To migrate from either Orca or Kaleido v0, first install the latest Kaleido with
46
46
pip install --upgrade kaleido
47
47
```
48
48
49
-
##Chrome
49
+
##Chrome
50
50
51
51
Kaleido uses Chrome for static image generation. Versions of Kaleido prior to v1 included Chrome as part of the Kaleido package. Kaleido v1 does not include Chrome; instead, it looks for a compatible version of Chrome (or Chromium) already installed on the machine on which it's running.
52
52
53
53
See the[Chrome section](/python/static-image-export#chrome) on the Static Image Export page for more details on Chome and Kaleido.
54
54
55
55
##Engine Parameter
56
56
57
-
The`engine` parameter on static image export methods and functions is deprecated in Plotly.py 6.1 and will be removed after September 2025. Once the`engine` parameter is removed, static image generation will use Kaleido v1 if it's installed, or raise an error if it isn't.
57
+
The`engine` parameter on static image export methods and functions is deprecated in Plotly.py 6.2 and will be removed after September 2025. Once the`engine` parameter is removed, static image generation will use Kaleido v1 if it's installed, or raise an error if it isn't.
58
58
59
59
You'll need to update your code to remove references to`engine`. For example,`fig.to_image(format="png", engine="orca")` or`fig.to_image(format="png", engine="kaleido")` needs to be updated to`fig.to_image(format="png")`. This change applies to:`fig.to_image`,`fig.write_image`,`plotly.io.to_image`, and`plotly.io.write_image`.
60
60
@@ -69,7 +69,7 @@ Accessing Kaleido defaults and config settings via `plotly.io.kaleido.scope` is