class_docstr: Create a Heatmap layer
  
  Parameters
  ----------
  data : list of points of the form [lat, lng] or [lat, lng, weight]
      The points you want to plot.
      You can also provide a numpy.array of shape (n,2) or (n,3).
  name : string, default None
      The name of the Layer, as it will appear in LayerControls.
  min_opacity  : default 1.
      The minimum opacity the heat will start at.
  max_zoom : default 18
      Zoom level where the points reach maximum intensity (as intensity
      scales with zoom), equals maxZoom of the map by default
  radius : int, default 25
      Radius of each "point" of the heatmap
  blur : int, default 15
      Amount of blur
  gradient : dict, default None
      Color gradient config. e.g. {0.4: 'blue', 0.65: 'lime', 1: 'red'}
  overlay : bool, default True
      Adds the layer as an optional overlay (True) or the base layer (False).
  control : bool, default True
      Whether the Layer will be included in LayerControls.
  show: bool, default True
      Whether the layer will be shown on opening.
class_docstr_tok: ["Create","a","Heatmap","layer","Parameters","--","--","--","--","--","data",":","list","of","points","of","the","form","[","lat",",","lng","]","or","[","lat",",","lng",",","weight","]","The","points","you","want","to","plot",".","You","can","also","provide","a","numpy.array","of","shape","(","n,2",")","or","(","n,3",")",".","name",":","string",",","default","None","The","name","of","the","Layer",",","as","it","will","appear","in","LayerControls",".","min_opacity",":","default","1",".","The","minimum","opacity","the","heat","will","start","at",".","max_zoom",":","default","18","Zoom","level","where","the","points","reach","maximum","intensity","(","as","intensity","scales","with","zoom",")",",","equals","maxZoom","of","the","map","by","default","radius",":","int",",","default","25","Radius","of","each","``","point","''","of","the","heatmap","blur",":","int",",","default","15","Amount","of","blur","gradient",":","dict",",","default","None","Color","gradient","config",".","e.g",".","{","0.4",":","'blue","'",",","0.65",":","'lime","'",",","1",":","'red","'","}","overlay",":","bool",",","default","True","Adds","the","layer","as","an","optional","overlay","(","True",")","or","the","base","layer","(","False",")",".","control",":","bool",",","default","True","Whether","the","Layer","will","be","included","in","LayerControls",".","show",":","bool",",","default","True","Whether","the","layer","will","be","shown","on","opening","."]
docstr: Computes the bounds of the object itself (not including it's children)
  in the form [[lat_min, lon_min], [lat_max, lon_max]].
docstr_tok: ["Computes","the","bounds","of","the","object","itself","(","not","including","it","'s","children",")","in","the","form","[","[","lat_min",",","lon_min","]",",","[","lat_max",",","lon_max","]","]","."]
code: def _get_self_bounds(self):
      """
      Computes the bounds of the object itself (not including it's children)
      in the form [[lat_min, lon_min], [lat_max, lon_max]].
  
      """
  
      bounds = [[None, None], [None, None]]
      for point in self.data:
          bounds = [
              [
                  none_min(bounds[0][0], point[0]),
                  none_min(bounds[0][1], point[1]),
              ],
              [
                  none_max(bounds[1][0], point[0]),
                  none_max(bounds[1][1], point[1]),
              ],
          ]
      return bounds
  
file_path: folium/folium/plugins/heat_map.py
imports: import warnings
  import numpy
  from jinja2 import Template
  from folium.elements import JSCSSMixin
  from folium.map import Layer
  from folium.utilities import if_pandas_df_convert_to_numpy, none_max, none_min, parse_options, validate_location
label_desc: Use image node_id 2 for calling the HeatMap obj's underlying member method code with example usage: obj._get_self_bounds() and returns: bounds