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

Method containsy

lib/matplotlib/transforms.py:410–415  ·  view source on GitHub ↗

Return whether *y* is in the closed (:attr:`y0`, :attr:`y1`) interval.

(self, y)

Source from the content-addressed store, hash-verified

408 return x0 <= x <= x1 or x0 >= x >= x1
409
410 def containsy(self, y):
411 """
412 Return whether *y* is in the closed (:attr:`y0`, :attr:`y1`) interval.
413 """
414 y0, y1 = self.intervaly
415 return y0 <= y <= y1 or y0 >= y >= y1
416
417 def contains(self, x, y):
418 """

Callers 1

containsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected