Thanks Ben. extendrect keyword is in mat 1.3, I didn't try this but I tried
set_under and extend='min'
with mat 1.2 and it works very nice.
cheers,
Chao
On Tue, Jul 2, 2013 at 4:14 PM, Benjamin Root-2 [via matplotlib]
ml-node+s1069221n41364...@n5.nabble.com wrote:
There is the set_over and
One way I could think of is to make two contingent mat.axes.Axes,
with a smaller one setting as white backgroud, and the other bigger on
holding the colorbar. Is there some better way?
Chao
On Tue, Jul 2, 2013 at 12:12 PM, Chao YUE chaoyue...@gmail.com wrote:
Dear all,
Does anyone have
There is the set_over and set_under members of a colormap, and the
plt.colorbar() function takes an extend='min' argument to add an extra
color at the beginning of the colorbar. Setting extendrect=True, the
added color will be rectangular instead of triangular.
Hopefully that helps.
Cheers,
Ben