diff --git a/doc/python/static-image-export.md b/doc/python/static-image-export.md index 07dedb5a26f..7ac4beb56fb 100644 --- a/doc/python/static-image-export.md +++ b/doc/python/static-image-export.md @@ -175,7 +175,7 @@ fig2 = go.Figure( ) fig3 = px.pie( - values=[30, 20, 10, 40], + values=[30, 20, 10, 40], names=['A', 'B', 'C', 'D'], title='Pie Chart' ) @@ -217,7 +217,7 @@ Image(img_bytes) ## Specify Image Export Engine -> The `engine` parameter, as well as Orca support, is deprecated in Plotly.py 6.1.0 and will be removed after September 2025. +> The `engine` parameter, as well as Orca support, is deprecated in Plotly.py 6.2.0 and will be removed after September 2025. 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. @@ -295,7 +295,7 @@ import plotly.io as pio pio.defaults.default_height ~~~ -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. +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. ~~~python import plotly.io as pio diff --git a/doc/python/static-image-generation-migration.md b/doc/python/static-image-generation-migration.md index d12444a2cc8..f6476a9cb93 100644 --- a/doc/python/static-image-generation-migration.md +++ b/doc/python/static-image-generation-migration.md @@ -46,7 +46,7 @@ To migrate from either Orca or Kaleido v0, first install the latest Kaleido with pip install --upgrade kaleido ``` -## Chrome +## Chrome 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. @@ -54,7 +54,7 @@ See the [Chrome section](/python/static-image-export#chrome) on the Static Image ## Engine Parameter -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. +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. 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`. @@ -69,7 +69,7 @@ Accessing Kaleido defaults and config settings via `plotly.io.kaleido.scope` is ~~~python import plotly.io as pio pio.defaults.default_format = "jpeg" -# Instead of: +# Instead of: # pio.kaleido.scope.default_format = "jpeg" ~~~