Skip to content

Make barbs draw correctly (Fixes #5803) #5914

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
Jan 26, 2016

Conversation

dopplershift
Copy link
Contributor

Fixes the linewidth problem (#5803) with Barbs. Also adds a simple test so that this shouldn't break silently next time.

Changes to default linewidth/outline for polygons caused barbs to not be
drawn, since they relied on the previous default linewidth of 1. Now we
pass a linewidth of 1 unless explicitly overridden.
This is based completely on one of the plots in barbs_demo.py, but it
does a pretty good job of exercising Barbs' features.
@tacaswell tacaswell added this to the 2.0 (style change major release) milestone Jan 26, 2016
tacaswell added a commit that referenced this pull request Jan 26, 2016
Make barbs draw correctly (Fixes #5803)
@tacaswell tacaswell merged commit f913aa4 into matplotlib:master Jan 26, 2016
tacaswell added a commit that referenced this pull request Jan 26, 2016
Make barbs draw correctly (Fixes #5803)
Conflicts:
	lib/matplotlib/tests/test_quiver.py
	  white space vs new test
@tacaswell
Copy link
Member

backported to v2.x as 180a21c

@dopplershift dopplershift deleted the fix-barbs branch January 26, 2016 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants