MCPcopy Create free account
hub / github.com/matplotlib/matplotlib / __init__

Method __init__

lib/mpl_toolkits/axisartist/grid_finder.py:271–279  ·  view source on GitHub ↗
(self, nbins=10, steps=None,
                 trim=True,
                 integer=False,
                 symmetric=False,
                 prune=None)

Source from the content-addressed store, hash-verified

269
270class MaxNLocator(mticker.MaxNLocator):
271 def __init__(self, nbins=10, steps=None,
272 trim=True,
273 integer=False,
274 symmetric=False,
275 prune=None):
276 # trim argument has no effect. It has been left for API compatibility
277 super().__init__(nbins, steps=steps, integer=integer,
278 symmetric=symmetric, prune=prune)
279 self.create_dummy_axis()
280
281 def __call__(self, v1, v2):
282 locs = super().tick_values(v1, v2)

Callers

nothing calls this directly

Calls 2

create_dummy_axisMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected