ax.xaxis or ax.yaxis

axes_grid is an alternative to the default Axes/Axis classes.

Tom

On Tue, Sep 6, 2016, 19:53 Hearne, Mike <mhea...@usgs.gov> wrote:

> Python: 3.5
> Matplotlib: 1.5.2
>
> I'm trying to invert the tick labels on a Cartopy map, and I found
> this Matplotlib example:
>
> ax.axis[:].invert_ticklabel_direction()
>
> found here:
> http://matplotlib.org/mpl_toolkits/axes_grid/users/axisartist.html
>
> My problem is that any Axes object (or child class thereof) that I've
> experimented with says that the axis attribute is a *method*, not a
> sequence as I infer from the above example.
>
> How do I get the axisartists for a bog-standard Axes instance?
>
> Thanks in advance,
>
> Mike
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> 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