diff --git a/lib/matplotlib/backend_bases.py b/lib/matplotlib/backend_bases.py index b3c2225a267b..6222a7cae486 100644 --- a/lib/matplotlib/backend_bases.py +++ b/lib/matplotlib/backend_bases.py @@ -924,19 +924,11 @@ def set_capstyle(self, cs): self._capstyle = cs def set_clip_rectangle(self, rectangle): - """ - Set the clip rectangle with sequence (left, bottom, width, height) - """ + """Set the clip rectangle to a `.Bbox` or None.""" self._cliprect = rectangle def set_clip_path(self, path): - """ - Set the clip path and transformation. - - Parameters - ---------- - path : `~matplotlib.transforms.TransformedPath` or None - """ + """Set the clip path to a `.TransformedPath` or None.""" cbook._check_isinstance((transforms.TransformedPath, None), path=path) self._clippath = path