MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / get_ydata

Method get_ydata

lib/matplotlib/legend_handler.py:654–660  ·  view source on GitHub ↗
(self, legend, xdescent, ydescent, width, height, fontsize)

Source from the content-addressed store, hash-verified

652 self._bottom = bottom
653
654 def get_ydata(self, legend, xdescent, ydescent, width, height, fontsize):
655 if self._yoffsets is None:
656 ydata = height * (0.5 * legend._scatteryoffsets + 0.5)
657 else:
658 ydata = height * np.asarray(self._yoffsets)
659
660 return ydata
661
662 def create_artists(self, legend, orig_handle,
663 xdescent, ydescent, width, height, fontsize,

Callers 2

create_artistsMethod · 0.95
create_artistsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected