Skip to content

docs(pydeck): Paris Trees gallery example with deck.gl-community TreeLayer - #10799

Merged
chrisgervang merged 1 commit into
chr/pydeck-community-librariesfrom
chr/pydeck-tree-layer-example
Oct 8, 2026
Merged

chrisgervang merged 1 commit into
chr/pydeck-community-librariesfrom
chr/pydeck-tree-layer-example

Conversation

@chrisgervang

@chrisgervang chrisgervang commented Oct 4, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #10800

Background

The deck.gl-community page in #10761 has no complete example with a released community layer. This adds a gallery example with TreeLayer from @deck.gl-community/three, loaded with register_library(npm=...).

Stacked on #10761. Tracked in #10763.

Change List

  • paris_trees.py: 3D street trees around the Arc de Triomphe
  • Gallery "Community" section, images.rst entry and thumbnail
  • community_libraries.rst: "Example: 3D trees" section
  • snap_thumbnails.py: longer wait for paris_trees
  • Documentation

Verified with the #10794 widget build in Chromium, Firefox and WebKit: trees render and pick.

Paris street trees drawn with TreeLayer


Note

Low Risk
Documentation and example-only changes with no runtime API or library behavior modifications.

Overview
Adds a Paris Trees pydeck gallery example that loads @deck.gl-community/three via register_library(npm=...) and renders Arc de Triomphe street trees with community TreeLayer (DataFrame-driven accessors for type, height, canopy, and autumn colors).

Docs and gallery wiring follow the new script: a Community section on the gallery grid, images.rst thumbnail/toctree entry, an Example: 3D trees section in community_libraries.rst (including the note that accessors must be columns), a CHANGELOG bullet, and treating paris_trees as a large example in snap_thumbnails.py for slower screenshot capture.

Reviewed by Cursor Bugbot for commit 34caada. Bugbot is set up for automated code reviews on this repo. Configure here.

@chrisgervang chrisgervang added this to the pydeck 0.9.4 milestone Oct 4, 2026
@chrisgervang
chrisgervang added this pull request to stack #10798 October 4, 2026 04:43
@chrisgervang
chrisgervang marked this pull request as ready for review October 4, 2026 04:43
@greptile-apps

greptile-apps Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

RetriggerConfidence Score: 5/5

[Low impact] The current PR appears safe to merge; no actionable issue was identified in its changes.

Summary

Adds a Paris Trees pydeck gallery example using the community TreeLayer, with gallery navigation, documentation, a thumbnail, and a longer thumbnail-capture wait.

Reviews (7) · Last reviewed commit: "docs(pydeck): add Paris Trees gallery ex..." · Reviewed by Greptile

@coveralls

coveralls commented Oct 4, 2026 •

Copy link
Copy Markdown

Coverage Status

Coverage is 83.419% — chr/pydeck-tree-layer-example into chr/pydeck-community-libraries. No base build found for chr/pydeck-community-libraries.

@chrisgervang
chrisgervang force-pushed the chr/pydeck-tree-layer-example branch from de362a3 to 0b891b3 Compare October 4, 2026 04:50
@chrisgervang
chrisgervang force-pushed the chr/pydeck-tree-layer-example branch from 0b891b3 to 517df06 Compare October 4, 2026 04:57
@chrisgervang
chrisgervang force-pushed the chr/pydeck-tree-layer-example branch from 517df06 to 7380be2 Compare October 4, 2026 17:51
@greptile-apps

This comment has been minimized.

@chrisgervang
chrisgervang force-pushed the chr/pydeck-tree-layer-example branch from 7380be2 to 593997f Compare October 4, 2026 18:45

@charlieforward9 charlieforward9 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😍

Not a pydeck user, but I am running a rewrite of the TreeLayer right now to be vis.gl native and much more powerful (opts for shade, animation, etc). I love to see the usage!

Will be putting it into @deck.gl.community/layers when I am finished to tighten the scope of modules better.

@chrisgervang
chrisgervang force-pushed the chr/pydeck-tree-layer-example branch from 593997f to 1e0cc26 Compare October 8, 2026 19:09
@chrisgervang
chrisgervang force-pushed the chr/pydeck-tree-layer-example branch from 1e0cc26 to 34caada Compare October 8, 2026 19:21
@chrisgervang
chrisgervang merged commit 5cea158 into master Oct 8, 2026
8 checks passed
chrisgervang added a commit that referenced this pull request Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pydeck: load any deck.gl ES module from npm

4 participants