10000 Apply pre-commit autofixes · matplotlib/matplotlib@6e8cbb7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6e8cbb7

Browse files
committed
Apply pre-commit autofixes
1 parent 1ffd196 commit 6e8cbb7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+184
-205
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@ body:
55
- type: markdown
66
attributes:
77
value: |
8-
To help us understand and resolve your issue, please fill out the form to the best of your ability.
8+
To help us understand and resolve your issue, please fill out the form to the best of your ability.
99
- type: textarea
1010
id: summary
1111
attributes:
1212
label: Bug summary
1313
description: Please provide 1-2 short sentences that succinctly describes the bug
14-
placeholder:
14+
placeholder:
1515
value:
1616
validations:
1717
required: true
1818
- type: textarea
1919
id: reproduction
2020
attributes:
2121
label: Code for reproduction
22-
description: If possible, please provide a minimum self-contained example.
22+
description: If possible, please provide a minimum self-contained example.
2323
placeholder: Paste your code here
2424
render: python
2525
validations:
@@ -28,7 +28,7 @@ body:
2828
id: actual
2929
attributes:
3030
label: Actual outcome
31-
description: Please provide the output produced by the above code, which may be a screenshot, console output, etc.
31+
description: Please provide the output produced by the above code, which may be a screenshot, console output, etc.
3232
placeholder: if applicable, paste the console output and images here
3333
validations:
3434
required: true
@@ -44,7 +44,7 @@ body:
4444
attributes:
4545
label: Operating system
4646
description: What operating system are you using?
47-
placeholder: Windows, OS/X, Arch, Debian, Ubuntu, etc.
47+
placeholder: Windows, OS/X, Arch, Debian, Ubuntu, etc.
4848
- type: input
4949
id: matplotlib-version
5050
attributes:
@@ -54,7 +54,7 @@ body:
5454
required: true
5555
- type: input
5656
id: matplotlib-backend
57-
attributes:
57+
attributes:
5858
label: Matplotlib Backend
5959
placeholder: print(matplotlib.get_backend())
6060
- type: input

.github/ISSUE_TEMPLATE/documentation.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ body:
1111
id: link
1212
attributes:
1313
label: Documentation Link
14-
description: Please provide a link to any documentation or examples that you are referencing.
14+
description: Please provide a link to any documentation or examples that you are referencing.
1515
placeholder: https://matplotlib.org/devdocs/
1616
- type: textarea
1717
id: problem
1818
attributes:
1919
label: Problem
20-
description: What is missing, unclear, or wrong in the documentation?
20+
description: What is missing, unclear, or wrong in the documentation?
2121
placeholder: |
2222
* I found [...] to be unclear because [...]
2323
* [...] made me think that [...] when really it should be [...]
@@ -47,5 +47,3 @@ body:
4747
placeholder: check under the logo
4848
validations:
4949
required: true
50-
51-

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ body:
66
- type: markdown
77
attributes:
88
value: |
9-
Thanks for thinking of a way to improve Matplotlib. Please search the issues for relevant feature requests before creating a new feature request.
9+
Thanks for thinking of a way to improve Matplotlib. Please search the issues for relevant feature requests before creating a new feature request.
1010
- type: textarea
1111
id: problem
1212
attributes:
1313
label: Problem
14-
description: Please provide a clear and concise description of the problem this feature will solve.
14+
description: Please provide a clear and concise description of the problem this feature will solve.
1515
placeholder: |
1616
* I'm always frustrated when [...] because [...]
1717
* I would like it if [...] happened when I [...] because [...]
@@ -30,7 +30,3 @@ body:
3030
label: Additional context and prior art
3131
description: Add any other context or screenshots about the feature request here. You can also include links to examples of other programs that have something similar to your request.
3232
placeholder: Another project [...] solved this by [...]
33-
34-
35-
36-

.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.

.github/workflows/clean_pr.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,3 @@ jobs:
1919
printf 'The following files were both added and deleted in this PR:\n%s\n' "$ad"
2020
exit 1
2121
fi
22-

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
matplotlib@numfocus.org (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 (conduct@numfocus.org).
6767
All complaints will be reviewed and investigated promptly and fairly.
6868

LICENSE/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,4 @@ products or services of Licensee, or any third party.
9696

9797
8. By copying, installing or otherwise using matplotlib,
9898
Licensee agrees to be bound by the terms and conditions of this License
99-
Agreement.
99+
Agreement.

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 & 9 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
@@ -37,4 +37,3 @@
3737

3838
E-Mail: bakoma@mail.ru
3939
or malyshev@mail.ihep.ru
40-

LICENSE/LICENSE_CARLOGO

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ TERMINATION
4242
This license becomes null and void if any of the above conditions are not met.
4343

4444
DISCLAIMER
45-
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
45+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.

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 cbrewer@psu.edu.
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_COURIERTEN

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@ is acknowledged as shown below on all unmodified copies of the 4 Charter
1515
Type 1 fonts.
1616

1717
BITSTREAM CHARTER is a registered trademark of Bitstream Inc.
18-

LICENSE/LICENSE_STIX

Lines changed: 49 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +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.
71-

0 commit comments

Comments
 (0)
0