8000 Simplify empty-rasterized pdf test. by anntzer · Pull Request #12262 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Simplify empty-rasterized pdf test. #12262

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
Sep 25, 2018

Conversation

anntzer
Copy link
Contributor
@anntzer anntzer commented Sep 25, 2018

The test is about saving empty rasterized artists, not about PdfPages.

This makes the test compatible with mplcairo, which doesn't support
PdfPages.

PR Summary

PR Checklist

  • Has Pytest style unit tests
  • Code is Flake 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

The test is about saving empty rasterized artists, not about PdfPages.

This makes the test compatible with mplcairo, which doesn't support
PdfPages.
@anntzer anntzer added this to the v3.0.x milestone Sep 25, 2018
@@ -234,9 +234,8 @@ def test_failing_latex(tmpdir):
plt.savefig(path)


def test_empty_rasterised():
def test_empty_rasterized():
Copy link
Member

Choose a reason for hiding this comment

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

I resent changing rasterised to rasterized 😉

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I knew this was coming, but it's the name of the property (finally a good use for aliases? :p)

@dstansby dstansby modified the milestones: v3.0.x, v3.1 Sep 25, 2018
@QuLogic QuLogic merged commit 52047a0 into matplotlib:master Sep 25, 2018
@QuLogic
Copy link
Member
QuLogic commented Sep 25, 2018

Wait, why the milestone change?

@dstansby
Copy link
Member

I didn't see why this needs to be backported to 3.1 since it doesn't fix a bug. Happy for it to be backported if someone has a reason though!

@QuLogic
Copy link
Member
QuLogic commented Sep 25, 2018

@meeseeksdev backport to v3.0.x

It fixes running tests against mplcairo.

meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Sep 25, 2018
@QuLogic QuLogic modified the milestones: v3.1, v3.0.x Sep 25, 2018
QuLogic added a commit that referenced this pull request Sep 26, 2018
…262-on-v3.0.x

Backport PR #12262 on branch v3.0.x (Simplify empty-rasterized pdf test.)
@anntzer anntzer deleted the empty-rasterized-pdf branch December 18, 2018 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0