The `get_axes` method (
https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/artist.py#L213
).

See
http://matplotlib.org/api/api_changes.html#prevent-moving-artists-between-axes-property-ify-artist-axes-deprecate-artist-get-set-axes
for documentation.

Tom

On Tue, Nov 24, 2015 at 11:43 AM Mads Ipsen <mads.ip...@gmail.com> wrote:

> Hi,
>
> I get the following warning in some code I wrote for matplotlib-1.2.
>
>
> python2.7/site-packages/matplotlib-1.5.0-py2.7-linux-x86_64.egg/matplotlib/artist.py:221:
> MatplotlibDeprecationWarning: This has been deprecated in mpl 1.5,
> please use the
> axes property.  A removal date has not been set.
>    warnings.warn(_get_axes_msg, mplDeprecation, stacklevel=1)
>
> Clearly, I should use 'the axes property', but as a replacement for?
>
> The code base is relatively large, so it's not clear to me what triggers
> the warning.
>
> Best regards,
>
> Mads
>
> --
> +---------------------------------------------------------------------+
> | Mads Ipsen                                                          |
> +----------------------------------+----------------------------------+
> | Overgaden Oven Vandet 106, 4.tv  | phone:              +45-29716388 |
> | DK-1415 København K              | email:      mads.ip...@gmail.com |
> | Denmark                          | map  : https://goo.gl/maps/oQ6y6 |
> +----------------------------------+----------------------------------+
>
>
> ------------------------------------------------------------------------------
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple
> OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to