From dc31ccd05b95ea37040ce371a5938c403c8c6f0a Mon Sep 17 00:00:00 2001 From: Liam Connors Date: Tue, 8 Jul 2025 15:40:01 -0400 Subject: [PATCH 1/2] Update static-image-export.md --- doc/python/static-image-export.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/python/static-image-export.md b/doc/python/static-image-export.md index 6ccd1af2c0..fdac5486f8 100644 --- a/doc/python/static-image-export.md +++ b/doc/python/static-image-export.md @@ -64,12 +64,12 @@ Plotly also provides a CLI for installing Chrome from the command line. Run `plotly_get_chrome` to install Chrome. -You can also install Chrome from within Python using `plotly.io.install_chrome()` +You can also install Chrome from within Python using `kaleido.get_chrome_sync()` ```python -import plotly.io as pio +import kaleido -pio.install_chrome() +kaleido.get_chrome_sync() ``` See the **Additional Information on Browsers with Kaleido** section below for more details on browser compatibility for Kaleido. From faa1ee3f72e3e932b8d1e59cf3b828d342f71c20 Mon Sep 17 00:00:00 2001 From: Liam Connors Date: Tue, 8 Jul 2025 16:08:13 -0400 Subject: [PATCH 2/2] Update static-image-export.md --- doc/python/static-image-export.md | 7 ------- 1 file changed, 7 deletions(-) diff --git a/doc/python/static-image-export.md b/doc/python/static-image-export.md index fdac5486f8..668c68da40 100644 --- a/doc/python/static-image-export.md +++ b/doc/python/static-image-export.md @@ -64,13 +64,6 @@ Plotly also provides a CLI for installing Chrome from the command line. Run `plotly_get_chrome` to install Chrome. -You can also install Chrome from within Python using `kaleido.get_chrome_sync()` - -```python -import kaleido - -kaleido.get_chrome_sync() -``` See the **Additional Information on Browsers with Kaleido** section below for more details on browser compatibility for Kaleido.