From 09bd20b7b55fd2db9ceff16ea5a7b47a16daa8be Mon Sep 17 00:00:00 2001 From: Matthias Bussonnier Date: Tue, 30 Nov 2021 19:29:13 -0800 Subject: [PATCH] DOC: Misc rst syntax fixes single colon are comments, and not admonitions. --- lib/matplotlib/_api/__init__.py | 2 +- lib/matplotlib/_api/deprecation.py | 2 +- lib/matplotlib/category.py | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/matplotlib/_api/__init__.py b/lib/matplotlib/_api/__init__.py index dfd3f6820f1c..7cfd9027c06e 100644 --- a/lib/matplotlib/_api/__init__.py +++ b/lib/matplotlib/_api/__init__.py @@ -3,7 +3,7 @@ This documentation is only relevant for Matplotlib developers, not for users. -.. warning: +.. warning:: This module and its submodules are for internal use only. Do not use them in your own code. We may change the API at any time with no warning. diff --git a/lib/matplotlib/_api/deprecation.py b/lib/matplotlib/_api/deprecation.py index 363bb5f7a023..f8dfa4b8e5d5 100644 --- a/lib/matplotlib/_api/deprecation.py +++ b/lib/matplotlib/_api/deprecation.py @@ -3,7 +3,7 @@ This documentation is only relevant for Matplotlib developers, not for users. -.. warning: +.. warning:: This module is for internal use only. Do not use it in your own code. We may change the API at any time with no warning. diff --git a/lib/matplotlib/category.py b/lib/matplotlib/category.py index f3afae54a2ae..c823b68fd9c7 100644 --- a/lib/matplotlib/category.py +++ b/lib/matplotlib/category.py @@ -80,12 +80,13 @@ def axisinfo(unit, axis): axis : `~matplotlib.axis.Axis` axis for which information is being set + .. note:: *axis* is not used + Returns ------- `~matplotlib.units.AxisInfo` Information to support default tick labeling - .. note: axis is not used """ StrCategoryConverter._validate_unit(unit) # locator and formatter take mapping dict because