From bd53ea095f14075a03f3eae6b824c111fac06ab8 Mon Sep 17 00:00:00 2001 From: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com> Date: Sun, 12 Jan 2020 22:00:48 +0100 Subject: [PATCH] Remove em dash --- lib/matplotlib/patches.py | 6 +++--- lib/matplotlib/transforms.py | 4 ++-- tutorials/colors/colormaps.py | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/matplotlib/patches.py b/lib/matplotlib/patches.py index 66ce8425c937..70eb5a4faef1 100644 --- a/lib/matplotlib/patches.py +++ b/lib/matplotlib/patches.py @@ -1502,9 +1502,9 @@ class Arc(Ellipse): - The arc cannot be filled. - - The arc must be used in an `~.axes.Axes` instance---it can not be - added directly to a `.Figure`---because it is optimized to only render - the segments that are inside the axes bounding box with high resolution. + - The arc must be used in an `~.axes.Axes` instance. It can not be added + directly to a `.Figure` because it is optimized to only render the + segments that are inside the axes bounding box with high resolution. """ def __str__(self): pars = (self.center[0], self.center[1], self.width, diff --git a/lib/matplotlib/transforms.py b/lib/matplotlib/transforms.py index a78ab5d4098b..ce517c1d00b7 100644 --- a/lib/matplotlib/transforms.py +++ b/lib/matplotlib/transforms.py @@ -578,8 +578,8 @@ def shrunk_to_aspect(self, box_aspect, container=None, fig_aspect=1.0): """ Return a copy of the :class:`Bbox`, shrunk so that it is as large as it can be while having the desired aspect ratio, - *box_aspect*. If the box coordinates are relative---that - is, fractions of a larger box such as a figure---then the + *box_aspect*. If the box coordinates are relative (i.e. + fractions of a larger box such as a figure) then the physical aspect ratio of that figure is specified with *fig_aspect*, so that *box_aspect* can also be given as a ratio of the absolute dimensions, not the relative dimensions. diff --git a/tutorials/colors/colormaps.py b/tutorials/colors/colormaps.py index 3e7cf1141365..bc5eb5183012 100644 --- a/tutorials/colors/colormaps.py +++ b/tutorials/colors/colormaps.py @@ -26,8 +26,8 @@ - If there is a standard in the field the audience may be expecting -For many applications, a perceptually uniform colormap is the best -choice --- one in which equal steps in data are perceived as equal +For many applications, a perceptually uniform colormap is the best choice; +i.e. a colormap in which equal steps in data are perceived as equal steps in the color space. Researchers have found that the human brain perceives changes in the lightness parameter as changes in the data much better than, for example, changes in hue. Therefore, colormaps