class_docstr: The class representing a figure created using the ``hail.ggplot`` module.
  
  Create one by using :func:`.ggplot`.
  
  .. automethod:: to_plotly
  .. automethod:: show
  .. automethod:: write_image
code: def __init__(
      self,
      ht,
      aes,
      geoms=[],
      labels=Labels(),
      coord_cartesian=None,
      scales=None,
      facet=None,
  ):
      if scales is None:
          scales = {}
  
      self.ht = ht
      self.aes = aes
      self.geoms = geoms
      self.labels = labels
      self.coord_cartesian = coord_cartesian
      self.scales = scales
      self.facet = facet
  
      self.add_default_scales(aes)
  
imports: from plotly.subplots import make_subplots
  from pprint import pprint
  import itertools
  import hail
  from .coord_cartesian import CoordCartesian
  from .geoms import Geom, FigureAttribute
  from .labels import Labels
  from .scale import Scale, ScaleContinuous, ScaleDiscrete, scale_x_continuous, scale_x_genomic, scale_y_continuous, scale_x_discrete, scale_y_discrete, scale_color_discrete, scale_color_continuous, scale_fill_discrete, scale_fill_continuous, scale_shape_auto
  from .aes import Aesthetic, aes
  from .facets import Faceter
  from .utils import is_continuous_type, is_genomic_type, check_scale_continuity
label_desc: Use image node_id 1 to create a new GGPlot object  with example: obj = GGPlot(ht, aes, geoms, labels, coord_cartesian, scales, facet)