MCPcopy Create free account
hub / github.com/ColdGrub1384/Pyto / __init__

Method __init__

site-packages/matplotlib/offsetbox.py:870–882  ·  view source on GitHub ↗
(self, aux_transform)

Source from the content-addressed store, hash-verified

868 calculated in the transformed coordinate.
869 """
870 def __init__(self, aux_transform):
871 self.aux_transform = aux_transform
872 OffsetBox.__init__(self)
873
874 self.offset_transform = mtransforms.Affine2D()
875 self.offset_transform.clear()
876 self.offset_transform.translate(0, 0)
877
878 # ref_offset_transform is used to make the offset_transform is
879 # always reference to the lower-left corner of the bbox of its
880 # children.
881 self.ref_offset_transform = mtransforms.Affine2D()
882 self.ref_offset_transform.clear()
883
884 def add_artist(self, a):
885 'Add any :class:`~matplotlib.artist.Artist` to the container box'

Callers

nothing calls this directly

Calls 3

__init__Method · 0.45
clearMethod · 0.45
translateMethod · 0.45

Tested by

no test coverage detected