Thanks to visit codestin.com
Credit goes to github.com

Skip to content

MAINT Matplotlib -> matplotlib #7387

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

Closed
wants to merge 2 commits into from
Closed

MAINT Matplotlib -> matplotlib #7387

wants to merge 2 commits into from

Conversation

NelleV
Copy link
Member

@NelleV NelleV commented Nov 3, 2016

For consistency, renaming all instances in the documentation of Matplotlib into matplotlib.
Somehow, I did not feel comfortable sedding the code…

attn @anntzer

@@ -203,7 +203,7 @@

2013-04-25 Changed all instances of:

from matplotlib import MatplotlibDeprecationWarning as mplDeprecation
from matplotlib import matplotlibDeprecationWarning as mplDeprecation
Copy link
Member Author

Choose a reason for hiding this comment

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

Oh no…

@anntzer
Copy link
Contributor

anntzer commented Nov 3, 2016

sedding \bmatplotlib\b would have helped? :)
The discussion at #6535 (diff) suggests that opinions are split on capitalization... I prefer lowercase but most importantly let's decide once and for all on one choice.

@NelleV
Copy link
Member Author

NelleV commented Nov 3, 2016

I remember having this discussion around a glass of very good whisky in 2013 in an AT&T center…
I personally prefer Matplotlib but have been told at the time that matplotlib was the way to go.

@@ -196,6 +196,6 @@ navigate the gallery. Thus, tags are complementary to this reorganization.

.. [1] http://github.com/matplotlib/matplotlib/pull/714
.. [2] http://github.com/matplotlib/matplotlib/issues/524
.. [3] http://matplotlib.1069221.n5.nabble.com/Matplotlib-gallery-td762.html#a33379091
Copy link
Member

Choose a reason for hiding this comment

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

does this break the link?

Copy link
Member Author

Choose a reason for hiding this comment

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

No it doesn't - urls are not case-sensitive.

Copy link
Member

Choose a reason for hiding this comment

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

It automatically redirects you to uppercased variant because this part of url is just a topic of the thread

@@ -152,7 +152,7 @@ Then copy the build products into your local checkout of the
`~/matplotlib.github.com`::

cp -r build/html/* ~/matplotlib.github.com
cp build/latex/Matplotlib.pdf ~/matplotlib.github.com
Copy link
Member

Choose a reason for hiding this comment

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

probably should leave this + where were it gets generated as capital (to not break peoples bookmarks / scripts).

===============

If you want to refer to matplotlib in a publication, you can use
"Matplotlib: A 2D Graphics Environment" by J. D. Hunter In Computing
Copy link
Member

Choose a reason for hiding this comment

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

This should match the capitalization of the actual paper

@@ -13,19 +13,19 @@
<https://www.packtpub.com/big-data-and-business-intelligence/mastering-matplotlib>`_
by Duncan M. McGreggor

* `Interactive Applications Using Matplotlib
Copy link
Member

Choose a reason for hiding this comment

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

These should match the titles of the books.

@@ -720,17 +720,17 @@ Issues (605):
* :ghissue:`6970`: quiver problems when angles is an array of values rather than 'uv' or 'xy'
* :ghissue:`6966`: No Windows wheel available on PyPI for new version of matplotlib (1.5.2)
* :ghissue:`6721`: Font cache building of matplotlib blocks requests made to HTTPd
* :ghissue:`6844`: scatter edgecolor is broken in Matplotlib 2.0.0b3
Copy link
Member

Choose a reason for hiding this comment

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

this file is going to get thrashed as it is auto-generated :/

Copy link
Member Author

Choose a reason for hiding this comment

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

Unrelated to this issue, but can you share the scripts of the auto-generation?

Copy link
Member

Choose a reason for hiding this comment

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

@@ -11,12 +11,12 @@
<pre>
@Article{Hunter:2007,
Author = {Hunter, J. D.},
Title = {Matplotlib: A 2D graphics environment},
Title = {matplotlib: A 2D graphics environment},
Copy link
Member

Choose a reason for hiding this comment

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

Again, a book title.

@NelleV
Copy link
Member Author

NelleV commented Nov 8, 2016

I fixed the issues.
There is still I think a debate whether we should capitalize matploltib. I personnally don't care either way, but we should be consistent across our documentation.
Just let me now whether I have to replace all instances of matplotlib with Matplotlib.

@NelleV NelleV changed the title MAINT Matplotlib -> matplotlib [MRG] MAINT Matplotlib -> matplotlib Nov 10, 2016
@NelleV
Copy link
Member Author

NelleV commented Nov 29, 2016

I don't have a strong opinion about this PR but considering the changes tackled here, it either needs to be merged or to be closed. If I don't receive any feedback in the next couple of days, I will close it.

@efiring
Copy link
Member

efiring commented Nov 30, 2016

I vote to close it. I think that forcing lower case at the start of a sentence looks terrible. Either always upper case, or letting the case go up and down like that of a normal noun, is fine with me. I don't even care whether it is consistent.

@anntzer
Copy link
Contributor

anntzer commented Nov 30, 2016

Somewhat in favor of getting it consistent, but not feeling strongly about it.

@QuLogic
Copy link
Member

QuLogic commented Dec 7, 2016

As with @efiring, slight preference for capitalization; our GitHub organization is Matplotlib Developers, not matplotlib Developers, after all... (That's not really much of an argument, of course.)

@WeatherGod
Copy link
Member

WeatherGod commented Dec 8, 2016 via email

@NelleV NelleV closed this Dec 16, 2016
@QuLogic QuLogic changed the title [MRG] MAINT Matplotlib -> matplotlib MAINT Matplotlib -> matplotlib Apr 30, 2017
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.

7 participants