I am building a package to visualize football/soccer data: https://github.com/andrewRowlinson/mplsoccer.
The main Pitch class has methods that wrap around matplotlib’s plotting methods, e.g. ax.scatter, ax.plot etc… The main reason for including these methods are because the pitches are often flipped vertically, which switches the x and y axis. People often forget to do this, so I want to do it automatically. As well as add some extra features like rotating markers.
I was wondering what is the best way of documenting these methods that wrap around Matplotlib’s methods. Do I just copy the docstrings manually and paste them, or do you use some library to do this automatically? Also is there any issues with copying the docs from Matplotlib as I ideally want to release it with an MIT license.