I have an array with np.nans inside it to effectively mask out portions of a plot. The array that I want to plot is
np.nan
a = np.array([ [1, np.nan