Skip to content

slightly inaccurate plot(".") vs plot("-") positioning #7624

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

Open
anntzer opened this issue Dec 13, 2016 · 5 comments
Open

slightly inaccurate plot(".") vs plot("-") positioning #7624

anntzer opened this issue Dec 13, 2016 · 5 comments
Labels
keep Items to be ignored by the “Stale” Github Action

Comments

@anntzer
Copy link
Contributor

anntzer commented Dec 13, 2016

plot(range(1000), "."); plot(range(1000))

gives
foo

Note that the line is clearly drawn a bit higher on average than the dots.

I thought this was a duplicate of #7262 but actually it is not, this issue is present even in 1.3.

@tacaswell tacaswell added this to the 2.1 (next point release) milestone Dec 14, 2016
@tacaswell tacaswell modified the milestones: 2.1 (next point release), 2.2 (next next feature release) Sep 24, 2017
@github-actions
Copy link

github-actions bot commented Apr 4, 2023

This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help!

@github-actions github-actions bot added the status: inactive Marked by the “Stale” Github Action label Apr 4, 2023
@anntzer
Copy link
Contributor Author

anntzer commented Apr 4, 2023

(also fixed by mplcairo; even if that's not exactly the same as #7262 it's probably some variant...)

@jklymak
Copy link
Member

jklymak commented Apr 4, 2023

Yes, I agree that there is a one-pixel offset at any resolution. The line is one pixel higher than the center of the markers, even with snap=False.

@jklymak
Copy link
Member

jklymak commented Apr 4, 2023

BTW, not sure if this is our issue or Agg's. I would tend to guess maybe Agg, but perhaps we do some messing with the marker positions?

@github-actions github-actions bot removed the status: inactive Marked by the “Stale” Github Action label Apr 5, 2023
Copy link

github-actions bot commented Apr 5, 2024

This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help!

@github-actions github-actions bot added the status: inactive Marked by the “Stale” Github Action label Apr 5, 2024
@anntzer anntzer added keep Items to be ignored by the “Stale” Github Action and removed status: inactive Marked by the “Stale” Github Action labels Apr 5, 2024
@QuLogic QuLogic changed the title stlightly inaccurate plot(".") vs plot("-") positioning slightly inaccurate plot(".") vs plot("-") positioning Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
keep Items to be ignored by the “Stale” Github Action
Projects
None yet
Development

No branches or pull requests

3 participants