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

Method nonsingular

lib/matplotlib/projections/polar.py:463–469  ·  view source on GitHub ↗
(self, vmin, vmax)

Source from the content-addressed store, hash-verified

461 return vmin == 0
462
463 def nonsingular(self, vmin, vmax):
464 # docstring inherited
465 if self._zero_in_bounds() and (vmin, vmax) == (-np.inf, np.inf):
466 # Initial view limits
467 return (0, 1)
468 else:
469 return self.base.nonsingular(vmin, vmax)
470
471 def view_limits(self, vmin, vmax):
472 vmin, vmax = self.base.view_limits(vmin, vmax)

Callers 1

handle_single_axisMethod · 0.45

Calls 1

_zero_in_boundsMethod · 0.95

Tested by

no test coverage detected