Skip to content

Commit b2d2bc7

Browse files
Add default param to secax constructor
1 parent 9d475ae commit b2d2bc7

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
@@ -14,7 +14,8 @@ class SecondaryAxis(_AxesBase):
1414
General class to hold a Secondary_X/Yaxis.
1515
"""
1616

17-
def __init__(self, parent, orientation, location, functions, transform, **kwargs):
17+
def __init__(self, parent, orientation, location, functions, transform=None,
18+
**kwargs):
1819
"""
1920
See `.secondary_xaxis` and `.secondary_yaxis` for the doc string.
2021
While there is no need for this to be private, it should really be

0 commit comments

Comments
 (0)