docstr: Update a deck.gl map to reflect the current configuration
  
  For example, if you've modified data passed to Layer and rendered the map using `.show()`,
  you can call `update` to change the data on the map.
  
  Intended for use in a Jupyter environment.
docstr_tok: ["Update","a","deck.gl","map","to","reflect","the","current","configuration","For","example",",","if","you","'ve","modified","data","passed","to","Layer","and","rendered","the","map","using","`",".show","(",")","`",",","you","can","call","`","update","`","to","change","the","data","on","the","map",".","Intended","for","use","in","a","Jupyter","environment","."]
code: def update(self):
      """Update a deck.gl map to reflect the current configuration
  
      For example, if you've modified data passed to Layer and rendered the map using `.show()`,
      you can call `update` to change the data on the map.
  
      Intended for use in a Jupyter environment.
      """
      if not has_jupyter_extra():
          raise ImportError(
              "Install the Jupyter extra for pydeck with your package manager, e.g. `pip install pydeck[jupyter]`"
          )
      self.deck_widget.json_input = self.to_json()
      has_binary = False
      binary_data_sets = []
      for layer in self.layers:
          if layer.use_binary_transport:
              binary_data_sets.extend(layer.get_binary_data())
              has_binary = True
      if has_binary:
          self.deck_widget.data_buffer = binary_data_sets
  
file_path: deck.gl/bindings/pydeck/pydeck/bindings/deck.py
imports: import os
  import sys
  from .json_tools import JSONMixin
  from .layer import Layer
  from ..io.html import deck_to_html
  from ..settings import settings
  from .view import View
  from .view_state import ViewState
  from .base_map_provider import BaseMapProvider
  from .map_styles import DARK, get_from_map_identifier
label_desc: Use image node_id 5 for calling the Deck obj's underlying member method code with example usage: obj.update() without return types