From ad29c75ebb5b2a6e7d37804e7843a13bb11fef9d Mon Sep 17 00:00:00 2001 From: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com> Date: Sat, 8 Aug 2020 02:28:06 +0200 Subject: [PATCH 1/2] Unpin pydocstyle --- requirements/testing/flake8.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements/testing/flake8.txt b/requirements/testing/flake8.txt index b5277c656632..bc41dd4e7f09 100644 --- a/requirements/testing/flake8.txt +++ b/requirements/testing/flake8.txt @@ -1,5 +1,5 @@ # Extra pip requirements for the GitHub Actions flake8 build flake8>=3.8 -pydocstyle<4.0 -flake8-docstrings +pydocstyle +flake8-docstrings>=1.3.1 From 26293f7508359f5c55c65cf42670ffb8793d8ba7 Mon Sep 17 00:00:00 2001 From: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com> Date: Wed, 26 Aug 2020 22:54:41 +0200 Subject: [PATCH 2/2] Fix pydocstyle warnings --- .../rainbow_text.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/examples/text_labels_and_annotations/rainbow_text.py b/examples/text_labels_and_annotations/rainbow_text.py index 4eea8479891c..e66bef4b54af 100644 --- a/examples/text_labels_and_annotations/rainbow_text.py +++ b/examples/text_labels_and_annotations/rainbow_text.py @@ -10,15 +10,15 @@ On the matplotlib-users list back in February 2012, Gökhan Sever asked the following question: - Is there a way in matplotlib to partially specify the color of a string? - - Example: - - plt.ylabel("Today is cloudy.") - - How can I show "today" as red, "is" as green and "cloudy." as blue? - - Thanks. + | Is there a way in matplotlib to partially specify the color of a string? + | + | Example: + | + | plt.ylabel("Today is cloudy.") + | + | How can I show "today" as red, "is" as green and "cloudy." as blue? + | + | Thanks. The solution below is modified from Paul Ivanov's original answer. """