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

ENH: Update NumPy logos #16767

Merged
merged 4 commits into from Jul 7, 2020
Merged

ENH: Update NumPy logos #16767

merged 4 commits into from Jul 7, 2020

Conversation

isabela-pf
Copy link
Contributor

This updates NumPy logos to the refreshed versions as chosen in numpy.org # 37. I've included variations and guidelines as a reference for anyone looking to use the logo. I also updated the readme's logo with the appropriate file.

@charris charris changed the title Update NumPy logos MAINT: Update NumPy logos Jul 7, 2020
@charris charris changed the title MAINT: Update NumPy logos ENH: Update NumPy logos Jul 7, 2020
@@ -1,4 +1,4 @@
# <img alt="NumPy" src="https://cdn.rawgit.com/numpy/numpy/master/branding/icons/numpylogo.svg" height="60">
# <img alt="NumPy" src="https://ghcdn.rawgit.org/numpy/numpy/master/branding/icons/logomark/numpylogoicon.svg" height="60">

Copy link
Member

@charris charris Jul 7, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't seem to be rendering properly, hit the ... button and choose View file. Maybe the image needs more height?

Copy link
Member

@mattip mattip Jul 7, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there is a chicken-and-egg problem. The link is the post-PR place where the logo will be when the PR is merged. It currently lives in https://github.com/isabela-pf/numpy/blob/logorefresh/branding/icons/logomark/numpylogoicon.svg.

With that, the new logo is just the icon, where the old one was icon + text so I think we should add the text after it link is not to the primary logo, so it should be changed

Edit: rethink the link

Copy link
Member

@charris charris Jul 7, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, that link is commented out, github seems to make its own link by default.

EDIT: which is probably why it is commented out.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can also see the effect of changes when editing the file and using preview.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think in markdown, a line that begins with a single # is rendered as <H1>.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apparently you can link directly to files in the repo: https://stackoverflow.com/questions/14494747/add-images-to-readme-md-on-github

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets put this in and worry about the link later.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this will work, but we can try later. The images don't seem to be rendered in the preview.

# <img alt="NumPy" src="https://github.com/numpy/numpy/blob/master/branding/icons/logomark/numpylogoicon.svg?raw=true" height="60">

@charris charris merged commit ded4fa6 into numpy:master Jul 7, 2020
@charris
Copy link
Member

charris commented Jul 7, 2020

Thanks @isabela-pf

@charris
Copy link
Member

charris commented Jul 7, 2020

Yep, the logo shows up on the front page after merge.

@charris
Copy link
Member

charris commented Jul 7, 2020

An image with the text "NumPy" would probably be a better choice.

@eric-wieser
Copy link
Member

Since it already contains the colors, can we add to this readme a record of the font that was used?

@isabela-pf
Copy link
Contributor Author

@eric-wieser the text and logomark use a modified version of Lato Black.

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

Successfully merging this pull request may close these issues.

None yet

4 participants