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

Skip to content

Commit 3351608

Browse files
STY: Apply trailing-whitespace pre-commit hook
1 parent 94d985a commit 3351608

30 files changed

+149
-151
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@ body:
66
id: summary
77
attributes:
88
label: Bug summary
9-
description: Describe the bug in 1-2 short sentences
10-
placeholder:
9+
description: Describe the bug in 1-2 short sentences
10+
placeholder:
1111
value:
1212
validations:
1313
required: true
1414
- type: textarea
1515
id: reproduction
1616
attributes:
1717
label: Code for reproduction
18-
description: If possible, please provide a minimum self-contained example.
18+
description: If possible, please provide a minimum self-contained example.
1919
placeholder: Paste your code here
2020
render: python
2121
validations:
@@ -59,7 +59,7 @@ body:
5959
required: true
6060
- type: input
6161
id: matplotlib-backend
62-
attributes:
62+
attributes:
6363
label: Matplotlib Backend
6464
description: "From Python prompt: `import matplotlib; print(matplotlib.get_backend())`"
6565
- type: input

.github/ISSUE_TEMPLATE/documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ body:
1515
id: problem
1616
attributes:
1717
label: Problem
18-
description: What is missing, unclear, or wrong in the documentation?
18+
description: What is missing, unclear, or wrong in the documentation?
1919
placeholder: |
2020
* I found [...] to be unclear because [...]
2121
* [...] made me think that [...] when really it should be [...]

.github/ISSUE_TEMPLATE/maintenance.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ body:
77
id: summary
88
attributes:
99
label: Summary
10-
description: Please provide 1-2 short sentences that succinctly describes what could be improved.
10+
description: Please provide 1-2 short sentences that succinctly describes what could be improved.
1111
validations:
1212
required: true
1313
- type: textarea
1414
id: fix
1515
attributes:
1616
label: Proposed fix
17-
description: Please describe how you think this could be improved.
17+
description: Please describe how you think this could be improved.

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ representative at an online or offline event.
6262
Instances of abusive, harassing, or otherwise unacceptable behavior may be
6363
reported to the community leaders responsible for enforcement at
6464
[email protected] (monitored by Thomas Caswell (\@tacaswell) and Hannah
65-
Aizenman (\@story645)) or a report can be made using the [NumFOCUS Code of Conduct report form][numfocus form].
65+
Aizenman (\@story645)) or a report can be made using the [NumFOCUS Code of Conduct report form][numfocus form].
6666
If community leaders cannot come to a resolution about enforcement, reports will be escalated to the NumFocus Code of Conduct committee ([email protected]).
6767
All complaints will be reviewed and investigated promptly and fairly.
6868

LICENSE/LICENSE_AMSFONTS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ with others.
165165

166166
The OFL allows the licensed fonts to be used, studied, modified and
167167
redistributed freely as long as they are not sold by themselves. The
168-
fonts, including any derivative works, can be bundled, embedded,
168+
fonts, including any derivative works, can be bundled, embedded,
169169
redistributed and/or sold with any software provided that any reserved
170170
names are not used by derivative works. The fonts and derivatives,
171171
however, cannot be released under any other type of license. The

LICENSE/LICENSE_BAKOMA

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,22 @@
1010

1111
2) BaKoMa-AMS (1.2/19-Jan-95)
1212
AMS TeX fonts in PostScript Type 1 and TrueType font formats.
13-
13+
1414
Copyright (C) 1994, 1995, Basil K. Malyshev. All Rights Reserved.
1515

16-
Permission to copy and distribute these fonts for any purpose is
17-
hereby granted without fee, provided that the above copyright notice,
18-
author statement and this permission notice appear in all copies of
16+
Permission to copy and distribute these fonts for any purpose is
17+
hereby granted without fee, provided that the above copyright notice,
18+
author statement and this permission notice appear in all copies of
1919
these fonts and related documentation.
2020

21-
Permission to modify and distribute modified fonts for any purpose is
22-
hereby granted without fee, provided that the copyright notice,
23-
author statement, this permission notice and location of original
21+
Permission to modify and distribute modified fonts for any purpose is
22+
hereby granted without fee, provided that the copyright notice,
23+
author statement, this permission notice and location of original
2424
fonts (http://www.ctan.org/tex-archive/fonts/cm/ps-type1/bakoma)
2525
appear in all copies of modified fonts and related documentation.
2626

2727
Permission to use these fonts (embedding into PostScript, PDF, SVG
28-
and printing by using any software) is hereby granted without fee.
28+
and printing by using any software) is hereby granted without fee.
2929
It is not required to provide any notices about using these fonts.
3030

