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

Method _zero_in_bounds

lib/matplotlib/projections/polar.py:455–461  ·  view source on GitHub ↗

Return True if zero is within the valid values for the scale of the radial axis.

(self)

Source from the content-addressed store, hash-verified

453 return self.base()
454
455 def _zero_in_bounds(self):
456 """
457 Return True if zero is within the valid values for the
458 scale of the radial axis.
459 """
460 vmin, vmax = self.base.axis._scale.limit_range_for_scale(0, 1, 1e-5)
461 return vmin == 0
462
463 def nonsingular(self, vmin, vmax):
464 # docstring inherited

Callers 2

nonsingularMethod · 0.95
view_limitsMethod · 0.95

Calls 1

limit_range_for_scaleMethod · 0.45

Tested by

no test coverage detected