From: Curtis C. <cu...@hi...> - 2004-07-20 18:58:48
|
Hi all, I have a fix for the problem mentioned. In the latest release, subdir matploblib-0.60.2/matplotlib/matlab.py line 542 there is a bug. It should read: cax.set_yticklabels([tickfmt%tick for tick in cticks]) instead of cax.set_yticklabels(['%1.1f'%tick for tick in cticks]) so as to take advantage of the optional input parameter tickfmt (format specifier) for the colorbar labels. With this change, the colorbar labels come out fine and adjust properly according to the input format specifier. Thanks, Curtis |