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

Add svg logo icon #15889

Merged
merged 1 commit into from
May 5, 2021
Merged

Add svg logo icon #15889

merged 1 commit into from
May 5, 2021

Conversation

timhoffm
Copy link
Member

@timhoffm timhoffm commented Dec 9, 2019

The icon is mainly created for large-sized display (c.f. #15879). If it's scaled down much (<30%) the lines become too thin.

While this is not (yet?) used anywhere on the website or in the examples, I think it's good to have this stored somewhere in the repo. And with 19k, it's still small enough so that it does not hurt.

The icon created using the logo example https://matplotlib.org/gallery/misc/logos2.html
and parameters

make_logo(height_px=360, lw_bars=1.5, lw_grid=1.0, lw_border=3.0,
           rgrid=[1, 3, 5, 7], with_text=False)
plt.savefig('matplotlib-icon.svg')

and compressed via https://vecta.io/nano (compression level 5).

icon created using the logo example https://matplotlib.org/gallery/misc/logos2.html
and parameters

make_logo(height_px=360, lw_bars=1.5, lw_grid=1.0, lw_border=3.0,
           rgrid=[1, 3, 5, 7], with_text=False)
plt.savefig('matplotlib-icon.svg')

and compressed via https://vecta.io/nano (compression level 5).
@timhoffm timhoffm added the status: needs comment/discussion needs consensus on next step label Dec 9, 2019
@timhoffm
Copy link
Member Author

timhoffm commented Dec 9, 2019

Discussion: Is this the right place to add the svg logo icon?

@QuLogic
Copy link
Member

QuLogic commented Apr 1, 2020

I would guess so, it's the same place as the PNG. What would you hope to use this for?

@timhoffm
Copy link
Member Author

timhoffm commented Apr 1, 2020

I'm looking for a place to store the "official" logo icon. It's not bound to a particular purpose, but we need logos in various locations. be it for numfocus, discourse, social media account icons etc. and AFAICS we don't have a official place to take these logos from.

@QuLogic
Copy link
Member

QuLogic commented Apr 13, 2020

It seems a good a place as any other, though it's a bit of a hodgepodge of things. My only other suggestion is to put it in docs/resources and add an 'Official Resources' section there?

@story645
Copy link
Member

story645 commented Jun 18, 2020

I think we need an actual logo/branding page, specially since our logo font means it can't just be regenerated. I'd go w/ twitters sizes as good as anything:

  • icon: 400x400 pixel jpeg/png
  • header: 1500x500 pixel jpeg/png

and the logo/branding page should tie in w/ the https://github.com/matplotlib/governance/blob/master/communications_guidelines.md

@jklymak
Copy link
Member

jklymak commented Apr 23, 2021

I don't see any reason not to merge this, despite any other changes we think we need.

@jklymak jklymak added status: needs review and removed status: needs comment/discussion needs consensus on next step labels Apr 23, 2021
@jklymak jklymak added this to the v3.5.0 milestone Apr 23, 2021
@timhoffm
Copy link
Member Author

Maybe it should go in another repo? But I don't know which.

@jklymak
Copy link
Member

jklymak commented Apr 23, 2021

i dunno I think we should have a logo page - but I guess we can merge this when someone needs it? Otherwise we will forget we have it...

@jklymak jklymak merged commit 688badb into matplotlib:master May 5, 2021
@timhoffm timhoffm deleted the svg-icon branch May 6, 2021 14:49
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.

None yet

4 participants