SourceForge logo
SourceForge logo
Menu

matplotlib-users

From: Mads I. <mad...@gm...> - 2015年11月24日 16:42:41
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: mad...@gm... |
| Denmark | map : https://goo.gl/maps/oQ6y6 |
+----------------------------------+----------------------------------+
From: Thomas C. <tca...@gm...> - 2015年11月24日 16:48:04
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 <mad...@gm...> 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: mad...@gm... |
> | 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
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /