Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Boxfill legend incorrect when there are fewer colors than levels #1894
When you plot a boxfill and use the
import vcs, cdms2 f = cdms2.open(vcs.sample_data + "/clt.nc") s = f("clt") x = vcs.init() box = vcs.createboxfill() # Set them to the obnoxious end of the colormap so we can see the steps between each color box.color_1 = 242 box.color_2 = 246 x.plot(s, box)
I've got a PR incoming to fix this.