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

TST: Add test for _repr_html_#18501

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
QuLogic merged 4 commits intomatplotlib:masterfromlarsoner:test
Sep 22, 2020
Merged

Conversation

larsoner
Copy link
Contributor

PR Summary

I got some TemporaryDirectory ResourceWarning's in a sphinx-gallery-based doc builds with matplotlib animations, so I started trying to replicate them with some minimal code. I couldn't, but it looked like there weren't any explicit_repr_html_ tests in thetest_animation.py code, so I figured I'd open a PR to add some basic ones (these were my minimal examples that showed no problems at the mpl end).

PR Checklist

  • Has pytest style unit tests (andpytest passes).
  • IsFlake 8 compliant (runflake8 on changed files to check).
  • New features are documented, with examples if plot related.
  • Documentation is sphinx and numpydoc compliant (the docs shouldbuild without error).
  • Conforms to Matplotlib style conventions (installflake8-docstrings andpydocstyle<4 and runflake8 --docstring-convention=all).
  • New features have an entry indoc/users/next_whats_new/ (follow instructions in README.rst there).
  • API changes documented indoc/api/next_api_changes/ (follow instructions in README.rst there).

Copy link
Member

@QuLogicQuLogic left a comment

Choose a reason for hiding this comment

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

You've got a few flake8 issues as well.

@dstansbydstansby added this to thev3.4.0 milestoneSep 17, 2020
Copy link
Member

@QuLogicQuLogic left a comment

Choose a reason for hiding this comment

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

Everything looks good, but can you move theanim fixture earlier. I know it's not strictly required to define it before use, but it's nicer to keep fixtures together at the beginning (unless the file is long, but then it should probably be split up.)

@larsoner
Copy link
ContributorAuthor

Moved to the top!

@QuLogicQuLogic merged commit8fa61a4 intomatplotlib:masterSep 22, 2020
@larsonerlarsoner deleted the test branchSeptember 23, 2020 01:07
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@dopplershiftdopplershiftdopplershift approved these changes

@QuLogicQuLogicQuLogic approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
v3.4.0
Development

Successfully merging this pull request may close these issues.

4 participants
@larsoner@dopplershift@QuLogic@dstansby

[8]ページ先頭

©2009-2025 Movatter.jp