From 7fc238ca752467bdfe771c68ba192a062118c64f Mon Sep 17 00:00:00 2001 From: Jody Klymak Date: Fri, 17 Aug 2018 07:33:17 -0700 Subject: [PATCH] Backport PR #11871: Typo fix in Ticker API --- doc/devel/MEP/MEP24.rst | 2 +- lib/matplotlib/ticker.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/devel/MEP/MEP24.rst b/doc/devel/MEP/MEP24.rst index 89132cc7cd0e..8750ad3dd0f3 100644 --- a/doc/devel/MEP/MEP24.rst +++ b/doc/devel/MEP/MEP24.rst @@ -31,7 +31,7 @@ but this seems more generally useful (for example growth rate as a function of angle). The assumption in the current code (as I understand it) is that the center of the graph is `r==0`, however it would be good to be able to set the center to be at any `r` (with any -value less than the off set clipped). +value less than the offset clipped). Implementation ============== diff --git a/lib/matplotlib/ticker.py b/lib/matplotlib/ticker.py index cd007bb993fc..01161c42b04b 100644 --- a/lib/matplotlib/ticker.py +++ b/lib/matplotlib/ticker.py @@ -12,8 +12,8 @@ ----------------- The default formatter identifies when the x-data being plotted is a -small range on top of a large off set. To reduce the chances that the -ticklabels overlap the ticks are labeled as deltas from a fixed offset. +small range on top of a large offset. To reduce the chances that the +ticklabels overlap, the ticks are labeled as deltas from a fixed offset. For example:: ax.plot(np.arange(2000, 2010), range(10))