This seems to be a bug that need to be fixed.
Meanwhile, use "locator" parameter as below.

cbar = grid.cbar_axes[0].colorbar(im, locator=ticks)
Regards,

-JJ



On Thu, Nov 17, 2011 at 5:35 AM, Yoshi Rokuko <yo...@rokuko.net> wrote:
> does someone knows how to specify ticks for a colorbar
> inside axesgrid? the following does not work as expected:
>
> from mpl_toolkits.axes_grid1 import AxesGrid
> ticks = [.01, .25, .5, .75, .99]
> grid = AxesGrid()
> [...]
> grid.cbar_axes[i].colorbar(im, ticks=ticks)
>
> i'm thankfull for any pointers,
> yoshi
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to