8000 MNT: update pyplot · matplotlib/matplotlib@4758a60 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4758a60

Browse files
committed
MNT: update pyplot
1 parent 01d9209 commit 4758a60

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

lib/matplotlib/pyplot.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2514,11 +2514,11 @@ def minorticks_on():
25142514
@docstring.copy(Axes.pcolor)
25152515
def pcolor(
25162516
*args, alpha=None, norm=None, cmap=None, vmin=None,
2517-
vmax=None, data=None, **kwargs):
2517+
vmax=None, dropdata=True, data=None, **kwargs):
25182518
__ret = gca().pcolor(
25192519
*args, alpha=alpha, norm=norm, cmap=cmap, vmin=vmin,
2520-
vmax=vmax, **({"data": data} if data is not None else {}),
2521-
**kwargs)
2520+
vmax=vmax, dropdata=dropdata, **({"data": data} if data is not
2521+
None else {}), **kwargs)
25222522
sci(__ret)
25232523
return __ret
25242524

@@ -2527,12 +2527,13 @@ def pcolor(
25272527
@docstring.copy(Axes.pcolormesh)
25282528
def pcolormesh(
25292529
*args, alpha=None, norm=None, cmap=None, vmin=None,
2530-
vmax=None, shading='flat', antialiased=False, data=None,
2531-
**kwargs):
2530+
vmax=None, shading='flat', antialiased=False, dropdata=True,
2531+
data=None, **kwargs):
25322532
__ret = gca().pcolormesh(
25332533
*args, alpha=alpha, norm=norm, cmap=cmap, vmin=vmin,
25342534
vmax=vmax, shading=shading, antialiased=antialiased,
2535-
**({"data": data} if data is not None else {}), **kwargs)
2535+
dropdata=dropdata, **({"data": data} if data is not None else
2536+
{}), **kwargs)
25362537
sci(__ret)
25372538
return __ret
25382539

0 commit comments

Comments
 (0)
0