diff --git a/doc/dev_guide/writing_docs.rst b/doc/dev_guide/writing_docs.rst index c8c7d603ac..c7da836c01 100644 --- a/doc/dev_guide/writing_docs.rst +++ b/doc/dev_guide/writing_docs.rst @@ -13,9 +13,9 @@ Docstrings Written at the start of a function, they give essential information about how it should be used, such as which arguments can be passed to it and what the syntax should be. The docstrings need to follow the `numpy -specification `_, as shown in `this example -`_. +specification `_, +as shown in `this example +`_. As a general rule, any code that is part of the public API (i.e. any function or class that an end-user might access) should have a clear and comprehensive diff --git a/doc/user_guide/eds.rst b/doc/user_guide/eds.rst index 735c85b80c..b6d73a7d8a 100644 --- a/doc/user_guide/eds.rst +++ b/doc/user_guide/eds.rst @@ -12,7 +12,7 @@ This chapter describes step-by-step the analysis of an EDS spectrum (SEM or TEM). .. NOTE:: - See also the `EDS tutorials `_. + See also the `EDS tutorials `_. Spectrum loading and parameters ------------------------------- diff --git a/hyperspy/drawing/utils.py b/hyperspy/drawing/utils.py index d8df7abb19..e6cd513496 100755 --- a/hyperspy/drawing/utils.py +++ b/hyperspy/drawing/utils.py @@ -1225,7 +1225,7 @@ def make_cmap(colors, name='my_colormap', position=None, it with matplotlib for simplified use. Adapted from Chris Slocum's code at: - https://github.com/CSlocumWX/custom_colormap/blob/master/custom_colormaps.py + https://github.com/CSlocumWX/custom_colormap/blob/master/custom_colormaps/custom_colormaps.py and used under the terms of that code's BSD-3 license Parameters