Skip to content

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

Open

Description

@anntzer
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.

Activity

  1. added this to the milestone on Dec 14, 2016
  2. modified the milestones: , on Sep 24, 2017
  3. github-actions commented on Apr 4, 2023

    @github-actions

    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!

  4. anntzer commented on Apr 4, 2023

    @anntzer
    ContributorAuthor

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

  5. jklymak commented on Apr 4, 2023

    @jklymak
    Member

    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.

  6. jklymak commented on Apr 4, 2023

    @jklymak
    Member

    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?

  7. github-actions commented on Apr 5, 2024

    @github-actions

    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!

  8. added
    keepItems to be ignored by the “Stale” Github Action
    and removed
    status: inactiveMarked by the “Stale” Github Action
    on Apr 5, 2024
  9. changed the title [-]stlightly inaccurate plot(".") vs plot("-") positioning[/-] [+]slightly inaccurate plot(".") vs plot("-") positioning[/+] on Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    keepItems to be ignored by the “Stale” Github Action

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions