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 107431e

Browse filesBrowse files
committed
Re-run boilerplate.py.
Also remove second blank line between cmap definitions, consistently with the other wrapper functions.
1 parent 920295d commit 107431e
Copy full SHA for 107431e

File tree

Expand file treeCollapse file tree

2 files changed

+2
-24
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-24
lines changed

‎lib/matplotlib/pyplot.py

Copy file name to clipboardExpand all lines: lib/matplotlib/pyplot.py
+2-23Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2668,10 +2668,8 @@ def stem(
26682668

26692669
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
26702670
@docstring.copy_dedent(Axes.step)
2671-
def step(x, y, *args, where='pre', linestyle='', data=None, **kwargs):
2672-
return gca().step(
2673-
x=x, y=y, *args, where=where, linestyle=linestyle, data=data,
2674-
**kwargs)
2671+
def step(x, y, *args, where='pre', data=None, **kwargs):
2672+
return gca().step(x=x, y=y, *args, where=where, data=data, **kwargs)
26752673

26762674
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
26772675
@_autogen_docstring(Axes.streamplot)
@@ -2815,7 +2813,6 @@ def autumn():
28152813
"""
28162814
set_cmap("autumn")
28172815

2818-
28192816
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
28202817
def bone():
28212818
"""
@@ -2826,7 +2823,6 @@ def bone():
28262823
"""
28272824
set_cmap("bone")
28282825

2829-
28302826
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
28312827
def cool():
28322828
"""
@@ -2837,7 +2833,6 @@ def cool():
28372833
"""
28382834
set_cmap("cool")
28392835

2840-
28412836
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
28422837
def copper():
28432838
"""
@@ -2848,7 +2843,6 @@ def copper():
28482843
"""
28492844
set_cmap("copper")
28502845

2851-
28522846
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
28532847
def flag():
28542848
"""
@@ -2859,7 +2853,6 @@ def flag():
28592853
"""
28602854
set_cmap("flag")
28612855

2862-
28632856
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
28642857
def gray():
28652858
"""
@@ -2870,7 +2863,6 @@ def gray():
28702863
"""
28712864
set_cmap("gray")
28722865

2873-
28742866
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
28752867
def hot():
28762868
"""
@@ -2881,7 +2873,6 @@ def hot():
28812873
"""
28822874
set_cmap("hot")
28832875

2884-
28852876
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
28862877
def hsv():
28872878
"""
@@ -2892,7 +2883,6 @@ def hsv():
28922883
"""
28932884
set_cmap("hsv")
28942885

2895-
28962886
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
28972887
def jet():
28982888
"""
@@ -2903,7 +2893,6 @@ def jet():
29032893
"""
29042894
set_cmap("jet")
29052895

2906-
29072896
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
29082897
def pink():
29092898
"""
@@ -2914,7 +2903,6 @@ def pink():
29142903
"""
29152904
set_cmap("pink")
29162905

2917-
29182906
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
29192907
def prism():
29202908
"""
@@ -2925,7 +2913,6 @@ def prism():
29252913
"""
29262914
set_cmap("prism")
29272915

2928-
29292916
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
29302917
def spring():
29312918
"""
@@ -2936,7 +2923,6 @@ def spring():
29362923
"""
29372924
set_cmap("spring")
29382925

2939-
29402926
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
29412927
def summer():
29422928
"""
@@ -2947,7 +2933,6 @@ def summer():
29472933
"""
29482934
set_cmap("summer")
29492935

2950-
29512936
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
29522937
def winter():
29532938
"""
@@ -2958,7 +2943,6 @@ def winter():
29582943
"""
29592944
set_cmap("winter")
29602945

2961-
29622946
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
29632947
def magma():
29642948
"""
@@ -2969,7 +2953,6 @@ def magma():
29692953
"""
29702954
set_cmap("magma")
29712955

2972-
29732956
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
29742957
def inferno():
29752958
"""
@@ -2980,7 +2963,6 @@ def inferno():
29802963
"""
29812964
set_cmap("inferno")
29822965

2983-
29842966
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
29852967
def plasma():
29862968
"""
@@ -2991,7 +2973,6 @@ def plasma():
29912973
"""
29922974
set_cmap("plasma")
29932975

2994-
29952976
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
29962977
def viridis():
29972978
"""
@@ -3002,7 +2983,6 @@ def viridis():
30022983
"""
30032984
set_cmap("viridis")
30042985

3005-
30062986
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
30072987
def nipy_spectral():
30082988
"""
@@ -3012,5 +2992,4 @@ def nipy_spectral():
30122992
image if there is one. See ``help(colormaps)`` for more information.
30132993
"""
30142994
set_cmap("nipy_spectral")
3015-
30162995
_setup_pyplot_info_docstrings()

‎tools/boilerplate.py

Copy file name to clipboardExpand all lines: tools/boilerplate.py
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ def {name}():
6464
image if there is one. See ``help(colormaps)`` for more information.
6565
"""
6666
set_cmap("{name}")
67-
6867
'''
6968

7069

0 commit comments

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