mpl.figure.Bbox.containsx

Bbox.containsx(x)

Returns True if x is between or equal to x0 and x1.