Skip to content

Add svg logo icon - #15889

Merged
jklymak merged 1 commit into
matplotlib:masterfrom
timhoffm:svg-icon
May 5, 2021
Merged

jklymak merged 1 commit into
matplotlib:masterfrom
timhoffm:svg-icon

Conversation

@timhoffm

@timhoffm timhoffm commented Dec 9, 2019

Copy link
Copy Markdown
Member

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

timhoffm commented Dec 9, 2019

Copy link
Copy Markdown
Member Author

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

@QuLogic

QuLogic commented Apr 1, 2020

Copy link
Copy Markdown
Member

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

@timhoffm

timhoffm commented Apr 1, 2020

Copy link
Copy Markdown
Member Author

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

QuLogic commented Apr 13, 2020

Copy link
Copy Markdown
Member

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

story645 commented Jun 18, 2020 •

Copy link
Copy Markdown
Member

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

jklymak commented Apr 23, 2021

Copy link
Copy Markdown
Member

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
Copy Markdown
Member Author

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

@jklymak

jklymak commented Apr 23, 2021

Copy link
Copy Markdown
Member

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.

4 participants