class_docstr: Plot functions for denxity X & Y:
  
  Methods:
      - hexbin
class_docstr_tok: ["Plot","functions","for","denxity","X","&","Y",":","Methods",":","-","hexbin"]
docstr: Hexbin.
  
  Args:
      data_frame (pandas.DataFrame): Data source for the plot.
      x_values_column (str): Column of numeric values to bin into tiles.
      y_values_column (str): Column of numeric values to bin into tiles.
      size (float): Bin size for the tiles.
      color_palette (str, chartify.ColorPalette): Color palette to
          apply to the tiles.
          See chartify.color_palettes.show() for available color palettes.
      reverse_color_order (bool): Reverse order of the color palette.
      orientation (str): "pointytop" or "flattop". Whether the hexagonal
          tiles should be oriented with a pointed corner on top, or a
          flat side on top.
      color_value_range (int): The size of the range of colors in
          the color palette.
          A larger color range will result in greater variation
          among the cell colors.
docstr_tok: ["Hexbin",".","Args",":","data_frame","(","pandas.DataFrame",")",":","Data","source","for","the","plot",".","x_values_column","(","str",")",":","Column","of","numeric","values","to","bin","into","tiles",".","y_values_column","(","str",")",":","Column","of","numeric","values","to","bin","into","tiles",".","size","(","float",")",":","Bin","size","for","the","tiles",".","color_palette","(","str",",","chartify.ColorPalette",")",":","Color","palette","to","apply","to","the","tiles",".","See","chartify.color_palettes.show","(",")","for","available","color","palettes",".","reverse_color_order","(","bool",")",":","Reverse","order","of","the","color","palette",".","orientation","(","str",")",":","``","pointytop","''","or","``","flattop","''",".","Whether","the","hexagonal","tiles","should","be","oriented","with","a","pointed","corner","on","top",",","or","a","flat","side","on","top",".","color_value_range","(","int",")",":","The","size","of","the","range","of","colors","in","the","color","palette",".","A","larger","color","range","will","result","in","greater","variation","among","the","cell","colors","."]
code: def hexbin(
      self,
      data_frame,
      x_values_column,
      y_values_column,
      size,
      color_palette="Blues",
      reverse_color_order=False,
      orientation="pointytop",
      color_value_range=10,
  ):
      """Hexbin.
  
      Args:
          data_frame (pandas.DataFrame): Data source for the plot.
          x_values_column (str): Column of numeric values to bin into tiles.
          y_values_column (str): Column of numeric values to bin into tiles.
          size (float): Bin size for the tiles.
          color_palette (str, chartify.ColorPalette): Color palette to
              apply to the tiles.
              See chartify.color_palettes.show() for available color palettes.
          reverse_color_order (bool): Reverse order of the color palette.
          orientation (str): "pointytop" or "flattop". Whether the hexagonal
              tiles should be oriented with a pointed corner on top, or a
              flat side on top.
          color_value_range (int): The size of the range of colors in
              the color palette.
              A larger color range will result in greater variation
              among the cell colors.
      """
      if isinstance(color_palette, str):
          color_palette = color_palettes[color_palette]
      if reverse_color_order:
          color_palette = color_palette[::-1]
      color_palette = color_palette.expand_palette(color_value_range)
      color_palette = [c.get_hex_l() for c in color_palette.colors]
  
      # Set the chart aspect ratio otherwise the hexbins won't be symmetric.
      aspect_scale = (
          self._chart.style.plot_width / self._chart.style.plot_height
      )
      self._chart.figure.match_aspect = True
      self._chart.figure.aspect_scale = aspect_scale
      self._chart.figure.hexbin(
          data_frame[x_values_column],
          data_frame[y_values_column],
          size=size,
          orientation=orientation,
          aspect_scale=aspect_scale,
          palette=color_palette,
          line_color="white",
      )
  
      return self._chart
  
imports: import bokeh
  import pandas
  import numpy
  from chartify._core.colors import Color, color_palettes
  from chartify._core.axes import NumericalYMixin, NumericalXMixin
  from scipy.stats import gaussian_kde
label_desc: Use image node_id 1 for calling the PlotDensityXY obj's underlying member method code with example usage: obj.hexbin(data_frame, x_values_column, y_values_column, size, color_palette, reverse_color_order, orientation, color_value_range) and returns: self