From 42de98c9e0140722f6a4b6eb7c5270c7b6f2dc5b Mon Sep 17 00:00:00 2001 From: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com> Date: Tue, 29 May 2018 18:33:24 +0200 Subject: [PATCH] Use raw string literals for docstrings with escapes --- examples/shapes_and_collections/donut.py | 2 +- lib/matplotlib/artist.py | 2 +- lib/matplotlib/axes/_axes.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/shapes_and_collections/donut.py b/examples/shapes_and_collections/donut.py index 794cd342b039..9afa26c85e6f 100644 --- a/examples/shapes_and_collections/donut.py +++ b/examples/shapes_and_collections/donut.py @@ -1,4 +1,4 @@ -""" +r""" ============= Mmh Donuts!!! ============= diff --git a/lib/matplotlib/artist.py b/lib/matplotlib/artist.py index c8f9726b0201..83b3e27d3eac 100644 --- a/lib/matplotlib/artist.py +++ b/lib/matplotlib/artist.py @@ -1059,7 +1059,7 @@ class ArtistInspector(object): """ def __init__(self, o): - """ + r""" Initialize the artist inspector with an `Artist` or an iterable of `Artist`\s. If an iterable is used, we assume it is a homogeneous sequence (all `Artists` are of the same type) and it is your diff --git a/lib/matplotlib/axes/_axes.py b/lib/matplotlib/axes/_axes.py index c05db4f3aa5f..5fcf014bf68e 100644 --- a/lib/matplotlib/axes/_axes.py +++ b/lib/matplotlib/axes/_axes.py @@ -5267,7 +5267,7 @@ def _pcolorargs(funcname, *args, allmatch=False): @docstring.dedent_interpd def pcolor(self, *args, alpha=None, norm=None, cmap=None, vmin=None, vmax=None, **kwargs): - """ + r""" Create a pseudocolor plot with a non-regular rectangular grid. Call signature:: pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy