trame.html.deckgl

You can find more information about using deck.gl with trame here.

class trame.html.deckgl.Deck(name=None, deck=None, **kwargs)[source]

Bases: trame.html.AbstractElement

Deck.gl component. See vue-deck docs here for more info.

Parameters
  • name (str | None) – Identifier for this element in shared state. Generated if not given

  • deck – pydeck instance to display

  • mapboxApiKey – See vue-deck docs here for more info

  • tooltip – See vue-deck docs here for more info

  • customLibraries – See vue-deck docs here for more info

static to_jsonInput(deck)[source]

Serialize pydeck instance

update(deck=None, **kwargs)[source]

Change the deck this component displays

Parameters

deck – pydeck instance to display