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

Skip to content

Commit 6b8725f

Browse files
committed
Add a docstring to toolkit's BezierPath.__init__.
This breaks on new Sphinx due to missing the docstring for the inherited methods that the superclass docstring references, but this method doesn't need it.
1 parent ecdfa65 commit 6b8725f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/mpl_toolkits/axisartist/axis_artist.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,14 @@
108108
class BezierPath(Line2D):
109109

110110
def __init__(self, path, *args, **kwargs):
111+
"""
112+
Parameters
113+
----------
114+
path : `~.path.Path`
115+
The path to draw.
116+
**kwargs
117+
All remaining keyword arguments are passed to `.Line2D`.
118+
"""
111119
Line2D.__init__(self, [], [], *args, **kwargs)
112120
self._path = path
113121
self._invalid = False

0 commit comments

Comments
 (0)