Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e154a0d

Browse files
authored
Merge pull request #16198 from timhoffm/remove-em-dash
DOC: Remove em dash
2 parents 0a23b87 + bd53ea0 commit e154a0d

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

lib/matplotlib/patches.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1502,9 +1502,9 @@ class Arc(Ellipse):
15021502
15031503
- The arc cannot be filled.
15041504
1505-
- The arc must be used in an `~.axes.Axes` instance---it can not be
1506-
added directly to a `.Figure`---because it is optimized to only render
1507-
the segments that are inside the axes bounding box with high resolution.
1505+
- The arc must be used in an `~.axes.Axes` instance. It can not be added
1506+
directly to a `.Figure` because it is optimized to only render the
1507+
segments that are inside the axes bounding box with high resolution.
15081508
"""
15091509
def __str__(self):
15101510
pars = (self.center[0], self.center[1], self.width,

lib/matplotlib/transforms.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -578,8 +578,8 @@ def shrunk_to_aspect(self, box_aspect, container=None, fig_aspect=1.0):
578578
"""
579579
Return a copy of the :class:`Bbox`, shrunk so that it is as
580580
large as it can be while having the desired aspect ratio,
581-
*box_aspect*. If the box coordinates are relative---that
582-
is, fractions of a larger box such as a figure---then the
581+
*box_aspect*. If the box coordinates are relative (i.e.
582+
fractions of a larger box such as a figure) then the
583583
physical aspect ratio of that figure is specified with
584584
*fig_aspect*, so that *box_aspect* can also be given as a
585585
ratio of the absolute dimensions, not the relative dimensions.

tutorials/colors/colormaps.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
2727
- If there is a standard in the field the audience may be expecting
2828
29-
For many applications, a perceptually uniform colormap is the best
30-
choice --- one in which equal steps in data are perceived as equal
29+
For many applications, a perceptually uniform colormap is the best choice;
30+
i.e. a colormap in which equal steps in data are perceived as equal
3131
steps in the color space. Researchers have found that the human brain
3232
perceives changes in the lightness parameter as changes in the data
3333
much better than, for example, changes in hue. Therefore, colormaps

0 commit comments

Comments
 (0)