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

Icons for Tk are not antialiased. #6610

Closed
efiring opened this issue Jun 19, 2016 · 2 comments
Closed

Icons for Tk are not antialiased. #6610

efiring opened this issue Jun 19, 2016 · 2 comments
Assignees
Labels
Milestone

Comments

@efiring
Copy link
Member

efiring commented Jun 19, 2016

As pointed out here #5626 (comment) the new icons are particularly ugly with the Tkagg backend. The reason is that Tk is using the ppm versions, which are not antialiased. One solution would be to use, e.g.,

convert -antialias -geometry 24x24 back.svg back.gif

etc. to generate antialiased gif files to replace the ppm files, and then change one line in backend_tkagg.py so that it will use these files.

In addition, the old and now unused xpm files can be deleted.

@efiring efiring added this to the 2.0 (style change major release) milestone Jun 19, 2016
@efiring efiring self-assigned this Jun 22, 2016
@tacaswell
Copy link
Member

Closed by #6627

@lianghongzhuo
Copy link

Maybe also change the icon matplotlib.ppm to a high-res picture like ".png"?
Tested in my system, working.

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

No branches or pull requests

3 participants