Yeah, I don't think that is what you want.  I believe the 'ax' you are
referencing there is the figure axes.  How do you want the numbers to
appear?

Ben Root

On Mon, May 31, 2010 at 8:27 PM, Oz Nahum <nahu...@gmail.com> wrote:

> Hi,
>
> I open another thread because I think this is not related.
>
> I have figured out how to create scientific notation in the color bar.
> However, by default Python creates really ugly values for printing:
> 1.165E+00, 1.167E+00... etc.
>
> I figure that they are stored somewhere in a list.
>
> I could do :
>
> cb=colorbar(ax=ax1, orientation='horizontal',format='%.e')
>
> and then with:
> cb.ax.get_xmajorticklabels
>
> i get:
>
> <bound method Axes.get_xmajorticklabels of <matplotlib.axes.Axes object at
> 0x5716210>>
>
> But do I actually modify this list I have no clue...
>
> Would be happy to know if somebody knows
>
>
>
> --
> Oz Nahum
> Graduate Student
> Zentrum für Angewandte Geologie
> Universität Tübingen
>
> ---
>
> Imagine there's no countries
> it isn't hard to do
> Nothing to kill or die for
> And no religion too
> Imagine all the people
> Living life in peace
>
>
>
>
> ------------------------------------------------------------------------------
>
>
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
------------------------------------------------------------------------------

_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to