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

Method get_numpoints

lib/matplotlib/legend_handler.py:187–191  ·  view source on GitHub ↗
(self, legend)

Source from the content-addressed store, hash-verified

185 self._marker_pad = marker_pad
186
187 def get_numpoints(self, legend):
188 if self._numpoints is None:
189 return legend.numpoints
190 else:
191 return self._numpoints
192
193 def get_xdata(self, legend, xdescent, ydescent, width, height, fontsize):
194 numpoints = self.get_numpoints(legend)

Callers 2

get_xdataMethod · 0.95
create_artistsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected