Skip to content

Commit 16c025d

Browse files
authored
DOC: Fix typo in include directive (#3357)
The missing second colon prevented the examples from being included in the documentation.
1 parent f7bd65f commit 16c025d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

seaborn/palettes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ def mpl_palette(name, n_colors=6, as_cmap=False):
388388
389389
Examples
390390
--------
391-
.. include: ../docstrings/mpl_palette.rst
391+
.. include:: ../docstrings/mpl_palette.rst
392392
393393
"""
394394
if name.endswith("_d"):

seaborn/regression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,7 @@ def regplot(
836836
Examples
837837
--------
838838
839-
.. include: ../docstrings/regplot.rst
839+
.. include:: ../docstrings/regplot.rst
840840
841841
""").format(**_regression_docs)
842842

0 commit comments

Comments
 (0)