We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 20f5034 + 31f44da commit 6cba8d9Copy full SHA for 6cba8d9
lib/matplotlib/artist.py
@@ -934,11 +934,13 @@ def set_agg_filter(self, filter_func):
934
Parameters
935
----------
936
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.
+ A filter function, which takes a (m, n, depth) float array
+ and a dpi value, and returns a (m, n, depth) array and two
939
+ offsets from the bottom left corner of the image
940
941
.. ACCEPTS: a filter function, which takes a (m, n, 3) float array
- 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
944
"""
945
self._agg_filter = filter_func
946
self.stale = True
0 commit comments