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

Skip to content

Commit 84a03e1

Browse files
authored
Merge pull request #11336 from timhoffm/raw-strings-for-docstrings-with-escape
Use raw string literals for docstrings with escapes
2 parents 1966a7a + 42de98c commit 84a03e1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/shapes_and_collections/donut.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""
1+
r"""
22
=============
33
Mmh Donuts!!!
44
=============

lib/matplotlib/artist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1059,7 +1059,7 @@ class ArtistInspector(object):
10591059
"""
10601060

10611061
def __init__(self, o):
1062-
"""
1062+
r"""
10631063
Initialize the artist inspector with an `Artist` or an iterable of
10641064
`Artist`\s. If an iterable is used, we assume it is a homogeneous
10651065
sequence (all `Artists` are of the same type) and it is your

lib/matplotlib/axes/_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5267,7 +5267,7 @@ def _pcolorargs(funcname, *args, allmatch=False):
52675267
@docstring.dedent_interpd
52685268
def pcolor(self, *args, alpha=None, norm=None, cmap=None, vmin=None,
52695269
vmax=None, **kwargs):
5270-
"""
5270+
r"""
52715271
Create a pseudocolor plot with a non-regular rectangular grid.
52725272
52735273
Call signature::

0 commit comments

Comments
 (0)