From 1567ac55e6503c034770440a596366c5438201a5 Mon Sep 17 00:00:00 2001 From: sushobhana Date: Sun, 26 Aug 2018 23:16:47 +0530 Subject: [PATCH] minor typo: axes instead of axis --- regions/core/core.py | 2 +- regions/shapes/point.py | 2 +- regions/shapes/text.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/regions/core/core.py b/regions/core/core.py index 55888ac3..491d7a04 100644 --- a/regions/core/core.py +++ b/regions/core/core.py @@ -306,7 +306,7 @@ def plot(self, origin=(0, 0), ax=None, **kwargs): Returns ------- ax: `~matplotlib.axes` - Axis on which the patch is added. + Axes on which the patch is added. """ import matplotlib.pyplot as plt diff --git a/regions/shapes/point.py b/regions/shapes/point.py index 138e3394..08c3ef05 100644 --- a/regions/shapes/point.py +++ b/regions/shapes/point.py @@ -124,7 +124,7 @@ def plot(self, origin=(0, 0), ax=None, **kwargs): The ``(x, y)`` pixel position of the origin of the displayed image. Default is (0, 0). ax: `~matplotlib.axes`, optional - Axis + Axes on which the point is added kwargs: dict All keywords that a ``Line2D`` object accepts """ diff --git a/regions/shapes/text.py b/regions/shapes/text.py index 746e47ca..9dde04a0 100644 --- a/regions/shapes/text.py +++ b/regions/shapes/text.py @@ -79,7 +79,7 @@ def plot(self, origin=(0, 0), ax=None, **kwargs): Returns ------- ax : `~matplotlib.axes` - The axis with the patch. + The axes with the text. """ import matplotlib.pyplot as plt from matplotlib.text import Text