From 5d383f7a6fe53a788cc58d040934518b35d22a27 Mon Sep 17 00:00:00 2001 From: Jody Klymak Date: Tue, 23 Oct 2018 19:06:23 -0700 Subject: [PATCH] Backport PR #12607: STY: fix whitespace and escaping --- lib/matplotlib/axes/_base.py | 2 +- lib/matplotlib/pyplot.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/matplotlib/axes/_base.py b/lib/matplotlib/axes/_base.py index bc24400cae49..c6f902489952 100644 --- a/lib/matplotlib/axes/_base.py +++ b/lib/matplotlib/axes/_base.py @@ -2730,7 +2730,7 @@ def grid(self, b=None, which='major', axis='both', **kwargs): def ticklabel_format(self, *, axis='both', style='', scilimits=None, useOffset=None, useLocale=None, useMathText=None): - """ + r""" Change the `~matplotlib.ticker.ScalarFormatter` used by default for linear axes. diff --git a/lib/matplotlib/pyplot.py b/lib/matplotlib/pyplot.py index 32c858452eb2..1c0fac55914c 100644 --- a/lib/matplotlib/pyplot.py +++ b/lib/matplotlib/pyplot.py @@ -1704,7 +1704,6 @@ def rgrids(*args, **kwargs): return ( silent_list('Line2D rgridline', lines), silent_list('Text rgridlabel', labels) ) - def thetagrids(*args, **kwargs): """ Get or set the theta gridlines on the current polar plot.