Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Document mpl_toolkits.axes_grid1.anchored_artists#4874

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

sargas
Copy link
Contributor

Here's another PR following up on#4864.

The documentation isn't built with this commit, but I'll
push another commit (or open another PR if this is already merged) to add the API docs
to doc/mpl_toolkits/axes_grid/api/index.rst once PR#4864 is merged.

@tacaswelltacaswell added this to thenext major release (2.0) milestoneOct 8, 2015
@@ -1,43 +1,152 @@
from __future__ import (absolute_import, division, print_function,
unicode_literals)

from matplotlib.externals import six
Copy link
Member

Choose a reason for hiding this comment

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

please leave the six import even if it isn't used to keep our files consistent.

@mdboom
Copy link
Member

I think this is ready to merge once you address@tacaswell's minor comment.

@sargas
Copy link
ContributorAuthor

@mdboom sure, but could we hold off until#4864 is merged? It adds a axes_grid1 section todoc/mpl_toolkits/axes_grid/api/index.rst that would be useful to also change in this PR.

@tacaswell
Copy link
Member

merged#4864 cycled open/close to re-trigger travis on new master

@sargassargasforce-pushed thecleanup-anchored-artists branch from63c4e92 toaeb2a2eCompareDecember 16, 2015 17:35
@sargassargasforce-pushed thecleanup-anchored-artists branch from1802aa4 to34d1937CompareDecember 16, 2015 19:16
@sargas
Copy link
ContributorAuthor

I've rebased, readded thesix import, and enabled the docs to be built in the latest commits.

I did have to change one of the examples which importedmatplolib.offsetbox.AnchoredText frommpl_toolkits.axes_grid1.anchored_artists, where it was removed as an unused import. I don't know how API-breaking this is if anyone copied that example.


if __name__ == "__main__":

import matplotlib.pyplot as plt
Copy link
Member

Choose a reason for hiding this comment

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

Is it worth moving this code to an example?

jenshnielsen added a commit that referenced this pull requestDec 26, 2015
Document mpl_toolkits.axes_grid1.anchored_artists
@jenshnielsenjenshnielsen merged commitb6a79ac intomatplotlib:masterDec 26, 2015
QuLogic pushed a commit to QuLogic/matplotlib that referenced this pull requestOct 16, 2016
Document mpl_toolkits.axes_grid1.anchored_artistsConflicts:lib/mpl_toolkits/axes_grid1/anchored_artists.pyNote that the removed imports were restored for this backport so as tonot break the API for 2.0. Whether they really should be moved or not isa matter for a different PR.
@QuLogicQuLogic mentioned this pull requestOct 16, 2016
@QuLogic
Copy link
Member

Backported to v2.x viaef06f5f.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
v2.0.0
Development

Successfully merging this pull request may close these issues.

5 participants
@sargas@mdboom@tacaswell@QuLogic@jenshnielsen

[8]ページ先頭

©2009-2025 Movatter.jp