We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19b5c68 commit 820c0fbCopy full SHA for 820c0fb
xarray/plot/plot.py
@@ -1161,10 +1161,9 @@ def newplotfunc(
1161
# better to pass the ndarrays directly to plotting functions
1162
xval = xval.to_numpy()
1163
yval = yval.to_numpy()
1164
- zarray = darray.as_numpy()
1165
1166
- # Pass the data as a masked ndarray too
1167
- zval = zarray.to_masked_array(copy=False)
+ # Pass the data as a masked ndarray too
+ zval = darray.to_masked_array(copy=False)
1168
1169
# Replace pd.Intervals if contained in xval or yval.
1170
xplt, xlab_extra = _resolve_intervals_2dplot(xval, plotfunc.__name__)
0 commit comments