From 107431e24fff502066fd3878a00943c6c381d56e Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Mon, 14 May 2018 20:40:57 -0700 Subject: [PATCH] Re-run boilerplate.py. Also remove second blank line between cmap definitions, consistently with the other wrapper functions. --- lib/matplotlib/pyplot.py | 25 ++----------------------- tools/boilerplate.py | 1 - 2 files changed, 2 insertions(+), 24 deletions(-) diff --git a/lib/matplotlib/pyplot.py b/lib/matplotlib/pyplot.py index 60e250a88abc..cbd5371d32a0 100644 --- a/lib/matplotlib/pyplot.py +++ b/lib/matplotlib/pyplot.py @@ -2668,10 +2668,8 @@ def stem( # Autogenerated by boilerplate.py. Do not edit as changes will be lost. @docstring.copy_dedent(Axes.step) -def step(x, y, *args, where='pre', linestyle='', data=None, **kwargs): - return gca().step( - x=x, y=y, *args, where=where, linestyle=linestyle, data=data, - **kwargs) +def step(x, y, *args, where='pre', data=None, **kwargs): + return gca().step(x=x, y=y, *args, where=where, data=data, **kwargs) # Autogenerated by boilerplate.py. Do not edit as changes will be lost. @_autogen_docstring(Axes.streamplot) @@ -2815,7 +2813,6 @@ def autumn(): """ set_cmap("autumn") - # Autogenerated by boilerplate.py. Do not edit as changes will be lost. def bone(): """ @@ -2826,7 +2823,6 @@ def bone(): """ set_cmap("bone") - # Autogenerated by boilerplate.py. Do not edit as changes will be lost. def cool(): """ @@ -2837,7 +2833,6 @@ def cool(): """ set_cmap("cool") - # Autogenerated by boilerplate.py. Do not edit as changes will be lost. def copper(): """ @@ -2848,7 +2843,6 @@ def copper(): """ set_cmap("copper") - # Autogenerated by boilerplate.py. Do not edit as changes will be lost. def flag(): """ @@ -2859,7 +2853,6 @@ def flag(): """ set_cmap("flag") - # Autogenerated by boilerplate.py. Do not edit as changes will be lost. def gray(): """ @@ -2870,7 +2863,6 @@ def gray(): """ set_cmap("gray") - # Autogenerated by boilerplate.py. Do not edit as changes will be lost. def hot(): """ @@ -2881,7 +2873,6 @@ def hot(): """ set_cmap("hot") - # Autogenerated by boilerplate.py. Do not edit as changes will be lost. def hsv(): """ @@ -2892,7 +2883,6 @@ def hsv(): """ set_cmap("hsv") - # Autogenerated by boilerplate.py. Do not edit as changes will be lost. def jet(): """ @@ -2903,7 +2893,6 @@ def jet(): """ set_cmap("jet") - # Autogenerated by boilerplate.py. Do not edit as changes will be lost. def pink(): """ @@ -2914,7 +2903,6 @@ def pink(): """ set_cmap("pink") - # Autogenerated by boilerplate.py. Do not edit as changes will be lost. def prism(): """ @@ -2925,7 +2913,6 @@ def prism(): """ set_cmap("prism") - # Autogenerated by boilerplate.py. Do not edit as changes will be lost. def spring(): """ @@ -2936,7 +2923,6 @@ def spring(): """ set_cmap("spring") - # Autogenerated by boilerplate.py. Do not edit as changes will be lost. def summer(): """ @@ -2947,7 +2933,6 @@ def summer(): """ set_cmap("summer") - # Autogenerated by boilerplate.py. Do not edit as changes will be lost. def winter(): """ @@ -2958,7 +2943,6 @@ def winter(): """ set_cmap("winter") - # Autogenerated by boilerplate.py. Do not edit as changes will be lost. def magma(): """ @@ -2969,7 +2953,6 @@ def magma(): """ set_cmap("magma") - # Autogenerated by boilerplate.py. Do not edit as changes will be lost. def inferno(): """ @@ -2980,7 +2963,6 @@ def inferno(): """ set_cmap("inferno") - # Autogenerated by boilerplate.py. Do not edit as changes will be lost. def plasma(): """ @@ -2991,7 +2973,6 @@ def plasma(): """ set_cmap("plasma") - # Autogenerated by boilerplate.py. Do not edit as changes will be lost. def viridis(): """ @@ -3002,7 +2983,6 @@ def viridis(): """ set_cmap("viridis") - # Autogenerated by boilerplate.py. Do not edit as changes will be lost. def nipy_spectral(): """ @@ -3012,5 +2992,4 @@ def nipy_spectral(): image if there is one. See ``help(colormaps)`` for more information. """ set_cmap("nipy_spectral") - _setup_pyplot_info_docstrings() diff --git a/tools/boilerplate.py b/tools/boilerplate.py index 682fe3b2cef4..ed8474664770 100644 --- a/tools/boilerplate.py +++ b/tools/boilerplate.py @@ -64,7 +64,6 @@ def {name}(): image if there is one. See ``help(colormaps)`` for more information. """ set_cmap("{name}") - ''' 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