Skip to content
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

Final batch of pylab example moves #8983

Merged
merged 3 commits into from Aug 3, 2017
Merged

Conversation

dstansby
Copy link
Member

@dstansby dstansby commented Aug 2, 2017

Again, first commit is moves, second commit is PEP8, third commit is link fixing.

@dstansby dstansby added Documentation Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. labels Aug 2, 2017
@dstansby dstansby added this to the 2.1 (next point release) milestone Aug 2, 2017
Copy link
Member

@QuLogic QuLogic left a comment

Choose a reason for hiding this comment

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

I'm not sure about the anchored_artists.py example. It seems to be duplicating the classes that already exist in the library, either matplotlib.offsetbox or mpl_toolkits.axes_grid1. Probably most of it can be replaced with suitable imports?

LGTM otherwise.

@@ -11,7 +11,8 @@


class AnchoredText(AnchoredOffsetbox):
Copy link
Member

Choose a reason for hiding this comment

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

I wonder if we need this class when there's a matplotlib.offsetbox.AnchoredText implementation already?

@@ -26,8 +27,8 @@ class AnchoredSizeBar(AnchoredOffsetbox):
def __init__(self, transform, size, label, loc,
Copy link
Member

Choose a reason for hiding this comment

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

And AnchoredSizeBar is in mpl_toolkits.axes_grid1.AnchoredSizeBar.

@QuLogic QuLogic mentioned this pull request Aug 3, 2017
6 tasks
@@ -37,7 +37,7 @@
not m.startswith(('spectral', 'Vega')) # Skip deprecated colormaps.
)

#fig.subplots_adjust(top=0.99, bottom=0.01, left=0.2, right=0.99)
# fig.subplots_adjust(top=0.99, bottom=0.01, left=0.2, right=0.99)
Copy link
Member

Choose a reason for hiding this comment

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

I guess at some point we should clean this up and just delete those lines of codes.

@NelleV NelleV merged commit 6179526 into matplotlib:master Aug 3, 2017
@QuLogic QuLogic mentioned this pull request Aug 3, 2017
@LindyBalboa
Copy link
Contributor

Partially resolves #8922

@dstansby dstansby deleted the pylab-moves branch August 23, 2017 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants