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

Skip to content

Further refinement of marker placement and snapping. #734

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
Mar 4, 2012

Conversation

mdboom
Copy link
Member

@mdboom mdboom commented Mar 1, 2012

Since paths (particularly marker paths, which are centered at (0, 0)) can cross the origin, it is better to round using floor() than round() (which rounds toward 0).

Markers are placed correctly with respect to the snapping of the axes that contains them.

The clipbox calculation has been adjusted to match the snapping of the axes rectangle.

Since paths (particularly marker paths, which are centered at (0, 0)) can cross the origin, it is better to round using floor() than round() (which rounds toward 0).

Markers are placed correctly with respect to the snapping of the axes that contains them.

The clipbox calculation has been adjusted to match the snapping of the axes rectangle.
@mdboom mdboom mentioned this pull request Mar 1, 2012
@leejjoon
Copy link
Contributor

leejjoon commented Mar 4, 2012

As far as I can test, all looks good. Thank you!

mdboom added a commit that referenced this pull request Mar 4, 2012
Further refinement of marker placement and snapping.
@mdboom mdboom merged commit a970aff into matplotlib:v1.1.x Mar 4, 2012
@mdboom mdboom deleted the pixel_marker branch March 3, 2015 18:44
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