Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix DeprecationWarning on LocatableAxes #11788

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 4, 2018

Conversation

timhoffm
Copy link
Member

PR Summary

Fixes the following warning when building the examples.

MatplotlibDeprecationWarning: The LocatableAxes class was deprecated in Matplotlib 3.0 and will be removed in 3.2. Use mpl_toolkits.axes_grid1.mpl_axes.Axes instead.

from mpl_toolkits.axes_grid1 \
import SubplotDivider, LocatableAxes, Size
from mpl_toolkits.axes_grid1 import SubplotDivider, Size
from mpl_toolkits.axes_grid1.axes_grid1.mpl_axes import Axes
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a redundant axes_grid1 here.

@timhoffm timhoffm force-pushed the fix-deprecation-locateableaxes branch from 56cf60d to 149fdc4 Compare July 28, 2018 07:59
@jklymak jklymak dismissed QuLogic’s stale review August 4, 2018 16:37

issue fixed

@jklymak jklymak merged commit 621e342 into matplotlib:master Aug 4, 2018
@QuLogic QuLogic added this to the v3.0 milestone Aug 6, 2018
@timhoffm timhoffm deleted the fix-deprecation-locateableaxes branch December 17, 2018 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants