Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 42de98c

Browse filesBrowse files
committed
Use raw string literals for docstrings with escapes
1 parent 1966a7a commit 42de98c
Copy full SHA for 42de98c

File tree

Expand file treeCollapse file tree

3 files changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+3
-3
lines changed

‎examples/shapes_and_collections/donut.py

Copy file name to clipboardExpand all lines: examples/shapes_and_collections/donut.py
+1-1Lines 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

Copy file name to clipboardExpand all lines: lib/matplotlib/artist.py
+1-1Lines 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

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_axes.py
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.