Skip to content

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