diff --git a/docs/install-manual-detailed.md b/docs/install-manual-detailed.md index 99c688649ee93aacd04f598742a696647310a2e4..bb089c370d938384ef2d0aeb473d600c053a5eb7 100644 --- a/docs/install-manual-detailed.md +++ b/docs/install-manual-detailed.md @@ -61,6 +61,7 @@ in parallel. You can find more background information and installation instructions [here](https://packaging.python.org/en/latest/extensions/#setting-up-a-build-environment-on-windows), [here](https://blogs.msdn.microsoft.com/pythonengineering/2016/04/11/unable-to-find-vcvarsall-bat/), +[here](https://matthew-brett.github.io/pydagogue/python_msvc.html), or [here](http://stevedower.id.au/blog/building-for-python-3-5-part-two/). diff --git a/wetb/prepost/mplutils.py b/wetb/prepost/mplutils.py index b8ca174a3a72b42fab45c9ee6b5030dfa0931349..02e60e24a26c64b18b2f94ffeb9023f5e79a4ff3 100644 --- a/wetb/prepost/mplutils.py +++ b/wetb/prepost/mplutils.py @@ -114,6 +114,10 @@ def match_axis_ticks(ax1, ax2, ax1_format=None, ax2_format=None): def one_legend(*args, **kwargs): + """First list all the axes as arguments. Any keyword arguments will be + passed on to ax.legend(). Legend will be placed on the last axes that was + passed as an argument. + """ # or more general: not only simple line plots (bars, hist, ...) objs = [] for ax in args: