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

Skip to content

Increase patch test coverage #9519

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 2 commits into from
Oct 28, 2017
Merged

Conversation

dstansby
Copy link
Member

Increase test coverage of patches.py

@dstansby dstansby added this to the v2.2 milestone Oct 22, 2017
@dstansby
Copy link
Member Author

dstansby commented Oct 22, 2017

Ideally I'd like to cover ConnectionStyles too, but #9518 is stopping me at the moment.

Copy link
Contributor

@dopplershift dopplershift left a comment

Choose a reason for hiding this comment

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

More tests == great!

@@ -350,3 +350,15 @@ def test_units_rectangle():
ax.add_patch(p)
ax.set_xlim([4*U.km, 7*U.km])
ax.set_ylim([5*U.km, 9*U.km])


@image_comparison(baseline_images=['connection_patch'], extensions=['png'],
Copy link
Member

Choose a reason for hiding this comment

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

remove the text from this one too?

@Kojoley
Copy link
Member

Kojoley commented Oct 28, 2017

ping

@dstansby
Copy link
Member Author

Text removed. Ready to go once tests all pass!

@Kojoley Kojoley merged commit b477cf6 into matplotlib:master Oct 28, 2017
@dstansby dstansby deleted the patch-tests branch October 28, 2017 17:28
@QuLogic QuLogic modified the milestones: needs sorting, v2.2.0 Feb 12, 2018
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.

5 participants