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
docstr: Write out this plot as an image.
  
  This requires you to have installed the python package kaleido from pypi.
  
  Parameters
  ----------
  path: :class:`str`
      The path to write the file to.
docstr_tok: ["Write","out","this","plot","as","an","image",".","This","requires","you","to","have","installed","the","python","package","kaleido","from","pypi",".","Parameters","--","--","--","--","--","path",":",":","class",":","`","str","`","The","path","to","write","the","file","to","."]
code: def write_image(self, path):
      """Write out this plot as an image.
  
      This requires you to have installed the python package kaleido from pypi.
  
      Parameters
      ----------
      path: :class:`str`
          The path to write the file to.
      """
      self.to_plotly().write_image(path)
  
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 8 for calling the GGPlot obj's underlying member method code with example usage: obj.write_image(path) without return types