8000 Update lib/matplotlib/scale.py · matplotlib/matplotlib@b9cd8a0 · GitHub
[go: up one dir, main page]

Skip to content

Commit b9cd8a0

Browse files
vagnermcjtimhoffm
andauthored
Update lib/matplotlib/scale.py
Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
1 parent 335fcd5 commit b9cd8a0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lib/matplotlib/scale.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,11 @@ def _make_axis_parameter_optional(init_func):
109109
Decorator to allow leaving out the *axis* parameter in scale constructors.
110110
111111
This decorator ensures backward compatibility for scale classes that
112-
previously required an *axis* parameter. It allows constructors to work
113-
seamlessly with or without the *axis* parameter.
112+
previously required an *axis* parameter. It allows constructors to be
113+
callerd with or without the *axis* parameter.
114+
115+
For simplicity, this does not handle the case when *axis* is passed as a keyword. Howver,
116+
scanning GitHub, there's no evidence that that is used anywhere.
114117
115118
Parameters
116119
----------

0 commit comments

Comments
 (0)
0