Jupyter-specific features¶
Jupyter environments offer unique opportunities for two-way data interaction, sharing data between the Python backend and visualization in deck.gl.
To use a visualization with these features, call pydeck.bindings.deck.Deck.show()
on the pydeck.bindings.deck.Deck
object
rather than pydeck.bindings.deck.Deck.to_html()
.
- Data updates. By calling
pydeck.bindings.deck.Deck.update()
on apydeck.bindings.deck.Deck
object with a new visualization configuration, you can seamless push new data into a pre-existing visualization.

Conway’s Game of Life in pydeck
- Binary data transfer. For certain data sets pydeck can support many millions of points by using Jupyter’s socket-level communication. Further documentation is here.
- Data selection. Data can be selected within a pydeck visualization and pushed back to the client. Holding Command while clicking allows the user to select multiple points.

Interactive examples for these features are available on mybinder.org. Click the Binder logo below: