Skip to content

Changes icon when using macosx backend#14927

Closed
joelfrederico wants to merge 3 commits into
matplotlib:masterfrom
joelfrederico:macos-icon
Closed

Changes icon when using macosx backend#14927
joelfrederico wants to merge 3 commits into
matplotlib:masterfrom
joelfrederico:macos-icon

Conversation

@joelfrederico

@joelfrederico joelfrederico commented Jul 30, 2019

Copy link
Copy Markdown
Contributor

PR Summary

Sets the icon to the matplotlib icon when using the macos backend. (See #14850.)

PR Checklist

(No items are applicable.)

@joelfrederico

joelfrederico commented Jul 30, 2019

Copy link
Copy Markdown
Contributor Author

Not completely sure of the idioms used in this codebase, but I generally prefer avoiding goto and passing NULL into 3rd-party functions.

Also not sure whether conventions are to keep things in C/Objective-C or to put them in Python.

Also, used PDF instead of png, as MacOS supports vector icons. (Nice!)

Comments/requests welcome.

Comment thread src/_macosx.m Outdated
@joelfrederico

Copy link
Copy Markdown
Contributor Author

Closing in favor of #14930.

@joelfrederico joelfrederico deleted the macos-icon branch August 1, 2019 18:15
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