Skip to content

Conversation

@mdehoon
Copy link
Contributor

@mdehoon mdehoon commented Apr 17, 2015

In this pull request, I reordered the lines in the draw() method of Line2D to first check if funcname != '_draw_nothing' before starting to fill in the graphics context. The first call to new_gc moved to after this check; this fixes the bug described in issue 4338.

@tacaswell
Copy link
Member

@mdehoon Thanks. Looks good to me, I will merge as soon as travis agrees. I will also back-port this to the color_overhaul branch.

tacaswell added a commit that referenced this pull request Apr 17, 2015
FIX : Reorder the code in the draw() method of Line2D 

fixes #4338
@tacaswell tacaswell merged commit 6586369 into matplotlib:master Apr 17, 2015
tacaswell added a commit that referenced this pull request Apr 17, 2015
FIX : Reorder the code in the draw() method of Line2D

fixes #4338
@tacaswell
Copy link
Member

tacaswell commented Apr 17, 2015

Backported as 52baded Thank you.

@mdehoon mdehoon deleted the fixForIssue4338 branch April 18, 2015 02:20
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.

2 participants