|
From: Ryan M. <rm...@gm...> - 2010-03-21 19:31:13
|
On Sun, Mar 21, 2010 at 1:36 PM, Eric Firing <ef...@ha...> wrote: > Ryan May wrote: >> That's because it wasn't there. :) I've ported it to make better use >> of matplotlib facilities that are now available and added it to SVN. >> In general, however, the gallery is the best place to look because we >> should be keeping it up to date with changes in the code. >> >> I attached the modified script since it won't show up in the gallery >> right away. I'd take a look, because it drastically simplifies the >> colormapping. > > Nice! > > Would you also edit the cookbook, please? You could just point to your new > example; and maybe include a version with a more typical colormap and norm, > giving a smooth gradation. There actually was an example there already showing the nice smooth gradient of colors. I've cleaned up that example and added that to SVN as well. I kept the discrete example as it shows nicely the use of listed colormaps and boundary norms, which aren't used in a lot of examples. I've updated the recipes on scipy.org to reflect our examples, as well as putting a link to the gallery. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma |