Skip to content
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

FIX : turn path snapping off on 'o' marker path #4422

Merged
merged 2 commits into from May 13, 2015

Conversation

tacaswell
Copy link
Member

Set the _snap_threshold for 'o' markers to np.inf which
effectively turns it off.

This makes 'o' markers look more circular at all sizes at all dpi.

This change subtly changed several tests.

Closes #4421

Set the _snap_threshold for 'o' markers to `np.inf` which
effectively turns it off.

This makes 'o' markers look more circular at all sizes at all dpi.

This change subtly changed several tests.

Closes matplotlib#4421
@tacaswell tacaswell added this to the next point release milestone May 13, 2015
@tacaswell
Copy link
Member Author

this PR

o_fix

curent-ish master

o_master

This looks slightly different from the image in #4421 at ms=7, but that is because these are saved at 100 dpi, not 72

@tacaswell
Copy link
Member Author

@mdboom You last touched this in 6a3cc74, e0f9176, and 6fe5fa0.

The commit message on e0f9176 convinced me that turning the snapping off altogether was the right thing to do.

@mdboom
Copy link
Member

mdboom commented May 13, 2015

Thanks -- sorry I hadn't squashed it completely earlier.

@jenshnielsen
Copy link
Member

Looks good to me. Should this be backported?

@tacaswell
Copy link
Member Author

I am mildly 👎 on backporting. It is a subtle API break (even if it is for the better).

@jenshnielsen
Copy link
Member

Ok, I don't feel strongly either way

efiring added a commit that referenced this pull request May 13, 2015
FIX : turn path snapping off on 'o' marker path
@efiring efiring merged commit 7bb13b5 into matplotlib:master May 13, 2015
@tacaswell tacaswell deleted the fix_circle_marker_snap branch May 13, 2015 18:22
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.

IPython Notebook: irregular marker edge for 'o'
4 participants