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

Incorrect plotting for versions > 1.3.1 and GTK. #6856

Closed
migvel opened this issue Jul 29, 2016 · 4 comments
Closed

Incorrect plotting for versions > 1.3.1 and GTK. #6856

migvel opened this issue Jul 29, 2016 · 4 comments

Comments

@migvel
Copy link

migvel commented Jul 29, 2016

Hello,

I'm having an issue plotting a set of points represented by solid lines, the first point and the last one are always joined(incorrectly) by a solid line.

  • This problem happens with the Matplotlib versions above 1.3.1.
  • Using GTK as the backend.
  • Python 2.7.11
  • Both in Linux and windows.

Thanks.
Miguel.

@afvincent
Copy link
Contributor

@migvel Thank you for reporting the issue. Could you provide a minimal working example please? Furthermore, did you test with other backends than GTK?

@jenshnielsen
Copy link
Member

The GTK backend will be deprecated in Matplotlib 2.0 and has been not recommended to use for a long time. Unless you have some specific dependencies I strongly suggest using GTKAgg or GTKCairo as alternatives. See http://matplotlib.org/faq/usage_faq.html#what-is-a-backend

@tacaswell
Copy link
Member

This maybe fixed in very new version, I have a vauge memory of seeing this before, but I can not find the issue.

The problem is that some backends can not handle paths with commands on the points so we provide a way to simplify them and at some point that the paths were always getting closed.

Closing this issue as "won't fix" due to the backend being deprecated on all active branches.

@migvel We would merge a patch to fix this.

@migvel
Copy link
Author

migvel commented Jul 29, 2016

OK, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants