Skip to content

Commit

Permalink
Explicitly remove grids for pcolormesh (pydata#7219)
Browse files Browse the repository at this point in the history
  • Loading branch information
Illviljan authored Oct 28, 2022
1 parent 65bfa4d commit 7ff2b04
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xarray/plot/dataarray_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -2318,6 +2318,7 @@ def pcolormesh(
y = _infer_interval_breaks(y, axis=1, scale=yscale)
y = _infer_interval_breaks(y, axis=0, scale=yscale)

ax.grid(False)
primitive = ax.pcolormesh(x, y, z, **kwargs)

# by default, pcolormesh picks "round" values for bounds
Expand Down

0 comments on commit 7ff2b04

Please sign in to comment.