Skip to content

Commit 577329d

Browse files
committed
Make small updates and add back Orca export settings
1 parent 2e0b441 commit 577329d

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

doc/python/static-image-export.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ fig.write_image("images/fig1.eps")
130130
**Note:** Figures containing WebGL traces (i.e. of type `scattergl`, `contourgl`, `scatter3d`, `surface`, `mesh3d`, `scatterpolargl`, `cone`, `streamtube`, `splom`, or `parcoords`) that are exported in a vector format will include encapsulated rasters, instead of vectors, for some parts of the image.
131131

132132

133-
### Specifying a Format
133+
### Specify a Format
134134

135135
In the earlier example, Plotly inferred the image format from the extension of the filename. You can also specify this with the `format` parameter.
136136

@@ -212,7 +212,7 @@ pio.write_image(fig, "fig.png")
212212
~~~
213213
<!-- #endregion -->
214214

215-
## Image Export Settings
215+
## Image Export Settings (Kaleido)
216216

217217
As well as configuring height, width, and other settings by passing arguments when calling `write_image` and `to_image`, you can specify defaults to be used.
218218

@@ -234,7 +234,7 @@ The following settings are availble.
234234

235235
`mapbox_access_token`: The default Mapbox access token.
236236

237-
### Configuring Defaults
237+
### Set Defaults
238238

239239
Since Plotly.py 6.1, settings are available on `plotly.io.defaults`
240240

@@ -256,6 +256,12 @@ In earlier versions of Plotly.py, these settings are available on `plotly.io.kal
256256

257257
~~~python
258258
import plotly.io as pio
259+
# Example using deprecated `plotly.io.kaleido.scope`
259260
pio.kaleido.scope.default_format = "jpeg"
260261
~~~
261262

263+
264+
265+
**Image Export Settings (Orca)**
266+
267+
See the [Orca Management section](https://plotly.com/python/orca-management/) for information on how to specify image export settings when using orca. Support for orca will be removed after September 2025.

0 commit comments

Comments
 (0)