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

Method view_limits

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

Source from the content-addressed store, hash-verified

469 return self.base.nonsingular(vmin, vmax)
470
471 def view_limits(self, vmin, vmax):
472 vmin, vmax = self.base.view_limits(vmin, vmax)
473 if self._zero_in_bounds() and vmax > vmin:
474 # this allows inverted r/y-lims
475 vmin = min(0, vmin)
476 return mtransforms._nonsingular(vmin, vmax)
477
478
479class _ThetaShift(mtransforms.ScaledTranslation):

Callers

nothing calls this directly

Calls 2

_zero_in_boundsMethod · 0.95
view_limitsMethod · 0.45

Tested by

no test coverage detected