Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 29c6d76

Browse files
authored
Merge pull request #22475 from meeseeksmachine/auto-backport-of-pr-22474-on-v3.5.x
Backport PR #22474 on branch v3.5.x (Clarify secondary_axis documentation)
2 parents 4785d0a + 4176b9d commit 29c6d76

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/matplotlib/axes/_secondary_axes.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,8 @@ def set_color(self, color):
276276
If a 2-tuple of functions, the user specifies the transform
277277
function and its inverse. i.e.
278278
``functions=(lambda x: 2 / x, lambda x: 2 / x)`` would be an
279-
reciprocal transform with a factor of 2.
279+
reciprocal transform with a factor of 2. Both functions must accept
280+
numpy arrays as input.
280281
281282
The user can also directly supply a subclass of
282283
`.transforms.Transform` so long as it has an inverse.

0 commit comments

Comments
 (0)