Skip to content

Commit 7ff2b04

Browse files
authored
Explicitly remove grids for pcolormesh (#7219)
1 parent 65bfa4d commit 7ff2b04

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

xarray/plot/dataarray_plot.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2318,6 +2318,7 @@ def pcolormesh(
23182318
y = _infer_interval_breaks(y, axis=1, scale=yscale)
23192319
y = _infer_interval_breaks(y, axis=0, scale=yscale)
23202320

2321+
ax.grid(False)
23212322
primitive = ax.pcolormesh(x, y, z, **kwargs)
23222323

23232324
# by default, pcolormesh picks "round" values for bounds

0 commit comments

Comments
 (0)