Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7a9cdb7

Browse filesBrowse files
author
SaumyaBhushan
committed
Corrected docstring for artist.Artist.set_agg_filter
1 parent 86b777b commit 7a9cdb7
Copy full SHA for 7a9cdb7

File tree

Expand file treeCollapse file tree

1 file changed

+5
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-3
lines changed

‎lib/matplotlib/artist.py

Copy file name to clipboardExpand all lines: lib/matplotlib/artist.py
+5-3Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -934,11 +934,13 @@ def set_agg_filter(self, filter_func):
934934
Parameters
935935
----------
936936
filter_func : callable
937-
A filter function, which takes a (m, n, 3) float array and a dpi
938-
value, and returns a (m, n, 3) array.
937+
A filter function, which takes a (m, n, depth) float array and a dpi
938+
value, and returns a (m, n, depth) array and two offsets from the bottom
939+
left corner of the image
939940
940941
.. ACCEPTS: a filter function, which takes a (m, n, 3) float array
941-
and a dpi value, and returns a (m, n, 3) array
942+
and a dpi value, and returns a (m, n, 3) array and two offsets
943+
from the bottom left corner of the image
942944
"""
943945
self._agg_filter = filter_func
944946
self.stale = True

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.