diff --git a/plugins/plotly-express/docs/static-image-export.md b/plugins/plotly-express/docs/static-image-export.md index fa8e88476..fe493de16 100644 --- a/plugins/plotly-express/docs/static-image-export.md +++ b/plugins/plotly-express/docs/static-image-export.md @@ -7,9 +7,11 @@ Either install will `all` extras or install `kaleido` separately. ```sh pip install 'deephaven-plugin-plotly-express[all]' ``` + or + ```sh -pip install kaleido +pip install "kaleido<1.0.0" ``` > [!WARNING] @@ -37,7 +39,7 @@ line_plot_image = ui.image(src=line_plot_bytes) ## Theme Template -Customize the theme with the `template` argument. +Customize the theme with the `template` argument. Default options are `"plotly"`, `"plotly_white"`, `"plotly_dark"`, `"ggplot2"`, `"seaborn"`, and `"simple_white"`. ```python order=line_plot_image @@ -57,7 +59,7 @@ line_plot_image = ui.image(src=line_plot_bytes) ## Image Format -Customize the format with the `format` argument. +Customize the format with the `format` argument. Options are `"png"`, `"jpg"`, `"jpeg"`, `"webp"`, `"svg"`, and `"pdf"`. ```python order=line_plot_image @@ -111,4 +113,4 @@ line_plot_bytes = line_plot.to_image() # Write the image to a file in the current directory with open("line_plot.png", "wb") as f: f.write(line_plot_bytes) -``` \ No newline at end of file +``` diff --git a/plugins/plotly-express/setup.cfg b/plugins/plotly-express/setup.cfg index 63bb5bc47..ab2a62677 100644 --- a/plugins/plotly-express/setup.cfg +++ b/plugins/plotly-express/setup.cfg @@ -34,7 +34,7 @@ install_requires = include_package_data = True [options.extras_require] -all = kaleido +all = kaleido<1.0.0 [options.packages.find] where=src