Skip to content

Commit 9be1a49

Browse files
committed
Update static-image-generation-migration.md
1 parent 2cc67f3 commit 9be1a49

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

doc/python/static-image-generation-migration.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ pip install --upgrade kaleido
5050

5151
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.
5252

53-
See the [Chrome section](/python/static-image-export/) on the Static Image Export page for more details on Chome and Kaleido.
53+
See the [Chrome section](/python/static-image-export#chrome) on the Static Image Export page for more details on Chome and Kaleido.
5454

5555
## Engine Parameter
5656

@@ -76,4 +76,8 @@ pio.defaults.default_format = "jpeg"
7676
The `mapbox_access_token` config setting is not available on `plotly.io.defaults` because Mapbox maps are deprecated and will be removed in a future version of Plotly.py. See [MapLibre Migration](https://plotly.com/python/mapbox-to-maplibre/) for more details.
7777

7878
If you are migrating from Orca, the following config settings do not apply to Kaleido: `server_url`, `port`, `timeout`, and `use_xvfb`, but other settings, such as `default_format`, can be accessed via `plotly.io.defaults`.
79+
80+
## Multiple Image Export
81+
82+
Plotly.py 6.1 includes a `write_images` function (`plotly.io.write_images`), which we recommend over `write_image` when exporting more than one figure. Calling `write_images` with a list of figures (or dicts representing figures) to export provides better performance than multiple calls with `write_image`. See the [Write Multiple Images](/python/static-image-export#write-multiple-images) section for more details.
7983
<!-- #endregion -->

0 commit comments

Comments
 (0)