Skip to content

Commit cef7f8d

Browse files
committed
Merge branch 'fix-freesurfer-error-message' of github.com:ayuclan/mne-python into fix-freesurfer-error-message
2 parents 0c7ea19 + 97a34ef commit cef7f8d

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

doc/changes/dev/13797.other.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove :class:`numpy.ndarray` from ``colormap`` parameter in :func:`mne.viz.plot_source_estimates` to solve documentation conflict , by :newcontrib:`Lifeng Qiu Lin`.

doc/changes/names.inc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
.. _Ashley Drew: https://github.com/ashdrew
3636
.. _Asish Panda: https://github.com/kaichogami
3737
.. _Austin Hurst: https://github.com/a-hurst
38+
.. _Ayushi Satodiya: https://github.com/ayuclan
3839
.. _Beige Jin: https://github.com/BeiGeJin
3940
.. _Ben Beasley: https://github.com/musicinmybrain
4041
.. _Benedikt Ehinger: https://www.benediktehinger.de
@@ -187,6 +188,7 @@
187188
.. _Leonardo Barbosa: https://github.com/noreun
188189
.. _Leonardo Rochael Almeida: https://github.com/leorochael
189190
.. _Liberty Hamilton: https://github.com/libertyh
191+
.. _Lifeng Qiu Lin: https://github.com/Gnefil
190192
.. _Lorenzo Desantis: https://github.com/lorenzo-desantis/
191193
.. _Lukas Breuer: https://www.researchgate.net/profile/Lukas-Breuer-2
192194
.. _Lukas Gemein: https://github.com/gemeinl

mne/utils/docs.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -835,10 +835,10 @@ def _reflow_param_docstring(docstring, has_first_line=True, width=75):
835835
"""
836836

837837
docdict["colormap"] = """
838-
colormap : str | np.ndarray of float, shape(n_colors, 3 | 4)
839-
Name of colormap to use or a custom look up table. If array, must
840-
be (n x 3) or (n x 4) array for with RGB or RGBA values between
841-
0 and 255.
838+
colormap : str | matplotlib.colors.Colormap
839+
Name of colormap to use or a custom Matplotlib colormap instance. If passing
840+
a custom colormap, it must be an instance of :class:`matplotlib.colors.Colormap`
841+
(e.g., :class:`matplotlib.colors.ListedColormap`).
842842
"""
843843

844844
_combine_template = """

0 commit comments

Comments
 (0)