8000 Fix the doc of GraphicsContextBase.set_clip_rectangle. by anntzer · Pull Request #18995 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Fix the doc of GraphicsContextBase.set_clip_rectangle. #18995

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 23, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions lib/matplotlib/backend_bases.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
0