class_docstr: Space in the figure for artists above the panels
  
  Ordered from the edge of the figure and going inwards
class_docstr_tok: ["Space","in","the","figure","for","artists","above","the","panels","Ordered","from","the","edge","of","the","figure","and","going","inwards"]
docstr: Distance w.r.t figure height from the top edge of the figure
docstr_tok: ["Distance","w.r.t","figure","height","from","the","top","edge","of","the","figure"]
code: def edge(self, item: str) -> float:
      """
      Distance w.r.t figure height from the top edge of the figure
      """
      return 1 - self.sum_upto(item)
  
imports: from __future__ import annotations
  import typing
  from abc import ABC
  from dataclasses import dataclass, fields
  from itertools import chain
  from matplotlib._tight_layout import get_subplotspec_list
  from ..facets import facet_grid, facet_null, facet_wrap
  from .patches import SFancyBboxPatch
  from .utils import bbox_in_figure_space, tight_bbox_in_figure_space
label_desc: Use image node_id 2 for calling the top_spaces obj's underlying member method code with example usage: obj.edge(item) and returns: unknown