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

Skip to content

Commit a19dbb0

Browse files
authored
Merge pull request #15012 from simon04/typo-github
Fix typesetting of "GitHub"
2 parents 71a785d + 9377a2b commit a19dbb0

File tree

14 files changed

+23
-23
lines changed

14 files changed

+23
-23
lines changed

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def _check_dependencies():
207207

208208
plot_formats = [('png', 100), ('pdf', 100)]
209209

210-
# Github extension
210+
# GitHub extension
211211

212212
github_project_url = "https://github.com/matplotlib/matplotlib/"
213213

doc/devel/MEP/MEP19.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Requirements
9090

9191
This section outlines the requirements that we would like to have.
9292

93-
#. Testing all pull requests by hooking into the Github API, as
93+
#. Testing all pull requests by hooking into the GitHub API, as
9494
Travis-CI does
9595

9696
#. Testing on all major platforms: Linux, Mac OS-X, MS Windows (in
@@ -169,7 +169,7 @@ CI Infrastructure
169169

170170
- Investigate finding or building a tool that would collect and
171171
synthesize test results from a number of sources and post it to
172-
Github using the Github API. This may be of general use to the
172+
GitHub using the GitHub API. This may be of general use to the
173173
Scipy community.
174174

175175
- For both Windows and Mac, we should document (or better yet, script)

doc/devel/contributing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ want to consider sending an email to the mailing list for more visibility.
221221

222222
* `Git documentation <https://git-scm.com/documentation>`_
223223
* `Git-Contributing to a Project <https://git-scm.com/book/en/v2/GitHub-Contributing-to-a-Project>`_
224-
* `Introduction to Github <https://lab.github.com/githubtraining/introduction-to-github>`_
224+
* `Introduction to GitHub <https://lab.github.com/githubtraining/introduction-to-github>`_
225225
* :ref:`development-workflow`.
226226
* :ref:`using-git`
227227

doc/faq/troubleshooting_faq.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ There is a good chance your question has already been asked:
8484

8585
- The `mailing list archive <http://matplotlib.1069221.n5.nabble.com/>`_.
8686

87-
- `Github issues <https://github.com/matplotlib/matplotlib/issues>`_.
87+
- `GitHub issues <https://github.com/matplotlib/matplotlib/issues>`_.
8888

8989
- Stackoverflow questions tagged `matplotlib
9090
<http://stackoverflow.com/questions/tagged/matplotlib>`_.
@@ -100,7 +100,7 @@ provide the following information in your e-mail to the `mailing list
100100
python -c "import matplotlib; print matplotlib.__version__"
101101

102102
* Where you obtained Matplotlib (e.g., your Linux distribution's packages,
103-
Github, PyPi, or `Anaconda <https://www.anaconda.com/>`_ or
103+
GitHub, PyPi, or `Anaconda <https://www.anaconda.com/>`_ or
104104
`Enthought Canopy <https://www.enthought.com/products/canopy/>`_).
105105

