fig, ax = plt.subplots()
cs = ax.contourf(v, levels, cmap=copy.deepcopy(plt.cm.Spectral), extend='both',
                 vmin=1.6, vmax=2.6)
# 以下略、上の方法2と同じ