3131
Basil K. Malyshev

LICENSE/LICENSE_COLORBREWER

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,37 +2,37 @@ Apache-Style Software License for ColorBrewer Color Schemes
22

33
Version 1.1
44

5-
Copyright (c) 2002 Cynthia Brewer, Mark Harrower, and The Pennsylvania
6-
State University. All rights reserved. Redistribution and use in source
7-
and binary forms, with or without modification, are permitted provided
5+
Copyright (c) 2002 Cynthia Brewer, Mark Harrower, and The Pennsylvania
6+
State University. All rights reserved. Redistribution and use in source
7+
and binary forms, with or without modification, are permitted provided
88
that the following conditions are met:
99

10-
1. Redistributions as source code must retain the above copyright notice,
10+
1. Redistributions as source code must retain the above copyright notice,
1111
this list of conditions and the following disclaimer.
1212

13-
2. The end-user documentation included with the redistribution, if any,
14-
must include the following acknowledgment: "This product includes color
15-
specifications and designs developed by Cynthia Brewer
16-
(http://colorbrewer.org/)." Alternately, this acknowledgment may appear in
17-
the software itself, if and wherever such third-party acknowledgments
13+
2. The end-user documentation included with the redistribution, if any,
14+
must include the following acknowledgment: "This product includes color
15+
specifications and designs developed by Cynthia Brewer
16+
(http://colorbrewer.org/)." Alternately, this acknowledgment may appear in
17+
the software itself, if and wherever such third-party acknowledgments
1818
normally appear.
1919

20-
3. The name "ColorBrewer" must not be used to endorse or promote products
21-
derived from this software without prior written permission. For written
20+
3. The name "ColorBrewer" must not be used to endorse or promote products
21+
derived from this software without prior written permission. For written
2222
permission, please contact Cynthia Brewer at [email protected].
2323

24-
4. Products derived from this software may not be called "ColorBrewer",
25-
nor may "ColorBrewer" appear in their name, without prior written
24+
4. Products derived from this software may not be called "ColorBrewer",
25+
nor may "ColorBrewer" appear in their name, without prior written
2626
permission of Cynthia Brewer.
2727

28-
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES,
29-
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
30-
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
31-
CYNTHIA BREWER, MARK HARROWER, OR THE PENNSYLVANIA STATE UNIVERSITY BE
32-
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
33-
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
34-
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
35-
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
36-
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
37-
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28+
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES,
29+
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
30+
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
31+
CYNTHIA BREWER, MARK HARROWER, OR THE PENNSYLVANIA STATE UNIVERSITY BE
32+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
33+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
34+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
35+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
36+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
37+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
3838
POSSIBILITY OF SUCH DAMAGE.

LICENSE/LICENSE_STIX

Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,70 +1,70 @@
11
TERMS AND CONDITIONS
22

3-
1. Permission is hereby granted, free of charge, to any person
4-
obtaining a copy of the STIX Fonts-TM set accompanying this license
5-
(collectively, the "Fonts") and the associated documentation files
6-
(collectively with the Fonts, the "Font Software"), to reproduce and
7-
distribute the Font Software, including the rights to use, copy, merge
8-
and publish copies of the Font Software, and to permit persons to whom
9-
the Font Software is furnished to do so same, subject to the following
3+
1. Permission is hereby granted, free of charge, to any person
4+
obtaining a copy of the STIX Fonts-TM set accompanying this license
5+
(collectively, the "Fonts") and the associated documentation files
6+
(collectively with the Fonts, the "Font Software"), to reproduce and
7+
distribute the Font Software, including the rights to use, copy, merge
8+
and publish copies of the Font Software, and to permit persons to whom
9+
the Font Software is furnished to do so same, subject to the following
1010
terms and conditions (the "License").
1111

12-
2. The following copyright and trademark notice and these Terms and
13-
Conditions shall be included in all copies of one or more of the Font
14-
typefaces and any derivative work created as permitted under this
12+
2. The following copyright and trademark notice and these Terms and
13+
Conditions shall be included in all copies of one or more of the Font
14+
typefaces and any derivative work created as permitted under this
1515
License:
1616

17-
Copyright (c) 2001-2005 by the STI Pub Companies, consisting of
18-
the American Institute of Physics, the American Chemical Society, the
19-
American Mathematical Society, the American Physical Society, Elsevier,
20-
Inc., and The Institute of Electrical and Electronic Engineers, Inc.
21-
Portions copyright (c) 1998-2003 by MicroPress, Inc. Portions copyright
22-
(c) 1990 by Elsevier, Inc. All rights reserved. STIX Fonts-TM is a
17+
Copyright (c) 2001-2005 by the STI Pub Companies, consisting of
18+
the American Institute of Physics, the American Chemical Society, the
19+
American Mathematical Society, the American Physical Society, Elsevier,
20+
Inc., and The Institute of Electrical and Electronic Engineers, Inc.
21+
Portions copyright (c) 1998-2003 by MicroPress, Inc. Portions copyright
22+
(c) 1990 by Elsevier, Inc. All rights reserved. STIX Fonts-TM is a
2323
trademark of The Institute of Electrical and Electronics Engineers, Inc.
2424

25-
3. You may (a) convert the Fonts from one format to another (e.g.,
26-
from TrueType to PostScript), in which case the normal and reasonable
27-
distortion that occurs during such conversion shall be permitted and (b)
28-
embed or include a subset of the Fonts in a document for the purposes of
29-
allowing users to read text in the document that utilizes the Fonts. In
30-
each case, you may use the STIX Fonts-TM mark to designate the resulting
25+
3. You may (a) convert the Fonts from one format to another (e.g.,
26+
from TrueType to PostScript), in which case the normal and reasonable
27+
distortion that occurs during such conversion shall be permitted and (b)
28+
embed or include a subset of the Fonts in a document for the purposes of
29+
allowing users to read text in the document that utilizes the Fonts. In
30+
each case, you may use the STIX Fonts-TM mark to designate the resulting
3131
Fonts or subset of the Fonts.
3232

33-
4. You may also (a) add glyphs or characters to the Fonts, or modify
34-
the shape of existing glyphs, so long as the base set of glyphs is not
35-
removed and (b) delete glyphs or characters from the Fonts, provided
36-
that the resulting font set is distributed with the following
37-
disclaimer: "This [name] font does not include all the Unicode points
38-
covered in the STIX Fonts-TM set but may include others." In each case,
39-
the name used to denote the resulting font set shall not include the
33+
4. You may also (a) add glyphs or characters to the Fonts, or modify
34+
the shape of existing glyphs, so long as the base set of glyphs is not
35+
removed and (b) delete glyphs or characters from the Fonts, provided
36+
that the resulting font set is distributed with the following
37+
disclaimer: "This [name] font does not include all the Unicode points
38+
covered in the STIX Fonts-TM set but may include others." In each case,
39+
the name used to denote the resulting font set shall not include the
4040
term "STIX" or any similar term.
4141

42-
5. You may charge a fee in connection with the distribution of the
43-
Font Software, provided that no copy of one or more of the individual
42+
5. You may charge a fee in connection with the distribution of the
43+
Font Software, provided that no copy of one or more of the individual
4444
Font typefaces that form the STIX Fonts-TM set may be sold by itself.
4545

46-
6. THE FONT SOFTWARE IS PROVIDED "AS IS," WITHOUT WARRANTY OF ANY
47-
KIND, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTIES
48-
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
49-
OF COPYRIGHT, PATENT, TRADEMARK OR OTHER RIGHT. IN NO EVENT SHALL
50-
MICROPRESS OR ANY OF THE STI PUB COMPANIES BE LIABLE FOR ANY CLAIM,
51-
DAMAGES OR OTHER LIABILITY, INCLUDING, BUT NOT LIMITED TO, ANY GENERAL,
52-
SPECIAL, INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES, WHETHER IN AN
53-
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM OR OUT OF THE USE OR
54-
INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT
46+
6. THE FONT SOFTWARE IS PROVIDED "AS IS," WITHOUT WARRANTY OF ANY
47+
KIND, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTIES
48+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
49+
OF COPYRIGHT, PATENT, TRADEMARK OR OTHER RIGHT. IN NO EVENT SHALL
50+
MICROPRESS OR ANY OF THE STI PUB COMPANIES BE LIABLE FOR ANY CLAIM,
51+
DAMAGES OR OTHER LIABILITY, INCLUDING, BUT NOT LIMITED TO, ANY GENERAL,
52+
SPECIAL, INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES, WHETHER IN AN
53+
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM OR OUT OF THE USE OR
54+
INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT
5555
SOFTWARE.
5656

57-
7. Except as contained in the notice set forth in Section 2, the
58-
names MicroPress Inc. and STI Pub Companies, as well as the names of the
59-
companies/organizations that compose the STI Pub Companies, shall not be
60-
used in advertising or otherwise to promote the sale, use or other
61-
dealings in the Font Software without the prior written consent of the
57+
7. Except as contained in the notice set forth in Section 2, the
58+
names MicroPress Inc. and STI Pub Companies, as well as the names of the
59+
companies/organizations that compose the STI Pub Companies, shall not be
60+
used in advertising or otherwise to promote the sale, use or other
61+
dealings in the Font Software without the prior written consent of the
6262
respective company or organization.
6363

64-
8. This License shall become null and void in the event of any
64+
8. This License shall become null and void in the event of any
6565
material breach of the Terms and Conditions herein by licensee.
6666

67-
9. A substantial portion of the STIX Fonts set was developed by
68-
MicroPress Inc. for the STI Pub Companies. To obtain additional
69-
mathematical fonts, please contact MicroPress, Inc., 68-30 Harrow
67+
9. A substantial portion of the STIX Fonts set was developed by
68+
MicroPress Inc. for the STI Pub Companies. To obtain additional
69+
mathematical fonts, please contact MicroPress, Inc., 68-30 Harrow
7070
Street, Forest Hills, NY 11375, USA - Phone: (718) 575-1816.

doc/README.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,17 @@ This is the top level build directory for the Matplotlib
1313
documentation. All of the documentation is written using sphinx, a
1414
python documentation system built on top of ReST. This directory contains
1515

16-
* users - the user documentation, e.g., installation, plotting tutorials,
16+
* users - the user documentation, e.g., installation, plotting tutorials,
1717
configuration tips, faq, explaations, etc.
1818

1919
* devel - documentation for Matplotlib developers
2020

2121
* api - placeholders to automatically generate the api documentation
2222

23-
* tutorials, plot_types, and gallery - automatically
23+
* tutorials, plot_types, and gallery - automatically
2424
generated by sphinx-gallery from ``../tutorials``, ``../plot_types``, and
2525
``../examples`` respectively (these are only present if docs have been
26-
built locally).
26+
built locally).
2727

2828
* thirdpartypackages - redirect to <https://matplotlib.org/mpl-third-party/>
2929

doc/_templates/automodule.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
treat this separately (sphinx-doc/sphinx/issues/4874)
66
.. automodule:: {{ fullname }}
77
:members:
8-
8+
99
{% else %}
1010

1111
.. automodule:: {{ fullname }}
@@ -18,7 +18,7 @@
1818
Classes
1919
-------
2020

21-
.. autosummary::
21+
.. autosummary::
2222
:template: autosummary.rst
2323
:toctree:
2424
{% for item in classes %}{% if item not in ['zip', 'map', 'reduce'] %}
@@ -32,7 +32,7 @@ Classes
3232
Functions
3333
---------
3434

35-
.. autosummary::
35+
.. autosummary::
3636
:template: autosummary.rst
3737
:toctree:
3838

doc/api/lines_api.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,3 @@ Functions
2626
:template: autosummary.rst
2727

2828
segment_hits
29-

doc/api/next_api_changes/behavior/00001-ABC.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ Behavior Change template
44
Enter description here....
55

66
Please rename file with PR number and your initials i.e. "99999-ABC.rst"
7-
and ``git add`` the new file.
7+
and ``git add`` the new file.

doc/api/next_api_changes/development/00001-ABC.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ Development Change template
44
Enter description here....
55

66
Please rename file with PR number and your initials i.e. "99999-ABC.rst"
7-
and ``git add`` the new file.
7+
and ``git add`` the new file.

doc/api/next_api_changes/removals/00001-ABC.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ Removal Change template
44
Enter description of methods/classes removed here....
55

66
Please rename file with PR number and your initials i.e. "99999-ABC.rst"
7-
and ``git add`` the new file.
7+
and ``git add`` the new file.

doc/api/next_api_changes/removals/21980-CC.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ Removed loaded modules logging
22
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33

44
The list of currently loaded modules is no longer logged at the DEBUG level at Matplotlib import time,
5-
because it can produce extensive output and make other valuable DEBUG statements difficult to find.
5+
because it can produce extensive output and make other valuable DEBUG statements difficult to find.
66
If you were relying on this please arrange for your own logging (the built-in `sys.modules` can be used to get the currently loaded modules).

doc/api/patches_api.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,3 @@ Functions
4848

4949
bbox_artist
5050
draw_bbox
51-

doc/api/tri_api.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
:show-inheritance:
1818

1919
.. autoclass:: matplotlib.tri.TriInterpolator
20-
20+
2121
.. autoclass:: matplotlib.tri.LinearTriInterpolator
2222
:members: __call__, gradient
2323
:show-inheritance:
@@ -30,7 +30,7 @@
3030

3131
.. autoclass:: matplotlib.tri.UniformTriRefiner
3232
:show-inheritance:
33-
:members:
33+
:members:
3434

3535
.. autoclass:: matplotlib.tri.TriAnalyzer
36-
:members:
36+
:members:

0 commit comments

Comments
 (0)