106106
* Any customizations to your ``matplotlibrc`` file (see

doc/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,8 @@ Foundation (PSF) license <psf-license_>`_.
197197
There is an active developer community and a long list of people who have made
198198
significant :doc:`contributions <users/credits>`.
199199

200-
Matplotlib is hosted on `Github <source code_>`_. `Issues <issue tracker_>`_
201-
and `Pull requests`_ are tracked at Github too.
200+
Matplotlib is hosted on `GitHub <source code_>`_. `Issues <issue tracker_>`_
201+
and `Pull requests`_ are tracked at GitHub too.
202202

203203
.. _source code: https://github.com/matplotlib/matplotlib
204204
.. _issue tracker: https://github.com/matplotlib/matplotlib/issues

doc/thirdpartypackages/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ Several external packages that extend or build on Matplotlib functionality are
88
listed below. They are maintained and distributed separately from Matplotlib
99
and thus need to be installed individually.
1010

11-
Please submit an issue or pull request on Github if you have created
11+
Please submit an issue or pull request on GitHub if you have created
1212
a package that you would like to have included. We are also happy to
13-
host third party packages within the `Matplotlib Github Organization
13+
host third party packages within the `Matplotlib GitHub Organization
1414
<https://github.com/matplotlib>`_.
1515

1616
Mapping toolkits

lib/matplotlib/tests/test_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def test_twin_inherit_autoscale_setting():
215215

216216

217217
def test_inverted_cla():
218-
# Github PR #5450. Setting autoscale should reset
218+
# GitHub PR #5450. Setting autoscale should reset
219219
# axes to be non-inverted.
220220
# plotting an image, then 1d graph, axis is now down
221221
fig = plt.figure(0)

lib/matplotlib/tests/test_collections.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ def test_null_collection_datalim():
397397

398398
def test_add_collection():
399399
# Test if data limits are unchanged by adding an empty collection.
400-
# Github issue #1490, pull #1497.
400+
# GitHub issue #1490, pull #1497.
401401
plt.figure()
402402
ax = plt.axes()
403403
coll = ax.scatter([0, 1], [0, 1])

lib/matplotlib/tests/test_colors.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def test_create_lookup_table(N, result):
2828

2929
def test_resample():
3030
"""
31-
Github issue #6025 pointed to incorrect ListedColormap._resample;
31+
GitHub issue #6025 pointed to incorrect ListedColormap._resample;
3232
here we test the method for LinearSegmentedColormap as well.
3333
"""
3434
n = 101
@@ -62,7 +62,7 @@ def test_colormap_copy():
6262

6363
def test_colormap_endian():
6464
"""
65-
Github issue #1005: a bug in putmask caused erroneous
65+
GitHub issue #1005: a bug in putmask caused erroneous
6666
mapping of 1.0 when input from a non-native-byteorder
6767
array.
6868
"""
@@ -77,7 +77,7 @@ def test_colormap_endian():
7777

7878
def test_colormap_invalid():
7979
"""
80-
Github issue #9892: Handling of nan's were getting mapped to under
80+
GitHub issue #9892: Handling of nan's were getting mapped to under
8181
rather than bad. This tests to make sure all invalid values
8282
(-inf, nan, inf) are mapped respectively to (under, bad, over).
8383
"""
@@ -131,7 +131,7 @@ def test_colormap_return_types():
131131

132132
def test_BoundaryNorm():
133133
"""
134-
Github issue #1258: interpolation was failing with numpy
134+
GitHub issue #1258: interpolation was failing with numpy
135135
1.7 pre-release.
136136
"""
137137

lib/matplotlib/tests/test_lines.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
@pytest.mark.flaky(reruns=3)
2121
def test_invisible_Line_rendering():
2222
"""
23-
Github issue #1256 identified a bug in Line.draw method
23+
GitHub issue #1256 identified a bug in Line.draw method
2424
2525
Despite visibility attribute set to False, the draw method was not
2626
returning early enough and some pre-rendering code was executed

lib/matplotlib/tests/test_patches.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919

2020
def test_Polygon_close():
21-
#: Github issue #1018 identified a bug in the Polygon handling
21+
#: GitHub issue #1018 identified a bug in the Polygon handling
2222
#: of the closed attribute; the path was not getting closed
2323
#: when set_xy was used to set the vertices.
2424

@@ -216,7 +216,7 @@ def test_patch_custom_linestyle():
216216

217217
def test_patch_linestyle_accents():
218218
#: Test if linestyle can also be specified with short mnemonics like "--"
219-
#: c.f. Github issue #2136
219+
#: c.f. GitHub issue #2136
220220
star = mpath.Path.unit_regular_star(6)
221221
circle = mpath.Path.unit_circle()
222222
# concatenate the star with an internal cutout of the circle

lib/mpl_toolkits/tests/test_mplot3d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,7 @@ def test_inverted(fig_test, fig_ref):
813813

814814

815815
def test_inverted_cla():
816-
# Github PR #5450. Setting autoscale should reset
816+
# GitHub PR #5450. Setting autoscale should reset
817817
# axes to be non-inverted.
818818
fig, ax = plt.subplots(subplot_kw={"projection": "3d"})
819819
# 1. test that a new axis is not inverted per default

tools/gh_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Functions for Github API requests."""
1+
"""Functions for GitHub API requests."""
22

33
import getpass
44
import json
@@ -51,7 +51,7 @@ def get_auth_token():
5151

5252
print("Please enter your github username and password. These are not "
5353
"stored, only used to get an oAuth token. You can revoke this at "
54-
"any time on Github.")
54+
"any time on GitHub.")
5555
user = input("Username: ")
5656
pw = getpass.getpass("Password: ")
5757

tools/github_stats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def round_hour(dt):
3434
return dt.replace(minute=0,second=0,microsecond=0)
3535

3636
def _parse_datetime(s):
37-
"""Parse dates in the format returned by the Github API."""
37+
"""Parse dates in the format returned by the GitHub API."""
3838
if s:
3939
return datetime.strptime(s, ISO8601)
4040
else:

0 commit comments

Comments
 (0)