class_docstr: Create a heatmap viz
docstr: Update map template variables specific to heatmap visual
docstr_tok: ["Update","map","template","variables","specific","to","heatmap","visual"]
code: def add_unique_template_variables(self, options):
      """Update map template variables specific to heatmap visual"""
      options.update(
          dict(
              colorStops=self.color_stops,
              radiusStops=self.radius_stops,
              weightProperty=self.weight_property,
              weightStops=self.weight_stops,
              intensityStops=self.intensity_stops,
          )
      )
      if self.vector_source:
          options.update(
              dict(
                  vectorWeightStops=self.generate_vector_numeric_map(
                      "weight"
                  )
              )
          )
  
imports: import codecs
  import json
  import os
  from IPython.core.display import HTML, display
  import numpy
  import requests
  from mapboxgl.errors import TokenError, LegendError
  from mapboxgl.utils import color_map, numeric_map, img_encode, geojson_to_dict_list
  from mapboxgl import templates
label_desc: Use image node_id 2 for calling the HeatmapViz obj's underlying member method code with example usage: obj.add_unique_template_variables(options) without return types