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 fa5b1e1

Browse filesBrowse files
jklymaktacaswell
authored andcommitted
Merge pull request #11336 from timhoffm/raw-strings-for-docstrings-with-escape
Use raw string literals for docstrings with escapes Conflicts: lib/matplotlib/artist.py - reject py2 incompatible changes lib/matplotlib/axes/_axes.py - also backports some documentation changes
1 parent e5ce40b commit fa5b1e1
Copy full SHA for fa5b1e1

File tree

Expand file treeCollapse file tree

2 files changed

+6
-7
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+6
-7
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
+5-6Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,12 +1069,11 @@ class ArtistInspector(object):
10691069
current values.
10701070
"""
10711071
def __init__(self, o):
1072-
"""
1073-
Initialize the artist inspector with an
1074-
:class:`~matplotlib.artist.Artist` or iterable of :class:`Artists`.
1075-
If an iterable is used, we assume it is a homogeneous sequence (all
1076-
:class:`Artists` are of the same type) and it is your responsibility
1077-
to make sure this is so.
1072+
r"""
1073+
Initialize the artist inspector with an `Artist` or an iterable of
1074+
`Artist`\s. If an iterable is used, we assume it is a homogeneous
1075+
sequence (all `Artists` are of the same type) and it is your
1076+
responsibility to make sure this is so.
10781077
"""
10791078
if not isinstance(o, Artist):
10801079
if cbook.iterable(o):

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.