Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
d32d856
remove deprecated Figure Factory functions
emilykl Jun 18, 2026
b45f9d9
remove tests for removed Figure Factory functions
emilykl Jun 18, 2026
4c0dad7
add changelog entry
emilykl Jun 18, 2026
901ebed
formatting
emilykl Jun 18, 2026
3185b9a
update docs to reflect removed figure factory functions
emilykl Jun 18, 2026
a203a2b
remove plotly-geo, pyshp, and shapely dev dependencies (used by remov…
emilykl Jun 19, 2026
6bfa2d4
update metadata
emilykl Jun 19, 2026
bdfe6fd
docs edits
emilykl Jun 19, 2026
c8ea5ff
Update CHANGELOG.md
emilykl Jun 22, 2026
09dc038
Merge pull request #5627 from plotly/remove-deprecated-ff
emilykl Jun 22, 2026
8bcb5e0
update plotly.js version to v4.0.0-rc.0 and run codegen
emilykl Jul 22, 2026
9419595
rebuild FigureWidget and Jupyter extension
emilykl Jul 22, 2026
52bbe59
remove all references to mapbox subplots and trace types in manually-…
emilykl Jul 16, 2026
72286db
remove mapbox references from templates
emilykl Jul 22, 2026
960ffa9
update tests to remove mapbox references (change to map where relevant)
emilykl Jul 22, 2026
38988a0
remove mapbox references from codegen and rerun codegen
emilykl Jul 23, 2026
fa2b7da
delete removed config keys from offline.py
emilykl Jul 23, 2026
3b1b7e0
mapbox -> map in figure factory README
emilykl Jul 23, 2026
3a76e7d
remove SrcValidator
emilykl Jul 23, 2026
a293de3
remove references to Stream
emilykl Jul 23, 2026
ed0966c
remove references to showLink and linkText
emilykl Jul 23, 2026
49f3825
update ColorValidator for new color processing in plotly.js 4.0
emilykl Jul 24, 2026
baf6d33
Merge pull request #5673 from plotly/update-plotlyjs-v4.0.0-rc.0
emilykl Jul 27, 2026
fa3d011
remove mapbox references from docs and doc build workflow
emilykl Jul 23, 2026
8aa5007
Apply suggestions from code review
emilykl Jul 27, 2026
4682d7b
update docs to remove references to kaleido v0 and orca
emilykl Jul 28, 2026
ebaa492
remove code for kaleido v0 and orca (including engine argument for im…
emilykl Jul 28, 2026
59c0ba3
update tests for kaleido v0 removal, and add test for error when kale…
emilykl Jul 28, 2026
4030434
update .gitignore
emilykl Jul 28, 2026
bc692fd
update CI
emilykl Jul 28, 2026
aeec628
add changelog entry
emilykl Jul 28, 2026
980278f
update README
emilykl Jul 28, 2026
9b7a610
change Maplibre to MapLibre
emilykl Jul 28, 2026
61bef81
revert thumbnail filenames to mapbox (will update at a later time)
emilykl Jul 28, 2026
800faba
Merge pull request #5674 from plotly/docs-updates-plotlyjs-4.0.0
emilykl Jul 28, 2026
91e773d
Merge branch 'v7.0' into update-docs-kaleido-v0
emilykl Jul 28, 2026
d181aae
run codegen after color docstring was updated
emilykl Jul 28, 2026
c30b679
add CI step to check that Python generated files are up to date
emilykl Jul 28, 2026
bf4eae6
use uv lock check and uv sync
emilykl Jul 28, 2026
36210e4
Merge pull request #5679 from plotly/run-codegen-color-docstring-update
emilykl Jul 28, 2026
0395a28
update manually-edited files to remove locationmode warning
emilykl Jul 28, 2026
b449fa7
remove locationmode_traces
emilykl Jul 28, 2026
01ad43b
run codegen
emilykl Jul 28, 2026
623abd8
Merge pull request #5683 from plotly/remove-locationmode-warning
emilykl Jul 28, 2026
66aec2f
Merge branch 'v7.0' into add-ci-codegen-check
emilykl Jul 28, 2026
d6504b5
remove unused imports
emilykl Jul 28, 2026
165a2cc
remove try/catch (suggestion from @camdecoster)
emilykl Jul 28, 2026
6775ea5
re-add cache of kaleido_available value
emilykl Jul 28, 2026
5144879
add kaleido_available check to pio.write_images and add test
emilykl Jul 28, 2026
eaf5a4b
fix docstrings
emilykl Jul 28, 2026
aa2b20b
Apply suggestion from @camdecoster
emilykl Jul 28, 2026
8f20566
re-add SphinxGalleryOrcaRenderer with new name SphinxGalleryPngRenderer
emilykl Jul 28, 2026
8ae5708
improve error handling
emilykl Jul 28, 2026
e067cd0
Merge branch 'v7.0' into drop-kaleido-v0
emilykl Jul 28, 2026
7ef02ae
Merge pull request #5677 from plotly/drop-kaleido-v0
emilykl Jul 28, 2026
a4136c7
version changes for v7.0.0rc0
emilykl Jul 28, 2026
18842db
add plotly.js 4.0.0-rc.0 upgrade to changelog
emilykl Jul 29, 2026
0c1a50d
upgrade MathJax in html template from v2 to v3
emilykl Jul 29, 2026
ba4eafc
rearrange sections in 7.0.0rc0
emilykl Jul 29, 2026
a55d3c9
Merge pull request #5684 from plotly/release-7.0.0rc0
emilykl Jul 29, 2026
01b9d44
Merge branch 'main' into v7.0
emilykl Jul 29, 2026
ce1cf3f
Merge pull request #5681 from plotly/add-ci-codegen-check
emilykl Jul 29, 2026
a043b81
Apply suggestions from code review
emilykl Jul 29, 2026
77cd8b5
remove duplicated section
emilykl Jul 29, 2026
be7b278
Merge pull request #5678 from plotly/update-docs-kaleido-v0
emilykl Jul 29, 2026
d634d59
Remove auto-center behavior and hard-coded default zoom from px *_map…
emilykl Jul 29, 2026
9ac02ce
remove hard-coded zoom from px.scatter_map() Percy test, to visually …
emilykl Jul 29, 2026
0e495c0
update changelog
emilykl Jul 29, 2026
79d791a
update zoom docstring
emilykl Jul 30, 2026
8aef5df
Merge pull request #5686 from plotly/fix-bad-default-zoom-5450
emilykl Jul 30, 2026
7788d74
Merge branch 'main' into v7.0
emilykl Aug 7, 2026
d5b617c
doc: Update docs for v7
camdecoster Aug 21, 2026
1c832c5
Revert "doc: Update docs for v7"
camdecoster Aug 21, 2026
939cd69
Merge branch 'main' into v7.0
emilykl Aug 24, 2026
11338e1
update plotly.js to v4.0.0 and re-run codegen and js builds
emilykl Aug 24, 2026
bb7d2de
update color validator for new color formats
emilykl Aug 24, 2026
367886b
change plotly.js master references to main
emilykl Aug 24, 2026
f50f9ff
update changelog
emilykl Aug 25, 2026
860b4f7
Apply suggestion from @camdecoster
emilykl Aug 25, 2026
6bd0b40
update changelog
emilykl Aug 25, 2026
45ecea4
Merge pull request #5711 from plotly/bump-plotlyjs-v4.0.0
emilykl Aug 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 0 additions & 3 deletions .github/workflows/build-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,9 @@ jobs:


- name: Build HTML docs
env:
MAPBOX_TOKEN: ${{ secrets.MAPBOX_TOKEN }}
run: |
cd doc
source .venv/bin/activate
echo "${MAPBOX_TOKEN}" > python/.mapbox_token
make -kj8 || make -kj8
curl https://raw.githubusercontent.com/plotly/graphing-library-docs/master/front-matter-ci.py > front-matter-ci.py
curl https://raw.githubusercontent.com/plotly/graphing-library-docs/master/check-or-enforce-order.py > check-or-enforce-order.py
Expand Down
46 changes: 46 additions & 0 deletions .github/workflows/check-codegen.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Check Python codegen

on:
push:
branches:
- main
pull_request:
types: [opened, reopened, synchronize]

jobs:
check-python-codegen:
name: Check Python codegen
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: "3.x"

- name: Set up uv
uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.0

- name: Install dependencies
run: |
uv venv
source .venv/bin/activate
uv lock --check
uv sync --extra dev_codegen
- name: Run codegen
run: |
source .venv/bin/activate
python commands.py codegen
- name: Check for changes
run: |
# Fail if codegen produced any changes to the working directory.
# This means the committed generated files are out of date and codegen
# needs to be re-run locally and the results committed.
if [ -n "$(git status --porcelain)" ]; then
echo "::error::Generated files are out of date. Please run 'python commands.py codegen' locally and commit the result."
echo "The following files differ after running codegen:"
git status --porcelain
echo ""
exit 1
fi
echo "Generated files are up to date."
6 changes: 3 additions & 3 deletions .github/workflows/run-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ jobs:
python -m pytest -x test_init/test_lazy_imports.py

test-kaleido-v0:
name: Optional tests (Kaleido only), Kaleido v0 (Python 3.12, kaleido 0.2.1)
name: Kaleido v0 RuntimeError verification (Python 3.12, kaleido 0.2.1)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
Expand All @@ -157,7 +157,7 @@ jobs:
uv pip uninstall kaleido
uv pip install kaleido==0.2.1
python --version
- name: Test plotly.io image output with Kaleido v0
- name: Test that plotly.io raises correct error with Kaleido v0
run: |
source .venv/bin/activate
python -m pytest tests/test_optional/test_kaleido
python -m pytest tests/test_optional/test_kaleido/test_kaleido_v0_error.py
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
0
0.html
iframe_figures/
tests/test_orca/images/linux/failed/

*.egg-info

Expand Down Expand Up @@ -49,13 +48,10 @@ plotly.egg-info/
# macOS utility file
**/.DS_Store

tests/test_orca/images/*/failed
tests/test_orca/images/*/tmp
tests/test_core/test_offline/plotly.min.js
temp-plot.html
.vscode
doc/python/.ipynb_checkpoints
doc/python/.mapbox_token
doc/.ipynb_checkpoints
tags
doc/check-or-enforce-order.py
Expand Down
54 changes: 49 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,57 @@ This project adheres to [Semantic Versioning](http://semver.org/).

## Unreleased

### Fixed
- Improve `px.*_map()` auto-fitting behavior when `zoom` and `center` are not specified [[#5686](https://github.com/plotly/plotly.py/pull/5686)]

### Updated
- Update plotly.js from version 3.6.0 to version 4.0.0 [[#5673](https://github.com/plotly/plotly.py/pull/5673)]. This is a major-version release with many changes. See the [plotly.js release notes](https://github.com/plotly/plotly.js/releases/tag/v4.0.0) for the full list. The most significant changes include:
- Add `quiver` trace type to visualize vector fields using arrows [[#7710](https://github.com/plotly/plotly.js/pull/7710), [#7945](https://github.com/plotly/plotly.js/issues/7945)]
- Add "Share Chart" modebar button for generating a chart-sharing link via Plotly Cloud [[#7909](https://github.com/plotly/plotly.js/pull/7909)]
- Remove `scattermapbox`, `choroplethmapbox`, `densitymapbox` trace types, the `mapbox` subplot, and the `mapboxAccessToken` config option [[#7860](https://github.com/plotly/plotly.js/pull/7860)]. Use the equivalent `*map` traces instead.
- The corresponding `graph_objects` and Plotly Express functions have also been removed in plotly.py; use the `map` versions instead
- Drop support for MathJax v2, and add support for v4 [[#7898](https://github.com/plotly/plotly.js/pull/7898)]. MathJax is the JavaScript library used for rendering mathematical equations in plotly charts.
- Switch color processing library from [TinyColor](https://github.com/bgrins/TinyColor) to [culori](https://culorijs.org) [[#7536](https://github.com/plotly/plotly.js/pull/7536), [#7962](https://github.com/plotly/plotly.js/pull/7962)]. There are some changes to supported color string formats as a result:
- `rgb()`/`rgba()` strings with decimal 0–1 fractions are no longer supported
- `hsv()` color strings are no longer supported
- Strings with invalid syntax such as `hsl(120, 50% 50%)` are no longer supported
- New supported formats: `'#ff0000aa'`, `'#f00a'`, `'rgb(255 0 0)'`, `'rgba(255 0 0 / 0.5)'`, `'hsl(0 100% 50% / 0.5)'`, `'hsla(0, 100%, 50%, 0.5)'`, `'hwb(0, 0%, 0%)'`, `lab()`, `lch()`, `oklab()`, `oklch()`, `color()`, `hsl(0.5turn 60% 40%)`, `hsl(none 60% 40%)`
- Replace `country-regex` with `country-iso-search` to search for country names in choropleth, scattergeo traces [[#7856](https://github.com/plotly/plotly.js/pull/7856)]. Most country names are handled exactly the same; a small number of legacy entries have been removed.
- Change `layout.geo.fitbounds` default from `false` to `'locations'` [[#7895](https://github.com/plotly/plotly.js/pull/7895)]. `geo` subplots will now auto-fit the initial view to the trace data by default.
- Dynamically compute `center` and `zoom` values for `scattermap` and `densitymap` traces. The initial map view will now auto-fit to the trace data by default. Add `layout.map.fitbounds` attribute (default `'locations'`) to enable or disable auto-fitting behavior [[#7884](https://github.com/plotly/plotly.js/pull/7884), [#7913](https://github.com/plotly/plotly.js/pull/7913)]
- Fix GeoJSON bounding-box computation for `choropleth` and `scattergeo` traces whose geometry crosses the antimeridian [[#7891](https://github.com/plotly/plotly.js/pull/7891)]



## [7.0.0rc0] - 2026-07-29

### Fixed
- Fix `hex_to_rgb` parsing of 3-digit shorthand hexadecimal colors such as `#FFF` [[#5662](https://github.com/plotly/plotly.py/pull/5662)], with thanks to @genrichez for the contribution!
- Add `<!doctype html>` to the `to_html()` template to comply with modern web standards [[#5693](https://github.com/plotly/plotly.py/pull/5693)], with thanks to @mishrakushal for the contribution!
- Apply `histfunc`/`z` aggregation to `marginal_x`/`marginal_y="histogram"` subplots in `density_heatmap`/`density_contour`, instead of always showing raw bin counts [[#3521](https://github.com/plotly/plotly.py/issues/3521)], with thanks to @lucasjamar for the contribution!
- Fix `mpl_to_plotly` silently dropping matplotlib path collections in data coordinates (such as violin plots, pcolor, event plots, stack plots, fill_between, and stem plots) by rendering them as filled polygons or lines [[#5702](https://github.com/plotly/plotly.py/pull/5702)], with thanks to @robertoffmoura for the contribution!

### Removed
- Remove the deprecated Figure Factory functions `create_2d_density`, `create_annotated_heatmap`, `create_bullet`, `create_candlestick`, `create_choropleth`, `create_distplot`, `create_facet_grid`, `create_gantt`, `create_hexbin_mapbox`, `create_ohlc`, `create_scatterplotmatrix`, and `create_violin` [[#5627](https://github.com/plotly/plotly.py/pull/5627)]
- Remove support for Kaleido versions less than v1.0.0 for static image generation [[#5677](https://github.com/plotly/plotly.py/pull/5677)]
- Remove support for Orca for static image generation [[#5677](https://github.com/plotly/plotly.py/pull/5677)]
- Remove `engine` argument from functions `fig.write_image()`,`fig.to_image()`, `pio.write_image()`, `pio.write_images()`, `pio.to_image()`, `pio.full_figure_for_development()`, and from renderer constructors [[#5677](https://github.com/plotly/plotly.py/pull/5677)]

### Updated
- Update plotly.js from version 3.6.0 to version 4.0.0-rc.0 [[#5673](https://github.com/plotly/plotly.py/pull/5673)]. This is a major-version release candidate with many changes. See the [plotly.js release notes](https://github.com/plotly/plotly.js/releases/tag/v4.0.0-rc.0) for the full list. The most significant changes include:
- Add `quiver` trace type to visualize vector fields using arrows [[#7710](https://github.com/plotly/plotly.js/pull/7710)]
- Add "Share Chart" modebar button for generating a chart-sharing link via Plotly Cloud [[#7909](https://github.com/plotly/plotly.js/pull/7909)]
- Remove `scattermapbox`, `choroplethmapbox`, `densitymapbox` trace types, the `mapbox` subplot, and the `mapboxAccessToken` config option [[#7860](https://github.com/plotly/plotly.js/pull/7860)]. Use the equivalent `*map` traces instead.
- The corresponding `graph_objects` and Plotly Express functions have also been removed in plotly.py; use the `map` versions instead
- Drop support for MathJax v2, and add support for v4 [[#7898](https://github.com/plotly/plotly.js/pull/7898)]. MathJax is the JavaScript library used for rendering mathematical equations in plotly charts.
- Switch color processing library from [TinyColor](https://github.com/bgrins/TinyColor) to [color](https://github.com/Qix-/color) [[#7536](https://github.com/plotly/plotly.js/pull/7536)]. There are some changes to supported color string formats as a result:
- `rgb()`/`rgba()` strings with decimal 0–1 fractions are no longer supported
- `hsv()` color strings are no longer supported
- New supported formats: `'#ff0000aa'`, `'#f00a'`, `'rgb(255 0 0)'`, `'rgba(255 0 0 / 0.5)'`, `'hsl(0 100% 50% / 0.5)'`, `'hsla(0, 100%, 50%, 0.5)'`, `'hwb(0, 0%, 0%)'`
- Replace `country-regex` with `country-iso-search` to search for country names in choropleth, scattergeo traces [[#7856](https://github.com/plotly/plotly.js/pull/7856)]. Most country names are handled exactly the same; a small number of legacy entries have been removed.
- Change `layout.geo.fitbounds` default from `false` to `'locations'` [[#7895](https://github.com/plotly/plotly.js/pull/7895)]. `geo` subplots will now auto-fit the initial view to the trace data by default.
- Dynamically compute `center` and `zoom` values for `scattermap` and `densitymap` traces. The initial map view will now auto-fit to the trace data by default. Add `layout.map.fitbounds` attribute (default `'locations'`) to enable or disable auto-fitting behavior [[#7884](https://github.com/plotly/plotly.js/pull/7884), [#7913](https://github.com/plotly/plotly.js/pull/7913)]
- Fix GeoJSON bounding-box computation for `choropleth` and `scattergeo` traces whose geometry crosses the antimeridian [[#7891](https://github.com/plotly/plotly.js/pull/7891)]

## [6.9.0] - 2026-07-09

Expand All @@ -20,10 +65,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).

### Updated
- Update plotly.js from version 3.6.0 to version 3.7.0. See the plotly.js [release notes](https://github.com/plotly/plotly.js/releases/tag/v3.7.0) for more information [[#5639](https://github.com/plotly/plotly.py/pull/5639)]. Notable changes include:
- Rename `sendDataToCloud` modebar button to `sendChartToCloud`, and update to upload chart to Plotly Cloud [[#7802](https://github.com/plotly/plotly.js/pull/7802), [#7852](https://github.com/plotly/plotly.js/pull/7852), [#7854](https://github.com/plotly/plotly.js/pull/7854)]. NOTE: The Plotly Cloud endpoint for receiving charts is not yet functional, so this button won't complete the upload.
- Fix stale `scattergl` error bars after toggling traces with mixed error bar visibility [[#7773](https://github.com/plotly/plotly.js/issues/7773)], with thanks to @JulienIcon for the contribution!
- Fix geo `fitbounds` to choose a compact longitude range when point data straddles the antimeridian [[#7837](https://github.com/plotly/plotly.js/pull/7837)], with thanks to @SharadhNaidu for the contribution!

- Rename `sendDataToCloud` modebar button to `sendChartToCloud`, and update to upload chart to Plotly Cloud [[#7802](https://github.com/plotly/plotly.js/pull/7802), [#7852](https://github.com/plotly/plotly.js/pull/7852), [#7854](https://github.com/plotly/plotly.js/pull/7854)]
- Fix stale `scattergl` error bars after toggling traces with mixed error bar visibility [[#7773](https://github.com/plotly/plotly.js/issues/7773)]
- Fix geo `fitbounds` to choose a compact longitude range when point data straddles the antimeridian [[#7837](https://github.com/plotly/plotly.js/pull/7837)]

## [6.8.0] - 2026-06-03

Expand Down Expand Up @@ -206,7 +250,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Drop deprecated `zauto`, `zmin` and `zmax` from the surface trace [[#7234](https://github.com/plotly/plotly.js/pull/7234)]
- Drop deprecated `autotick` attributes from cartesian axes [[#7236](https://github.com/plotly/plotly.js/pull/7236)]
- Drop `transforms` from the API [[#7240](https://github.com/plotly/plotly.js/pull/7240), [#7254](https://github.com/plotly/plotly.js/pull/7254)]
- Deprecate Mapbox-based traces.[[#4900](https://github.com/plotly/plotly.py/pull/4900)]. See the [MapLibre Migration](https://plotly.com/python/mapbox-to-maplibre/) page for details on migrating from Mapbox to Maplibre.
- Deprecate Mapbox-based traces.[[#4900](https://github.com/plotly/plotly.py/pull/4900)]. See the [MapLibre Migration](https://plotly.com/python/mapbox-to-maplibre/) page for details on migrating from Mapbox to MapLibre.
- Update plotly.py to use base64 encoding of typed arrays e.g. numpy in plotly JSON to keep precision intact and improve performance [[#4470](https://github.com/plotly/plotly.py/pull/4470)].
- Make plotly-express dataframe agnostic via Narwhals [[#4790](https://github.com/plotly/plotly.py/pull/4790)].
- Update `go.FigureWidget` to use `anywidget` [[#4823](https://github.com/plotly/plotly.py/pull/4823)]
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ python commands.py updateplotlyjsdev --devrepo reponame --devbranch branchname

This fetches the `plotly.js` in the CircleCI artifact of the branch `branchname` of the repo `reponame`.
If `--devrepo` or `--devbranch` are omitted,
`updateplotlyjsdev` defaults to `plotly/plotly.js` and `master` respectively.
`updateplotlyjsdev` defaults to `plotly/plotly.js` and `main` respectively.

### Local Repository

Expand Down
27 changes: 6 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,10 @@ conda install jupyter anywidget
### Static Image Export

plotly.py supports [static image export](https://plotly.com/python/static-image-export/),
using either the [`kaleido`](https://github.com/plotly/Kaleido)
package (recommended, supported as of `plotly` version 4.9) or the [orca](https://github.com/plotly/orca)
command line utility (legacy as of `plotly` version 4.9).
using the [`kaleido`](https://github.com/plotly/Kaleido)
package (version 1.0 or greater).

#### Kaleido

The [`kaleido`](https://github.com/plotly/Kaleido) package has no dependencies and can be installed
Kaleido has minimal dependencies and can be installed
using pip

```
Expand All @@ -125,23 +122,11 @@ or conda
conda install -c conda-forge python-kaleido
```

### Extended Geo Support

Some plotly.py features rely on fairly large geographic shape files. The county
choropleth figure factory is one such example. These shape files are distributed as a
separate `plotly-geo` package. This package can be installed using pip...

```
pip install plotly-geo==1.0.0
```
Kaleido requires Chrome or Chromium to generate images. By default, Kaleido will use the Chrome or Chromium version already installed on your system. If you don't have it installed or Kaleido can't find it, you may need to install it by running the command:

or conda

```
conda install -c plotly plotly-geo=1.0.0
```
`plotly_get_chrome`

`plotly-geo` can be found on Github at https://github.com/plotly/plotly-geo.
on your command line.

## Copyright and Licenses

Expand Down
2 changes: 1 addition & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ to features in the release.
If plotly.js adds new traces or trace/layout attributes that aren't listed in `orderings.json`, `get_plotschema.py` prints a warning like `missing key in attributes: <attribute-name>` and appends the missing entry to the end of its section. To resolve:

- Add each missing attribute to the appropriate section of `/_data/orderings.json` in the position you want it to appear in the reference docs.
- When in doubt about trace-attribute placement, match plotly.js's native order: open the regenerated `_data/plotschema.json` and find where plotly.js itself places the attribute (e.g. inspect a representative trace's `attributes` keys in order). Following the native order keeps related attributes grouped (for example, `texttemplate` → `texttemplatefallback` → `texttemplatesrc`).
- When in doubt about trace-attribute placement, match plotly.js's native order: open the regenerated `_data/plotschema.json` and find where plotly.js itself places the attribute (e.g. inspect a representative trace's `attributes` keys in order). Following the native order keeps related attributes grouped (for example, `texttemplate` → `texttemplatefallback`).
- For new top-level layout attributes, group them with semantically related entries rather than appending to the end (for example, a new click-behavior attribute like `clickanywhere` belongs next to `clickmode`).
- Re-run `python get_plotschema.py <PLOTLY.JS VERSION>` after editing `orderings.json` and confirm the warnings are gone.
3. Rebuild the Algolia `schema` index with `ALGOLIA_API_KEY=<key> make update_ref_search`
Expand Down
Loading
Loading