FaustDerLegende commited on
Commit
513beab
·
verified ·
1 Parent(s): 58d5496

Upload folder using huggingface_hub (part 9)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +11 -0
  2. .venv/lib/python3.12/site-packages/matplotlib-3.11.2.dist-info/INSTALLER +1 -0
  3. .venv/lib/python3.12/site-packages/matplotlib-3.11.2.dist-info/LICENSE +1253 -0
  4. .venv/lib/python3.12/site-packages/matplotlib-3.11.2.dist-info/METADATA +1366 -0
  5. .venv/lib/python3.12/site-packages/matplotlib-3.11.2.dist-info/RECORD +891 -0
  6. .venv/lib/python3.12/site-packages/matplotlib-3.11.2.dist-info/WHEEL +6 -0
  7. .venv/lib/python3.12/site-packages/matplotlib/spines.py +612 -0
  8. .venv/lib/python3.12/site-packages/matplotlib/spines.pyi +83 -0
  9. .venv/lib/python3.12/site-packages/matplotlib/stackplot.py +143 -0
  10. .venv/lib/python3.12/site-packages/matplotlib/stackplot.pyi +20 -0
  11. .venv/lib/python3.12/site-packages/matplotlib/streamplot.py +767 -0
  12. .venv/lib/python3.12/site-packages/matplotlib/streamplot.pyi +88 -0
  13. .venv/lib/python3.12/site-packages/matplotlib/style/__init__.py +253 -0
  14. .venv/lib/python3.12/site-packages/matplotlib/style/__init__.pyi +20 -0
  15. .venv/lib/python3.12/site-packages/matplotlib/style/__pycache__/__init__.cpython-312.pyc +0 -0
  16. .venv/lib/python3.12/site-packages/matplotlib/style/__pycache__/core.cpython-312.pyc +0 -0
  17. .venv/lib/python3.12/site-packages/matplotlib/style/core.py +27 -0
  18. .venv/lib/python3.12/site-packages/matplotlib/style/core.pyi +26 -0
  19. .venv/lib/python3.12/site-packages/matplotlib/table.py +859 -0
  20. .venv/lib/python3.12/site-packages/matplotlib/table.pyi +87 -0
  21. .venv/lib/python3.12/site-packages/matplotlib/testing/__init__.py +317 -0
  22. .venv/lib/python3.12/site-packages/matplotlib/testing/__init__.pyi +58 -0
  23. .venv/lib/python3.12/site-packages/matplotlib/testing/__pycache__/__init__.cpython-312.pyc +0 -0
  24. .venv/lib/python3.12/site-packages/matplotlib/testing/__pycache__/_markers.cpython-312.pyc +0 -0
  25. .venv/lib/python3.12/site-packages/matplotlib/testing/__pycache__/compare.cpython-312.pyc +0 -0
  26. .venv/lib/python3.12/site-packages/matplotlib/testing/__pycache__/conftest.cpython-312.pyc +0 -0
  27. .venv/lib/python3.12/site-packages/matplotlib/testing/__pycache__/decorators.cpython-312.pyc +0 -0
  28. .venv/lib/python3.12/site-packages/matplotlib/testing/__pycache__/exceptions.cpython-312.pyc +0 -0
  29. .venv/lib/python3.12/site-packages/matplotlib/testing/__pycache__/widgets.cpython-312.pyc +0 -0
  30. .venv/lib/python3.12/site-packages/matplotlib/testing/_markers.py +49 -0
  31. .venv/lib/python3.12/site-packages/matplotlib/testing/compare.py +546 -0
  32. .venv/lib/python3.12/site-packages/matplotlib/testing/compare.pyi +33 -0
  33. .venv/lib/python3.12/site-packages/matplotlib/testing/conftest.py +199 -0
  34. .venv/lib/python3.12/site-packages/matplotlib/testing/conftest.pyi +16 -0
  35. .venv/lib/python3.12/site-packages/matplotlib/testing/decorators.py +476 -0
  36. .venv/lib/python3.12/site-packages/matplotlib/testing/decorators.pyi +25 -0
  37. .venv/lib/python3.12/site-packages/matplotlib/testing/exceptions.py +4 -0
  38. .venv/lib/python3.12/site-packages/matplotlib/testing/jpl_units/Duration.py +138 -0
  39. .venv/lib/python3.12/site-packages/matplotlib/testing/jpl_units/Epoch.py +211 -0
  40. .venv/lib/python3.12/site-packages/matplotlib/testing/jpl_units/EpochConverter.py +94 -0
  41. .venv/lib/python3.12/site-packages/matplotlib/testing/jpl_units/StrConverter.py +97 -0
  42. .venv/lib/python3.12/site-packages/matplotlib/testing/jpl_units/UnitDbl.py +180 -0
  43. .venv/lib/python3.12/site-packages/matplotlib/testing/jpl_units/UnitDblConverter.py +85 -0
  44. .venv/lib/python3.12/site-packages/matplotlib/testing/jpl_units/UnitDblFormatter.py +28 -0
  45. .venv/lib/python3.12/site-packages/matplotlib/testing/jpl_units/__init__.py +76 -0
  46. .venv/lib/python3.12/site-packages/matplotlib/testing/jpl_units/__pycache__/Duration.cpython-312.pyc +0 -0
  47. .venv/lib/python3.12/site-packages/matplotlib/testing/jpl_units/__pycache__/Epoch.cpython-312.pyc +0 -0
  48. .venv/lib/python3.12/site-packages/matplotlib/testing/jpl_units/__pycache__/EpochConverter.cpython-312.pyc +0 -0
  49. .venv/lib/python3.12/site-packages/matplotlib/testing/jpl_units/__pycache__/StrConverter.cpython-312.pyc +0 -0
  50. .venv/lib/python3.12/site-packages/matplotlib/testing/jpl_units/__pycache__/UnitDbl.cpython-312.pyc +0 -0
.gitattributes CHANGED
@@ -219,3 +219,14 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
219
  .venv/lib/python3.12/site-packages/matplotlib/mpl-data/fonts/ttf/STIXGeneralBol.ttf filter=lfs diff=lfs merge=lfs -text
220
  .venv/lib/python3.12/site-packages/matplotlib/mpl-data/fonts/ttf/STIXGeneralBolIta.ttf filter=lfs diff=lfs merge=lfs -text
221
  .venv/lib/python3.12/site-packages/matplotlib/mpl-data/fonts/ttf/STIXGeneralItalic.ttf filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
219
  .venv/lib/python3.12/site-packages/matplotlib/mpl-data/fonts/ttf/STIXGeneralBol.ttf filter=lfs diff=lfs merge=lfs -text
220
  .venv/lib/python3.12/site-packages/matplotlib/mpl-data/fonts/ttf/STIXGeneralBolIta.ttf filter=lfs diff=lfs merge=lfs -text
221
  .venv/lib/python3.12/site-packages/matplotlib/mpl-data/fonts/ttf/STIXGeneralItalic.ttf filter=lfs diff=lfs merge=lfs -text
222
+ .venv/lib/python3.12/site-packages/matplotlib/tests/__pycache__/test_axes.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
223
+ .venv/lib/python3.12/site-packages/matplotlib/tests/__pycache__/test_colors.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
224
+ .venv/lib/python3.12/site-packages/matplotlib/tests/__pycache__/test_figure.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
225
+ .venv/lib/python3.12/site-packages/matplotlib/tests/__pycache__/test_image.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
226
+ .venv/lib/python3.12/site-packages/matplotlib/tests/__pycache__/test_legend.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
227
+ .venv/lib/python3.12/site-packages/matplotlib/tests/__pycache__/test_ticker.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
228
+ .venv/lib/python3.12/site-packages/mpl_toolkits/mplot3d/__pycache__/axes3d.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
229
+ .venv/lib/python3.12/site-packages/mpl_toolkits/mplot3d/tests/__pycache__/test_axes3d.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
230
+ .venv/lib/python3.12/site-packages/mpmath/__pycache__/function_docs.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
231
+ .venv/lib/python3.12/site-packages/mpmath/tests/__pycache__/test_fp.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
232
+ .venv/lib/python3.12/site-packages/mpmath/tests/__pycache__/test_functions2.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
.venv/lib/python3.12/site-packages/matplotlib-3.11.2.dist-info/INSTALLER ADDED
@@ -0,0 +1 @@
 
 
1
+ pip
.venv/lib/python3.12/site-packages/matplotlib-3.11.2.dist-info/LICENSE ADDED
@@ -0,0 +1,1253 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ License agreement for matplotlib versions 1.3.0 and later
2
+ =========================================================
3
+
4
+ 1. This LICENSE AGREEMENT is between the Matplotlib Development Team
5
+ ("MDT"), and the Individual or Organization ("Licensee") accessing and
6
+ otherwise using matplotlib software in source or binary form and its
7
+ associated documentation.
8
+
9
+ 2. Subject to the terms and conditions of this License Agreement, MDT
10
+ hereby grants Licensee a nonexclusive, royalty-free, world-wide license
11
+ to reproduce, analyze, test, perform and/or display publicly, prepare
12
+ derivative works, distribute, and otherwise use matplotlib
13
+ alone or in any derivative version, provided, however, that MDT's
14
+ License Agreement and MDT's notice of copyright, i.e., "Copyright (c)
15
+ 2012- Matplotlib Development Team; All Rights Reserved" are retained in
16
+ matplotlib alone or in any derivative version prepared by
17
+ Licensee.
18
+
19
+ 3. In the event Licensee prepares a derivative work that is based on or
20
+ incorporates matplotlib or any part thereof, and wants to
21
+ make the derivative work available to others as provided herein, then
22
+ Licensee hereby agrees to include in any such work a brief summary of
23
+ the changes made to matplotlib .
24
+
25
+ 4. MDT is making matplotlib available to Licensee on an "AS
26
+ IS" basis. MDT MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
27
+ IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, MDT MAKES NO AND
28
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
29
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF MATPLOTLIB
30
+ WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
31
+
32
+ 5. MDT SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF MATPLOTLIB
33
+ FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR
34
+ LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING
35
+ MATPLOTLIB , OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF
36
+ THE POSSIBILITY THEREOF.
37
+
38
+ 6. This License Agreement will automatically terminate upon a material
39
+ breach of its terms and conditions.
40
+
41
+ 7. Nothing in this License Agreement shall be deemed to create any
42
+ relationship of agency, partnership, or joint venture between MDT and
43
+ Licensee. This License Agreement does not grant permission to use MDT
44
+ trademarks or trade name in a trademark sense to endorse or promote
45
+ products or services of Licensee, or any third party.
46
+
47
+ 8. By copying, installing or otherwise using matplotlib ,
48
+ Licensee agrees to be bound by the terms and conditions of this License
49
+ Agreement.
50
+
51
+ License agreement for matplotlib versions prior to 1.3.0
52
+ ========================================================
53
+
54
+ 1. This LICENSE AGREEMENT is between John D. Hunter ("JDH"), and the
55
+ Individual or Organization ("Licensee") accessing and otherwise using
56
+ matplotlib software in source or binary form and its associated
57
+ documentation.
58
+
59
+ 2. Subject to the terms and conditions of this License Agreement, JDH
60
+ hereby grants Licensee a nonexclusive, royalty-free, world-wide license
61
+ to reproduce, analyze, test, perform and/or display publicly, prepare
62
+ derivative works, distribute, and otherwise use matplotlib
63
+ alone or in any derivative version, provided, however, that JDH's
64
+ License Agreement and JDH's notice of copyright, i.e., "Copyright (c)
65
+ 2002-2011 John D. Hunter; All Rights Reserved" are retained in
66
+ matplotlib alone or in any derivative version prepared by
67
+ Licensee.
68
+
69
+ 3. In the event Licensee prepares a derivative work that is based on or
70
+ incorporates matplotlib or any part thereof, and wants to
71
+ make the derivative work available to others as provided herein, then
72
+ Licensee hereby agrees to include in any such work a brief summary of
73
+ the changes made to matplotlib.
74
+
75
+ 4. JDH is making matplotlib available to Licensee on an "AS
76
+ IS" basis. JDH MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
77
+ IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, JDH MAKES NO AND
78
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
79
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF MATPLOTLIB
80
+ WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
81
+
82
+ 5. JDH SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF MATPLOTLIB
83
+ FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR
84
+ LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING
85
+ MATPLOTLIB , OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF
86
+ THE POSSIBILITY THEREOF.
87
+
88
+ 6. This License Agreement will automatically terminate upon a material
89
+ breach of its terms and conditions.
90
+
91
+ 7. Nothing in this License Agreement shall be deemed to create any
92
+ relationship of agency, partnership, or joint venture between JDH and
93
+ Licensee. This License Agreement does not grant permission to use JDH
94
+ trademarks or trade name in a trademark sense to endorse or promote
95
+ products or services of Licensee, or any third party.
96
+
97
+ 8. By copying, installing or otherwise using matplotlib,
98
+ Licensee agrees to be bound by the terms and conditions of this License
99
+ Agreement.
100
+ ----
101
+
102
+ This binary distrubution of Matplotlib can also bundle the following software
103
+ (depending on the build):
104
+
105
+ Name: AMS Fonts
106
+ Files: matplotlib/tests/cmr10.pfb
107
+ Description: Type-1 version of one of Knuth's Computer Modern fonts
108
+ License: OFL-1.1
109
+ The cmr10.pfb file is a Type-1 version of one of Knuth's Computer Modern fonts.
110
+ It is included here as test data only, but the following license applies.
111
+
112
+ Copyright (c) 1997, 2009, American Mathematical Society (http://www.ams.org).
113
+ All Rights Reserved.
114
+
115
+ "cmb10" is a Reserved Font Name for this Font Software.
116
+ "cmbsy10" is a Reserved Font Name for this Font Software.
117
+ "cmbsy5" is a Reserved Font Name for this Font Software.
118
+ "cmbsy6" is a Reserved Font Name for this Font Software.
119
+ "cmbsy7" is a Reserved Font Name for this Font Software.
120
+ "cmbsy8" is a Reserved Font Name for this Font Software.
121
+ "cmbsy9" is a Reserved Font Name for this Font Software.
122
+ "cmbx10" is a Reserved Font Name for this Font Software.
123
+ "cmbx12" is a Reserved Font Name for this Font Software.
124
+ "cmbx5" is a Reserved Font Name for this Font Software.
125
+ "cmbx6" is a Reserved Font Name for this Font Software.
126
+ "cmbx7" is a Reserved Font Name for this Font Software.
127
+ "cmbx8" is a Reserved Font Name for this Font Software.
128
+ "cmbx9" is a Reserved Font Name for this Font Software.
129
+ "cmbxsl10" is a Reserved Font Name for this Font Software.
130
+ "cmbxti10" is a Reserved Font Name for this Font Software.
131
+ "cmcsc10" is a Reserved Font Name for this Font Software.
132
+ "cmcsc8" is a Reserved Font Name for this Font Software.
133
+ "cmcsc9" is a Reserved Font Name for this Font Software.
134
+ "cmdunh10" is a Reserved Font Name for this Font Software.
135
+ "cmex10" is a Reserved Font Name for this Font Software.
136
+ "cmex7" is a Reserved Font Name for this Font Software.
137
+ "cmex8" is a Reserved Font Name for this Font Software.
138
+ "cmex9" is a Reserved Font Name for this Font Software.
139
+ "cmff10" is a Reserved Font Name for this Font Software.
140
+ "cmfi10" is a Reserved Font Name for this Font Software.
141
+ "cmfib8" is a Reserved Font Name for this Font Software.
142
+ "cminch" is a Reserved Font Name for this Font Software.
143
+ "cmitt10" is a Reserved Font Name for this Font Software.
144
+ "cmmi10" is a Reserved Font Name for this Font Software.
145
+ "cmmi12" is a Reserved Font Name for this Font Software.
146
+ "cmmi5" is a Reserved Font Name for this Font Software.
147
+ "cmmi6" is a Reserved Font Name for this Font Software.
148
+ "cmmi7" is a Reserved Font Name for this Font Software.
149
+ "cmmi8" is a Reserved Font Name for this Font Software.
150
+ "cmmi9" is a Reserved Font Name for this Font Software.
151
+ "cmmib10" is a Reserved Font Name for this Font Software.
152
+ "cmmib5" is a Reserved Font Name for this Font Software.
153
+ "cmmib6" is a Reserved Font Name for this Font Software.
154
+ "cmmib7" is a Reserved Font Name for this Font Software.
155
+ "cmmib8" is a Reserved Font Name for this Font Software.
156
+ "cmmib9" is a Reserved Font Name for this Font Software.
157
+ "cmr10" is a Reserved Font Name for this Font Software.
158
+ "cmr12" is a Reserved Font Name for this Font Software.
159
+ "cmr17" is a Reserved Font Name for this Font Software.
160
+ "cmr5" is a Reserved Font Name for this Font Software.
161
+ "cmr6" is a Reserved Font Name for this Font Software.
162
+ "cmr7" is a Reserved Font Name for this Font Software.
163
+ "cmr8" is a Reserved Font Name for this Font Software.
164
+ "cmr9" is a Reserved Font Name for this Font Software.
165
+ "cmsl10" is a Reserved Font Name for this Font Software.
166
+ "cmsl12" is a Reserved Font Name for this Font Software.
167
+ "cmsl8" is a Reserved Font Name for this Font Software.
168
+ "cmsl9" is a Reserved Font Name for this Font Software.
169
+ "cmsltt10" is a Reserved Font Name for this Font Software.
170
+ "cmss10" is a Reserved Font Name for this Font Software.
171
+ "cmss12" is a Reserved Font Name for this Font Software.
172
+ "cmss17" is a Reserved Font Name for this Font Software.
173
+ "cmss8" is a Reserved Font Name for this Font Software.
174
+ "cmss9" is a Reserved Font Name for this Font Software.
175
+ "cmssbx10" is a Reserved Font Name for this Font Software.
176
+ "cmssdc10" is a Reserved Font Name for this Font Software.
177
+ "cmssi10" is a Reserved Font Name for this Font Software.
178
+ "cmssi12" is a Reserved Font Name for this Font Software.
179
+ "cmssi17" is a Reserved Font Name for this Font Software.
180
+ "cmssi8" is a Reserved Font Name for this Font Software.
181
+ "cmssi9" is a Reserved Font Name for this Font Software.
182
+ "cmssq8" is a Reserved Font Name for this Font Software.
183
+ "cmssqi8" is a Reserved Font Name for this Font Software.
184
+ "cmsy10" is a Reserved Font Name for this Font Software.
185
+ "cmsy5" is a Reserved Font Name for this Font Software.
186
+ "cmsy6" is a Reserved Font Name for this Font Software.
187
+ "cmsy7" is a Reserved Font Name for this Font Software.
188
+ "cmsy8" is a Reserved Font Name for this Font Software.
189
+ "cmsy9" is a Reserved Font Name for this Font Software.
190
+ "cmtcsc10" is a Reserved Font Name for this Font Software.
191
+ "cmtex10" is a Reserved Font Name for this Font Software.
192
+ "cmtex8" is a Reserved Font Name for this Font Software.
193
+ "cmtex9" is a Reserved Font Name for this Font Software.
194
+ "cmti10" is a Reserved Font Name for this Font Software.
195
+ "cmti12" is a Reserved Font Name for this Font Software.
196
+ "cmti7" is a Reserved Font Name for this Font Software.
197
+ "cmti8" is a Reserved Font Name for this Font Software.
198
+ "cmti9" is a Reserved Font Name for this Font Software.
199
+ "cmtt10" is a Reserved Font Name for this Font Software.
200
+ "cmtt12" is a Reserved Font Name for this Font Software.
201
+ "cmtt8" is a Reserved Font Name for this Font Software.
202
+ "cmtt9" is a Reserved Font Name for this Font Software.
203
+ "cmu10" is a Reserved Font Name for this Font Software.
204
+ "cmvtt10" is a Reserved Font Name for this Font Software.
205
+ "euex10" is a Reserved Font Name for this Font Software.
206
+ "euex7" is a Reserved Font Name for this Font Software.
207
+ "euex8" is a Reserved Font Name for this Font Software.
208
+ "euex9" is a Reserved Font Name for this Font Software.
209
+ "eufb10" is a Reserved Font Name for this Font Software.
210
+ "eufb5" is a Reserved Font Name for this Font Software.
211
+ "eufb7" is a Reserved Font Name for this Font Software.
212
+ "eufm10" is a Reserved Font Name for this Font Software.
213
+ "eufm5" is a Reserved Font Name for this Font Software.
214
+ "eufm7" is a Reserved Font Name for this Font Software.
215
+ "eurb10" is a Reserved Font Name for this Font Software.
216
+ "eurb5" is a Reserved Font Name for this Font Software.
217
+ "eurb7" is a Reserved Font Name for this Font Software.
218
+ "eurm10" is a Reserved Font Name for this Font Software.
219
+ "eurm5" is a Reserved Font Name for this Font Software.
220
+ "eurm7" is a Reserved Font Name for this Font Software.
221
+ "eusb10" is a Reserved Font Name for this Font Software.
222
+ "eusb5" is a Reserved Font Name for this Font Software.
223
+ "eusb7" is a Reserved Font Name for this Font Software.
224
+ "eusm10" is a Reserved Font Name for this Font Software.
225
+ "eusm5" is a Reserved Font Name for this Font Software.
226
+ "eusm7" is a Reserved Font Name for this Font Software.
227
+ "lasy10" is a Reserved Font Name for this Font Software.
228
+ "lasy5" is a Reserved Font Name for this Font Software.
229
+ "lasy6" is a Reserved Font Name for this Font Software.
230
+ "lasy7" is a Reserved Font Name for this Font Software.
231
+ "lasy8" is a Reserved Font Name for this Font Software.
232
+ "lasy9" is a Reserved Font Name for this Font Software.
233
+ "lasyb10" is a Reserved Font Name for this Font Software.
234
+ "lcircle1" is a Reserved Font Name for this Font Software.
235
+ "lcirclew" is a Reserved Font Name for this Font Software.
236
+ "lcmss8" is a Reserved Font Name for this Font Software.
237
+ "lcmssb8" is a Reserved Font Name for this Font Software.
238
+ "lcmssi8" is a Reserved Font Name for this Font Software.
239
+ "line10" is a Reserved Font Name for this Font Software.
240
+ "linew10" is a Reserved Font Name for this Font Software.
241
+ "msam10" is a Reserved Font Name for this Font Software.
242
+ "msam5" is a Reserved Font Name for this Font Software.
243
+ "msam6" is a Reserved Font Name for this Font Software.
244
+ "msam7" is a Reserved Font Name for this Font Software.
245
+ "msam8" is a Reserved Font Name for this Font Software.
246
+ "msam9" is a Reserved Font Name for this Font Software.
247
+ "msbm10" is a Reserved Font Name for this Font Software.
248
+ "msbm5" is a Reserved Font Name for this Font Software.
249
+ "msbm6" is a Reserved Font Name for this Font Software.
250
+ "msbm7" is a Reserved Font Name for this Font Software.
251
+ "msbm8" is a Reserved Font Name for this Font Software.
252
+ "msbm9" is a Reserved Font Name for this Font Software.
253
+ "wncyb10" is a Reserved Font Name for this Font Software.
254
+ "wncyi10" is a Reserved Font Name for this Font Software.
255
+ "wncyr10" is a Reserved Font Name for this Font Software.
256
+ "wncysc10" is a Reserved Font Name for this Font Software.
257
+ "wncyss10" is a Reserved Font Name for this Font Software.
258
+
259
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
260
+ This license is copied below, and is also available with a FAQ at:
261
+ http://scripts.sil.org/OFL
262
+
263
+ -----------------------------------------------------------
264
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
265
+ -----------------------------------------------------------
266
+
267
+ PREAMBLE
268
+ The goals of the Open Font License (OFL) are to stimulate worldwide
269
+ development of collaborative font projects, to support the font creation
270
+ efforts of academic and linguistic communities, and to provide a free and
271
+ open framework in which fonts may be shared and improved in partnership
272
+ with others.
273
+
274
+ The OFL allows the licensed fonts to be used, studied, modified and
275
+ redistributed freely as long as they are not sold by themselves. The
276
+ fonts, including any derivative works, can be bundled, embedded,
277
+ redistributed and/or sold with any software provided that any reserved
278
+ names are not used by derivative works. The fonts and derivatives,
279
+ however, cannot be released under any other type of license. The
280
+ requirement for fonts to remain under this license does not apply
281
+ to any document created using the fonts or their derivatives.
282
+
283
+ DEFINITIONS
284
+ "Font Software" refers to the set of files released by the Copyright
285
+ Holder(s) under this license and clearly marked as such. This may
286
+ include source files, build scripts and documentation.
287
+
288
+ "Reserved Font Name" refers to any names specified as such after the
289
+ copyright statement(s).
290
+
291
+ "Original Version" refers to the collection of Font Software components as
292
+ distributed by the Copyright Holder(s).
293
+
294
+ "Modified Version" refers to any derivative made by adding to, deleting,
295
+ or substituting -- in part or in whole -- any of the components of the
296
+ Original Version, by changing formats or by porting the Font Software to a
297
+ new environment.
298
+
299
+ "Author" refers to any designer, engineer, programmer, technical
300
+ writer or other person who contributed to the Font Software.
301
+
302
+ PERMISSION & CONDITIONS
303
+ Permission is hereby granted, free of charge, to any person obtaining
304
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
305
+ redistribute, and sell modified and unmodified copies of the Font
306
+ Software, subject to the following conditions:
307
+
308
+ 1) Neither the Font Software nor any of its individual components,
309
+ in Original or Modified Versions, may be sold by itself.
310
+
311
+ 2) Original or Modified Versions of the Font Software may be bundled,
312
+ redistributed and/or sold with any software, provided that each copy
313
+ contains the above copyright notice and this license. These can be
314
+ included either as stand-alone text files, human-readable headers or
315
+ in the appropriate machine-readable metadata fields within text or
316
+ binary files as long as those fields can be easily viewed by the user.
317
+
318
+ 3) No Modified Version of the Font Software may use the Reserved Font
319
+ Name(s) unless explicit written permission is granted by the corresponding
320
+ Copyright Holder. This restriction only applies to the primary font name as
321
+ presented to the users.
322
+
323
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
324
+ Software shall not be used to promote, endorse or advertise any
325
+ Modified Version, except to acknowledge the contribution(s) of the
326
+ Copyright Holder(s) and the Author(s) or with their explicit written
327
+ permission.
328
+
329
+ 5) The Font Software, modified or unmodified, in part or in whole,
330
+ must be distributed entirely under this license, and must not be
331
+ distributed under any other license. The requirement for fonts to
332
+ remain under this license does not apply to any document created
333
+ using the Font Software.
334
+
335
+ TERMINATION
336
+ This license becomes null and void if any of the above conditions are
337
+ not met.
338
+
339
+ DISCLAIMER
340
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
341
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
342
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
343
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
344
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
345
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
346
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
347
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
348
+ OTHER DEALINGS IN THE FONT SOFTWARE.
349
+
350
+
351
+
352
+ Name: BaKoMa Fonts
353
+ Files: matplotlib/mpl-data/fonts/ttf/cm*.ttf matplotlib/mpl-data/fonts/afm/cm*.afm
354
+ Description: Computer Modern Fonts in PostScript Type 1 and TrueType font formats.
355
+ License: BaKoMa Fonts Licence
356
+ BaKoMa Fonts Licence
357
+ --------------------
358
+
359
+ This licence covers two font packs (known as BaKoMa Fonts Collection,
360
+ which is available at `CTAN:fonts/cm/ps-type1/bakoma/'):
361
+
362
+ 1) BaKoMa-CM (1.1/12-Nov-94)
363
+ Computer Modern Fonts in PostScript Type 1 and TrueType font formats.
364
+
365
+ 2) BaKoMa-AMS (1.2/19-Jan-95)
366
+ AMS TeX fonts in PostScript Type 1 and TrueType font formats.
367
+
368
+ Copyright (C) 1994, 1995, Basil K. Malyshev. All Rights Reserved.
369
+
370
+ Permission to copy and distribute these fonts for any purpose is
371
+ hereby granted without fee, provided that the above copyright notice,
372
+ author statement and this permission notice appear in all copies of
373
+ these fonts and related documentation.
374
+
375
+ Permission to modify and distribute modified fonts for any purpose is
376
+ hereby granted without fee, provided that the copyright notice,
377
+ author statement, this permission notice and location of original
378
+ fonts (http://www.ctan.org/tex-archive/fonts/cm/ps-type1/bakoma)
379
+ appear in all copies of modified fonts and related documentation.
380
+
381
+ Permission to use these fonts (embedding into PostScript, PDF, SVG
382
+ and printing by using any software) is hereby granted without fee.
383
+ It is not required to provide any notices about using these fonts.
384
+
385
+ Basil K. Malyshev
386
+ INSTITUTE FOR HIGH ENERGY PHYSICS
387
+ IHEP, OMVT
388
+ Moscow Region
389
+ 142281 PROTVINO
390
+ RUSSIA
391
+
392
+ E-Mail: bakoma@mail.ru
393
+ or malyshev@mail.ihep.ru
394
+
395
+
396
+
397
+
398
+ Name: ColorBrewer Color Schemes
399
+ Files: lib/matplotlib/_cm.py
400
+ Description: Color schemes from ColorBrewer
401
+ License: Apache-2.0
402
+ Apache-Style Software License for ColorBrewer software and ColorBrewer Color Schemes
403
+
404
+ Copyright (c) 2002 Cynthia Brewer, Mark Harrower, and The Pennsylvania State University.
405
+
406
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
407
+ You may obtain a copy of the License at
408
+
409
+ http://www.apache.org/licenses/LICENSE-2.0
410
+
411
+ Unless required by applicable law or agreed to in writing, software distributed
412
+ under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
413
+ CONDITIONS OF ANY KIND, either express or implied. See the License for the
414
+ specific language governing permissions and limitations under the License.
415
+
416
+
417
+ Name: Courier 10
418
+ Files: matplotlib/tests/Courier10PitchBT-Bold.pfb
419
+ Description: Courier 10 font, used in tests.
420
+ License: Bitstream-Charter
421
+ The Courier10PitchBT-Bold.pfb file is a Type-1 version of
422
+ Courier 10 Pitch BT Bold by Bitstream, obtained from
423
+ <https://ctan.org/tex-archive/fonts/courierten>. It is included
424
+ here as test data only, but the following license applies.
425
+
426
+
427
+ (c) Copyright 1989-1992, Bitstream Inc., Cambridge, MA.
428
+
429
+ You are hereby granted permission under all Bitstream propriety rights
430
+ to use, copy, modify, sublicense, sell, and redistribute the 4 Bitstream
431
+ Charter (r) Type 1 outline fonts and the 4 Courier Type 1 outline fonts
432
+ for any purpose and without restriction; provided, that this notice is
433
+ left intact on all copies of such fonts and that Bitstream's trademark
434
+ is acknowledged as shown below on all unmodified copies of the 4 Charter
435
+ Type 1 fonts.
436
+
437
+ BITSTREAM CHARTER is a registered trademark of Bitstream Inc.
438
+
439
+
440
+ Name: FreeType
441
+ Files: matplotlib/ft2font.*.so
442
+ Description: Font rendering library
443
+ License: FTL OR GPL-2.0-or-later
444
+ The FreeType 2 font engine is copyrighted work and cannot be used
445
+ legally without a software license. In order to make this project
446
+ usable to a vast majority of developers, we distribute it under two
447
+ mutually exclusive open-source licenses.
448
+
449
+ This means that *you* must choose *one* of the two licenses described
450
+ below, then obey all its terms and conditions when using FreeType 2 in
451
+ any of your projects or products.
452
+
453
+ - The FreeType License, found in the file `docs/FTL.TXT`, which is
454
+ similar to the original BSD license *with* an advertising clause
455
+ that forces you to explicitly cite the FreeType project in your
456
+ product's documentation. All details are in the license file.
457
+ This license is suited to products which don't use the GNU General
458
+ Public License.
459
+
460
+ Note that this license is compatible to the GNU General Public
461
+ License version 3, but not version 2.
462
+
463
+ - The GNU General Public License version 2, found in
464
+ `docs/GPLv2.TXT` (any later version can be used also), for
465
+ programs which already use the GPL. Note that the FTL is
466
+ incompatible with GPLv2 due to its advertisement clause.
467
+
468
+ The contributed BDF and PCF drivers come with a license similar to
469
+ that of the X Window System. It is compatible to the above two
470
+ licenses (see files `src/bdf/README` and `src/pcf/README`). The same
471
+ holds for the source code files `src/base/fthash.c` and
472
+ `include/freetype/internal/fthash.h`; they were part of the BDF driver
473
+ in earlier FreeType versions.
474
+
475
+ The gzip module uses the zlib license (see `src/gzip/zlib.h`) which
476
+ too is compatible to the above two licenses.
477
+
478
+ The files `src/autofit/ft-hb.c` and `src/autofit/ft-hb.h` contain code
479
+ taken almost verbatim from the HarfBuzz file `hb-ft.cc`, which uses
480
+ the 'Old MIT' license, compatible to the above two licenses.
481
+
482
+ The MD5 checksum support (only used for debugging in development
483
+ builds) is in the public domain.
484
+
485
+
486
+ Name: HarfBuzz
487
+ Files: matplotlib/ft2font.*.so
488
+ Description: Text shaping library
489
+ License: MIT-Modern-Variant
490
+ HarfBuzz is licensed under the so-called "Old MIT" license. Details follow.
491
+ For parts of HarfBuzz that are licensed under different licenses see individual
492
+ files names COPYING in subdirectories where applicable.
493
+
494
+ Copyright © 2010-2022 Google, Inc.
495
+ Copyright © 2015-2020 Ebrahim Byagowi
496
+ Copyright © 2019,2020 Facebook, Inc.
497
+ Copyright © 2012,2015 Mozilla Foundation
498
+ Copyright © 2011 Codethink Limited
499
+ Copyright © 2008,2010 Nokia Corporation and/or its subsidiary(-ies)
500
+ Copyright © 2009 Keith Stribley
501
+ Copyright © 2011 Martin Hosken and SIL International
502
+ Copyright © 2007 Chris Wilson
503
+ Copyright © 2005,2006,2020,2021,2022,2023 Behdad Esfahbod
504
+ Copyright © 2004,2007,2008,2009,2010,2013,2021,2022,2023 Red Hat, Inc.
505
+ Copyright © 1998-2005 David Turner and Werner Lemberg
506
+ Copyright © 2016 Igalia S.L.
507
+ Copyright © 2022 Matthias Clasen
508
+ Copyright © 2018,2021 Khaled Hosny
509
+ Copyright © 2018,2019,2020 Adobe, Inc
510
+ Copyright © 2013-2015 Alexei Podtelezhnikov
511
+
512
+ For full copyright notices consult the individual files in the package.
513
+
514
+
515
+ Permission is hereby granted, without written agreement and without
516
+ license or royalty fees, to use, copy, modify, and distribute this
517
+ software and its documentation for any purpose, provided that the
518
+ above copyright notice and the following two paragraphs appear in
519
+ all copies of this software.
520
+
521
+ IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
522
+ DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
523
+ ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
524
+ IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
525
+ DAMAGE.
526
+
527
+ THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
528
+ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
529
+ FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
530
+ ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
531
+ PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
532
+
533
+
534
+ Name: JSXTools resize observer
535
+ Files: lib/matplotlib/backends/web_backend/js/mpl.js
536
+ Description: Minimal polyfill for the ResizeObserver API
537
+ License: CC0-1.0
538
+ # CC0 1.0 Universal
539
+
540
+ ## Statement of Purpose
541
+
542
+ The laws of most jurisdictions throughout the world automatically confer
543
+ exclusive Copyright and Related Rights (defined below) upon the creator and
544
+ subsequent owner(s) (each and all, an “owner”) of an original work of
545
+ authorship and/or a database (each, a “Work”).
546
+
547
+ Certain owners wish to permanently relinquish those rights to a Work for the
548
+ purpose of contributing to a commons of creative, cultural and scientific works
549
+ (“Commons”) that the public can reliably and without fear of later claims of
550
+ infringement build upon, modify, incorporate in other works, reuse and
551
+ redistribute as freely as possible in any form whatsoever and for any purposes,
552
+ including without limitation commercial purposes. These owners may contribute
553
+ to the Commons to promote the ideal of a free culture and the further
554
+ production of creative, cultural and scientific works, or to gain reputation or
555
+ greater distribution for their Work in part through the use and efforts of
556
+ others.
557
+
558
+ For these and/or other purposes and motivations, and without any expectation of
559
+ additional consideration or compensation, the person associating CC0 with a
560
+ Work (the “Affirmer”), to the extent that he or she is an owner of Copyright
561
+ and Related Rights in the Work, voluntarily elects to apply CC0 to the Work and
562
+ publicly distribute the Work under its terms, with knowledge of his or her
563
+ Copyright and Related Rights in the Work and the meaning and intended legal
564
+ effect of CC0 on those rights.
565
+
566
+ 1. Copyright and Related Rights. A Work made available under CC0 may be
567
+ protected by copyright and related or neighboring rights (“Copyright and
568
+ Related Rights”). Copyright and Related Rights include, but are not limited
569
+ to, the following:
570
+ 1. the right to reproduce, adapt, distribute, perform, display, communicate,
571
+ and translate a Work;
572
+ 2. moral rights retained by the original author(s) and/or performer(s);
573
+ 3. publicity and privacy rights pertaining to a person’s image or likeness
574
+ depicted in a Work;
575
+ 4. rights protecting against unfair competition in regards to a Work,
576
+ subject to the limitations in paragraph 4(i), below;
577
+ 5. rights protecting the extraction, dissemination, use and reuse of data in
578
+ a Work;
579
+ 6. database rights (such as those arising under Directive 96/9/EC of the
580
+ European Parliament and of the Council of 11 March 1996 on the legal
581
+ protection of databases, and under any national implementation thereof,
582
+ including any amended or successor version of such directive); and
583
+ 7. other similar, equivalent or corresponding rights throughout the world
584
+ based on applicable law or treaty, and any national implementations
585
+ thereof.
586
+
587
+ 2. Waiver. To the greatest extent permitted by, but not in contravention of,
588
+ applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
589
+ unconditionally waives, abandons, and surrenders all of Affirmer’s Copyright
590
+ and Related Rights and associated claims and causes of action, whether now
591
+ known or unknown (including existing as well as future claims and causes of
592
+ action), in the Work (i) in all territories worldwide, (ii) for the maximum
593
+ duration provided by applicable law or treaty (including future time
594
+ extensions), (iii) in any current or future medium and for any number of
595
+ copies, and (iv) for any purpose whatsoever, including without limitation
596
+ commercial, advertising or promotional purposes (the “Waiver”). Affirmer
597
+ makes the Waiver for the benefit of each member of the public at large and
598
+ to the detriment of Affirmer’s heirs and successors, fully intending that
599
+ such Waiver shall not be subject to revocation, rescission, cancellation,
600
+ termination, or any other legal or equitable action to disrupt the quiet
601
+ enjoyment of the Work by the public as contemplated by Affirmer’s express
602
+ Statement of Purpose.
603
+
604
+ 3. Public License Fallback. Should any part of the Waiver for any reason be
605
+ judged legally invalid or ineffective under applicable law, then the Waiver
606
+ shall be preserved to the maximum extent permitted taking into account
607
+ Affirmer’s express Statement of Purpose. In addition, to the extent the
608
+ Waiver is so judged Affirmer hereby grants to each affected person a
609
+ royalty-free, non transferable, non sublicensable, non exclusive,
610
+ irrevocable and unconditional license to exercise Affirmer’s Copyright and
611
+ Related Rights in the Work (i) in all territories worldwide, (ii) for the
612
+ maximum duration provided by applicable law or treaty (including future time
613
+ extensions), (iii) in any current or future medium and for any number of
614
+ copies, and (iv) for any purpose whatsoever, including without limitation
615
+ commercial, advertising or promotional purposes (the “License”). The License
616
+ shall be deemed effective as of the date CC0 was applied by Affirmer to the
617
+ Work. Should any part of the License for any reason be judged legally
618
+ invalid or ineffective under applicable law, such partial invalidity or
619
+ ineffectiveness shall not invalidate the remainder of the License, and in
620
+ such case Affirmer hereby affirms that he or she will not (i) exercise any
621
+ of his or her remaining Copyright and Related Rights in the Work or (ii)
622
+ assert any associated claims and causes of action with respect to the Work,
623
+ in either case contrary to Affirmer’s express Statement of Purpose.
624
+
625
+ 4. Limitations and Disclaimers.
626
+ 1. No trademark or patent rights held by Affirmer are waived, abandoned,
627
+ surrendered, licensed or otherwise affected by this document.
628
+ 2. Affirmer offers the Work as-is and makes no representations or warranties
629
+ of any kind concerning the Work, express, implied, statutory or
630
+ otherwise, including without limitation warranties of title,
631
+ merchantability, fitness for a particular purpose, non infringement, or
632
+ the absence of latent or other defects, accuracy, or the present or
633
+ absence of errors, whether or not discoverable, all to the greatest
634
+ extent permissible under applicable law.
635
+ 3. Affirmer disclaims responsibility for clearing rights of other persons
636
+ that may apply to the Work or any use thereof, including without
637
+ limitation any person’s Copyright and Related Rights in the Work.
638
+ Further, Affirmer disclaims responsibility for obtaining any necessary
639
+ consents, permissions or other rights required for any use of the Work.
640
+ 4. Affirmer understands and acknowledges that Creative Commons is not a
641
+ party to this document and has no duty or obligation with respect to this
642
+ CC0 or use of the Work.
643
+
644
+ For more information, please see
645
+ http://creativecommons.org/publicdomain/zero/1.0/.
646
+
647
+
648
+ Name: Last Resort fonts
649
+ Files: matplotlib/mpl-data/fonts/ttf/LastResortHE-Regular.ttf
650
+ Description: Last Resort High-Efficiency Font
651
+ License: OFL-1.1
652
+ This Font Software is licensed under the SIL Open Font License,
653
+ Version 1.1.
654
+
655
+ This license is copied below, and is also available with a FAQ at:
656
+ http://scripts.sil.org/OFL
657
+
658
+ -----------------------------------------------------------
659
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
660
+ -----------------------------------------------------------
661
+
662
+ PREAMBLE
663
+ The goals of the Open Font License (OFL) are to stimulate worldwide
664
+ development of collaborative font projects, to support the font
665
+ creation efforts of academic and linguistic communities, and to
666
+ provide a free and open framework in which fonts may be shared and
667
+ improved in partnership with others.
668
+
669
+ The OFL allows the licensed fonts to be used, studied, modified and
670
+ redistributed freely as long as they are not sold by themselves. The
671
+ fonts, including any derivative works, can be bundled, embedded,
672
+ redistributed and/or sold with any software provided that any reserved
673
+ names are not used by derivative works. The fonts and derivatives,
674
+ however, cannot be released under any other type of license. The
675
+ requirement for fonts to remain under this license does not apply to
676
+ any document created using the fonts or their derivatives.
677
+
678
+ DEFINITIONS
679
+ "Font Software" refers to the set of files released by the Copyright
680
+ Holder(s) under this license and clearly marked as such. This may
681
+ include source files, build scripts and documentation.
682
+
683
+ "Reserved Font Name" refers to any names specified as such after the
684
+ copyright statement(s).
685
+
686
+ "Original Version" refers to the collection of Font Software
687
+ components as distributed by the Copyright Holder(s).
688
+
689
+ "Modified Version" refers to any derivative made by adding to,
690
+ deleting, or substituting -- in part or in whole -- any of the
691
+ components of the Original Version, by changing formats or by porting
692
+ the Font Software to a new environment.
693
+
694
+ "Author" refers to any designer, engineer, programmer, technical
695
+ writer or other person who contributed to the Font Software.
696
+
697
+ PERMISSION & CONDITIONS
698
+ Permission is hereby granted, free of charge, to any person obtaining
699
+ a copy of the Font Software, to use, study, copy, merge, embed,
700
+ modify, redistribute, and sell modified and unmodified copies of the
701
+ Font Software, subject to the following conditions:
702
+
703
+ 1) Neither the Font Software nor any of its individual components, in
704
+ Original or Modified Versions, may be sold by itself.
705
+
706
+ 2) Original or Modified Versions of the Font Software may be bundled,
707
+ redistributed and/or sold with any software, provided that each copy
708
+ contains the above copyright notice and this license. These can be
709
+ included either as stand-alone text files, human-readable headers or
710
+ in the appropriate machine-readable metadata fields within text or
711
+ binary files as long as those fields can be easily viewed by the user.
712
+
713
+ 3) No Modified Version of the Font Software may use the Reserved Font
714
+ Name(s) unless explicit written permission is granted by the
715
+ corresponding Copyright Holder. This restriction only applies to the
716
+ primary font name as presented to the users.
717
+
718
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
719
+ Software shall not be used to promote, endorse or advertise any
720
+ Modified Version, except to acknowledge the contribution(s) of the
721
+ Copyright Holder(s) and the Author(s) or with their explicit written
722
+ permission.
723
+
724
+ 5) The Font Software, modified or unmodified, in part or in whole,
725
+ must be distributed entirely under this license, and must not be
726
+ distributed under any other license. The requirement for fonts to
727
+ remain under this license does not apply to any document created using
728
+ the Font Software.
729
+
730
+ TERMINATION
731
+ This license becomes null and void if any of the above conditions are
732
+ not met.
733
+
734
+ DISCLAIMER
735
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
736
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
737
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
738
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
739
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
740
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
741
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
742
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
743
+ OTHER DEALINGS IN THE FONT SOFTWARE.
744
+
745
+ SPDX-License-Identifier: OFL-1.1
746
+
747
+
748
+ Name: libraqm
749
+ Files: matplotlib/ft2font.*.so
750
+ Description: Complex text layout library
751
+ License: MIT
752
+ The MIT License (MIT)
753
+
754
+ Copyright © 2015 Information Technology Authority (ITA) <foss@ita.gov.om>
755
+ Copyright © 2016-2023 Khaled Hosny <khaled@aliftype.com>
756
+
757
+ Permission is hereby granted, free of charge, to any person obtaining a copy
758
+ of this software and associated documentation files (the "Software"), to deal
759
+ in the Software without restriction, including without limitation the rights
760
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
761
+ copies of the Software, and to permit persons to whom the Software is
762
+ furnished to do so, subject to the following conditions:
763
+
764
+ The above copyright notice and this permission notice shall be included in all
765
+ copies or substantial portions of the Software.
766
+
767
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
768
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
769
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
770
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
771
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
772
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
773
+ SOFTWARE.
774
+
775
+
776
+ Name: QHull
777
+ Files: matplotlib/_qhull.*.so
778
+ Description: Convex hull, Delaunay triangulation, Voronoi diagrams, Halfspace intersection
779
+ License: Qhull
780
+ Qhull, Copyright (c) 1993-2020
781
+
782
+ C.B. Barber
783
+ Arlington, MA
784
+
785
+ and
786
+
787
+ The National Science and Technology Research Center for
788
+ Computation and Visualization of Geometric Structures
789
+ (The Geometry Center)
790
+ University of Minnesota
791
+
792
+ email: qhull@qhull.org
793
+
794
+ This software includes Qhull from C.B. Barber and The Geometry Center.
795
+ Files derived from Qhull 1.0 are copyrighted by the Geometry Center. The
796
+ remaining files are copyrighted by C.B. Barber. Qhull is free software
797
+ and may be obtained via http from www.qhull.org. It may be freely copied,
798
+ modified, and redistributed under the following conditions:
799
+
800
+ 1. All copyright notices must remain intact in all files.
801
+
802
+ 2. A copy of this text file must be distributed along with any copies
803
+ of Qhull that you redistribute; this includes copies that you have
804
+ modified, or copies of programs or other software products that
805
+ include Qhull.
806
+
807
+ 3. If you modify Qhull, you must include a notice giving the
808
+ name of the person performing the modification, the date of
809
+ modification, and the reason for such modification.
810
+
811
+ 4. When distributing modified versions of Qhull, or other software
812
+ products that include Qhull, you must provide notice that the original
813
+ source code may be obtained as noted above.
814
+
815
+ 5. There is no warranty or other guarantee of fitness for Qhull, it is
816
+ provided solely "as is". Bug reports or fixes may be sent to
817
+ qhull_bug@qhull.org; the authors may or may not act on them as
818
+ they desire.
819
+
820
+
821
+ Name: Qt4 Editor
822
+ Files: matplotlib/backends/qt_editor
823
+ Description: Module creating PyQt4 form dialogs/layouts to edit various type of parameters
824
+ License: MIT
825
+ Module creating PyQt4 form dialogs/layouts to edit various type of parameters
826
+
827
+
828
+ formlayout License Agreement (MIT License)
829
+ ------------------------------------------
830
+
831
+ Copyright (c) 2009 Pierre Raybaut
832
+
833
+ Permission is hereby granted, free of charge, to any person
834
+ obtaining a copy of this software and associated documentation
835
+ files (the "Software"), to deal in the Software without
836
+ restriction, including without limitation the rights to use,
837
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
838
+ copies of the Software, and to permit persons to whom the
839
+ Software is furnished to do so, subject to the following
840
+ conditions:
841
+
842
+ The above copyright notice and this permission notice shall be
843
+ included in all copies or substantial portions of the Software.
844
+
845
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
846
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
847
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
848
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
849
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
850
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
851
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
852
+ OTHER DEALINGS IN THE SOFTWARE.
853
+
854
+
855
+ Name: SheenBidi
856
+ Files: matplotlib/ft2font.*.so
857
+ Description: Unicode Bidirectional Algorithm implementation
858
+ License: Apache-2.0
859
+ Apache License
860
+ Version 2.0, January 2004
861
+ http://www.apache.org/licenses/
862
+
863
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
864
+
865
+ 1. Definitions.
866
+
867
+ "License" shall mean the terms and conditions for use, reproduction,
868
+ and distribution as defined by Sections 1 through 9 of this document.
869
+
870
+ "Licensor" shall mean the copyright owner or entity authorized by
871
+ the copyright owner that is granting the License.
872
+
873
+ "Legal Entity" shall mean the union of the acting entity and all
874
+ other entities that control, are controlled by, or are under common
875
+ control with that entity. For the purposes of this definition,
876
+ "control" means (i) the power, direct or indirect, to cause the
877
+ direction or management of such entity, whether by contract or
878
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
879
+ outstanding shares, or (iii) beneficial ownership of such entity.
880
+
881
+ "You" (or "Your") shall mean an individual or Legal Entity
882
+ exercising permissions granted by this License.
883
+
884
+ "Source" form shall mean the preferred form for making modifications,
885
+ including but not limited to software source code, documentation
886
+ source, and configuration files.
887
+
888
+ "Object" form shall mean any form resulting from mechanical
889
+ transformation or translation of a Source form, including but
890
+ not limited to compiled object code, generated documentation,
891
+ and conversions to other media types.
892
+
893
+ "Work" shall mean the work of authorship, whether in Source or
894
+ Object form, made available under the License, as indicated by a
895
+ copyright notice that is included in or attached to the work
896
+ (an example is provided in the Appendix below).
897
+
898
+ "Derivative Works" shall mean any work, whether in Source or Object
899
+ form, that is based on (or derived from) the Work and for which the
900
+ editorial revisions, annotations, elaborations, or other modifications
901
+ represent, as a whole, an original work of authorship. For the purposes
902
+ of this License, Derivative Works shall not include works that remain
903
+ separable from, or merely link (or bind by name) to the interfaces of,
904
+ the Work and Derivative Works thereof.
905
+
906
+ "Contribution" shall mean any work of authorship, including
907
+ the original version of the Work and any modifications or additions
908
+ to that Work or Derivative Works thereof, that is intentionally
909
+ submitted to Licensor for inclusion in the Work by the copyright owner
910
+ or by an individual or Legal Entity authorized to submit on behalf of
911
+ the copyright owner. For the purposes of this definition, "submitted"
912
+ means any form of electronic, verbal, or written communication sent
913
+ to the Licensor or its representatives, including but not limited to
914
+ communication on electronic mailing lists, source code control systems,
915
+ and issue tracking systems that are managed by, or on behalf of, the
916
+ Licensor for the purpose of discussing and improving the Work, but
917
+ excluding communication that is conspicuously marked or otherwise
918
+ designated in writing by the copyright owner as "Not a Contribution."
919
+
920
+ "Contributor" shall mean Licensor and any individual or Legal Entity
921
+ on behalf of whom a Contribution has been received by Licensor and
922
+ subsequently incorporated within the Work.
923
+
924
+ 2. Grant of Copyright License. Subject to the terms and conditions of
925
+ this License, each Contributor hereby grants to You a perpetual,
926
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
927
+ copyright license to reproduce, prepare Derivative Works of,
928
+ publicly display, publicly perform, sublicense, and distribute the
929
+ Work and such Derivative Works in Source or Object form.
930
+
931
+ 3. Grant of Patent License. Subject to the terms and conditions of
932
+ this License, each Contributor hereby grants to You a perpetual,
933
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
934
+ (except as stated in this section) patent license to make, have made,
935
+ use, offer to sell, sell, import, and otherwise transfer the Work,
936
+ where such license applies only to those patent claims licensable
937
+ by such Contributor that are necessarily infringed by their
938
+ Contribution(s) alone or by combination of their Contribution(s)
939
+ with the Work to which such Contribution(s) was submitted. If You
940
+ institute patent litigation against any entity (including a
941
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
942
+ or a Contribution incorporated within the Work constitutes direct
943
+ or contributory patent infringement, then any patent licenses
944
+ granted to You under this License for that Work shall terminate
945
+ as of the date such litigation is filed.
946
+
947
+ 4. Redistribution. You may reproduce and distribute copies of the
948
+ Work or Derivative Works thereof in any medium, with or without
949
+ modifications, and in Source or Object form, provided that You
950
+ meet the following conditions:
951
+
952
+ (a) You must give any other recipients of the Work or
953
+ Derivative Works a copy of this License; and
954
+
955
+ (b) You must cause any modified files to carry prominent notices
956
+ stating that You changed the files; and
957
+
958
+ (c) You must retain, in the Source form of any Derivative Works
959
+ that You distribute, all copyright, patent, trademark, and
960
+ attribution notices from the Source form of the Work,
961
+ excluding those notices that do not pertain to any part of
962
+ the Derivative Works; and
963
+
964
+ (d) If the Work includes a "NOTICE" text file as part of its
965
+ distribution, then any Derivative Works that You distribute must
966
+ include a readable copy of the attribution notices contained
967
+ within such NOTICE file, excluding those notices that do not
968
+ pertain to any part of the Derivative Works, in at least one
969
+ of the following places: within a NOTICE text file distributed
970
+ as part of the Derivative Works; within the Source form or
971
+ documentation, if provided along with the Derivative Works; or,
972
+ within a display generated by the Derivative Works, if and
973
+ wherever such third-party notices normally appear. The contents
974
+ of the NOTICE file are for informational purposes only and
975
+ do not modify the License. You may add Your own attribution
976
+ notices within Derivative Works that You distribute, alongside
977
+ or as an addendum to the NOTICE text from the Work, provided
978
+ that such additional attribution notices cannot be construed
979
+ as modifying the License.
980
+
981
+ You may add Your own copyright statement to Your modifications and
982
+ may provide additional or different license terms and conditions
983
+ for use, reproduction, or distribution of Your modifications, or
984
+ for any such Derivative Works as a whole, provided Your use,
985
+ reproduction, and distribution of the Work otherwise complies with
986
+ the conditions stated in this License.
987
+
988
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
989
+ any Contribution intentionally submitted for inclusion in the Work
990
+ by You to the Licensor shall be under the terms and conditions of
991
+ this License, without any additional terms or conditions.
992
+ Notwithstanding the above, nothing herein shall supersede or modify
993
+ the terms of any separate license agreement you may have executed
994
+ with Licensor regarding such Contributions.
995
+
996
+ 6. Trademarks. This License does not grant permission to use the trade
997
+ names, trademarks, service marks, or product names of the Licensor,
998
+ except as required for reasonable and customary use in describing the
999
+ origin of the Work and reproducing the content of the NOTICE file.
1000
+
1001
+ 7. Disclaimer of Warranty. Unless required by applicable law or
1002
+ agreed to in writing, Licensor provides the Work (and each
1003
+ Contributor provides its Contributions) on an "AS IS" BASIS,
1004
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1005
+ implied, including, without limitation, any warranties or conditions
1006
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
1007
+ PARTICULAR PURPOSE. You are solely responsible for determining the
1008
+ appropriateness of using or redistributing the Work and assume any
1009
+ risks associated with Your exercise of permissions under this License.
1010
+
1011
+ 8. Limitation of Liability. In no event and under no legal theory,
1012
+ whether in tort (including negligence), contract, or otherwise,
1013
+ unless required by applicable law (such as deliberate and grossly
1014
+ negligent acts) or agreed to in writing, shall any Contributor be
1015
+ liable to You for damages, including any direct, indirect, special,
1016
+ incidental, or consequential damages of any character arising as a
1017
+ result of this License or out of the use or inability to use the
1018
+ Work (including but not limited to damages for loss of goodwill,
1019
+ work stoppage, computer failure or malfunction, or any and all
1020
+ other commercial damages or losses), even if such Contributor
1021
+ has been advised of the possibility of such damages.
1022
+
1023
+ 9. Accepting Warranty or Additional Liability. While redistributing
1024
+ the Work or Derivative Works thereof, You may choose to offer,
1025
+ and charge a fee for, acceptance of support, warranty, indemnity,
1026
+ or other liability obligations and/or rights consistent with this
1027
+ License. However, in accepting such obligations, You may act only
1028
+ on Your own behalf and on Your sole responsibility, not on behalf
1029
+ of any other Contributor, and only if You agree to indemnify,
1030
+ defend, and hold each Contributor harmless for any liability
1031
+ incurred by, or claims asserted against, such Contributor by reason
1032
+ of your accepting any such warranty or additional liability.
1033
+
1034
+ END OF TERMS AND CONDITIONS
1035
+
1036
+ APPENDIX: How to apply the Apache License to your work.
1037
+
1038
+ To apply the Apache License to your work, attach the following
1039
+ boilerplate notice, with the fields enclosed by brackets "[]"
1040
+ replaced with your own identifying information. (Don't include
1041
+ the brackets!) The text should be enclosed in the appropriate
1042
+ comment syntax for the file format. We also recommend that a
1043
+ file or class name and description of purpose be included on the
1044
+ same "printed page" as the copyright notice for easier
1045
+ identification within third-party archives.
1046
+
1047
+ Copyright [yyyy] [name of copyright owner]
1048
+
1049
+ Licensed under the Apache License, Version 2.0 (the "License");
1050
+ you may not use this file except in compliance with the License.
1051
+ You may obtain a copy of the License at
1052
+
1053
+ http://www.apache.org/licenses/LICENSE-2.0
1054
+
1055
+ Unless required by applicable law or agreed to in writing, software
1056
+ distributed under the License is distributed on an "AS IS" BASIS,
1057
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1058
+ See the License for the specific language governing permissions and
1059
+ limitations under the License.
1060
+
1061
+
1062
+ Name: Solarized
1063
+ Files: matplotlib/mpl-data/stylelib/Solarize_Light2.mplstyle
1064
+ Description: Solarized color scheme/style
1065
+ License: MIT
1066
+ https://github.com/altercation/solarized/blob/master/LICENSE
1067
+ Copyright (c) 2011 Ethan Schoonover
1068
+
1069
+ Permission is hereby granted, free of charge, to any person obtaining a copy
1070
+ of this software and associated documentation files (the "Software"), to deal
1071
+ in the Software without restriction, including without limitation the rights
1072
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1073
+ copies of the Software, and to permit persons to whom the Software is
1074
+ furnished to do so, subject to the following conditions:
1075
+
1076
+ The above copyright notice and this permission notice shall be included in
1077
+ all copies or substantial portions of the Software.
1078
+
1079
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1080
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1081
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1082
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1083
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1084
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1085
+ THE SOFTWARE.
1086
+
1087
+
1088
+ Name: Stix fonts
1089
+ Files: matplotlib/mpl-data/fonts/ttf/STIX*.ttf
1090
+ Description: STIX fonts
1091
+ License: OFL-1.1
1092
+ STIX Font License
1093
+
1094
+ 24 May 2010
1095
+
1096
+ Copyright (c) 2001-2010 by the STI Pub Companies, consisting of the American
1097
+ Institute of Physics, the American Chemical Society, the American Mathematical
1098
+ Society, the American Physical Society, Elsevier, Inc., and The Institute of
1099
+ Electrical and Electronic Engineers, Inc. (www.stixfonts.org), with Reserved
1100
+ Font Name STIX Fonts, STIX Fonts (TM) is a trademark of The Institute of
1101
+ Electrical and Electronics Engineers, Inc.
1102
+
1103
+ Portions copyright (c) 1998-2003 by MicroPress, Inc. (www.micropress-inc.com),
1104
+ with Reserved Font Name TM Math. To obtain additional mathematical fonts, please
1105
+ contact MicroPress, Inc., 68-30 Harrow Street, Forest Hills, NY 11375, USA,
1106
+ Phone: (718) 575-1816.
1107
+
1108
+ Portions copyright (c) 1990 by Elsevier, Inc.
1109
+
1110
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
1111
+ This license is copied below, and is also available with a FAQ at:
1112
+ https://scripts.sil.org/OFL
1113
+
1114
+ -----------------------------------------------------------
1115
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
1116
+ -----------------------------------------------------------
1117
+
1118
+ PREAMBLE
1119
+ The goals of the Open Font License (OFL) are to stimulate worldwide
1120
+ development of collaborative font projects, to support the font creation
1121
+ efforts of academic and linguistic communities, and to provide a free and
1122
+ open framework in which fonts may be shared and improved in partnership
1123
+ with others.
1124
+
1125
+ The OFL allows the licensed fonts to be used, studied, modified and
1126
+ redistributed freely as long as they are not sold by themselves. The
1127
+ fonts, including any derivative works, can be bundled, embedded,
1128
+ redistributed and/or sold with any software provided that any reserved
1129
+ names are not used by derivative works. The fonts and derivatives,
1130
+ however, cannot be released under any other type of license. The
1131
+ requirement for fonts to remain under this license does not apply
1132
+ to any document created using the fonts or their derivatives.
1133
+
1134
+ DEFINITIONS
1135
+ "Font Software" refers to the set of files released by the Copyright
1136
+ Holder(s) under this license and clearly marked as such. This may
1137
+ include source files, build scripts and documentation.
1138
+
1139
+ "Reserved Font Name" refers to any names specified as such after the
1140
+ copyright statement(s).
1141
+
1142
+ "Original Version" refers to the collection of Font Software components as
1143
+ distributed by the Copyright Holder(s).
1144
+
1145
+ "Modified Version" refers to any derivative made by adding to, deleting,
1146
+ or substituting -- in part or in whole -- any of the components of the
1147
+ Original Version, by changing formats or by porting the Font Software to a
1148
+ new environment.
1149
+
1150
+ "Author" refers to any designer, engineer, programmer, technical
1151
+ writer or other person who contributed to the Font Software.
1152
+
1153
+ PERMISSION & CONDITIONS
1154
+ Permission is hereby granted, free of charge, to any person obtaining
1155
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
1156
+ redistribute, and sell modified and unmodified copies of the Font
1157
+ Software, subject to the following conditions:
1158
+
1159
+ 1) Neither the Font Software nor any of its individual components,
1160
+ in Original or Modified Versions, may be sold by itself.
1161
+
1162
+ 2) Original or Modified Versions of the Font Software may be bundled,
1163
+ redistributed and/or sold with any software, provided that each copy
1164
+ contains the above copyright notice and this license. These can be
1165
+ included either as stand-alone text files, human-readable headers or
1166
+ in the appropriate machine-readable metadata fields within text or
1167
+ binary files as long as those fields can be easily viewed by the user.
1168
+
1169
+ 3) No Modified Version of the Font Software may use the Reserved Font
1170
+ Name(s) unless explicit written permission is granted by the corresponding
1171
+ Copyright Holder. This restriction only applies to the primary font name as
1172
+ presented to the users.
1173
+
1174
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
1175
+ Software shall not be used to promote, endorse or advertise any
1176
+ Modified Version, except to acknowledge the contribution(s) of the
1177
+ Copyright Holder(s) and the Author(s) or with their explicit written
1178
+ permission.
1179
+
1180
+ 5) The Font Software, modified or unmodified, in part or in whole,
1181
+ must be distributed entirely under this license, and must not be
1182
+ distributed under any other license. The requirement for fonts to
1183
+ remain under this license does not apply to any document created
1184
+ using the Font Software.
1185
+
1186
+ TERMINATION
1187
+ This license becomes null and void if any of the above conditions are
1188
+ not met.
1189
+
1190
+ DISCLAIMER
1191
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
1192
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
1193
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
1194
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
1195
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
1196
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
1197
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
1198
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
1199
+ OTHER DEALINGS IN THE FONT SOFTWARE.
1200
+
1201
+ Name: Yorick Colormaps
1202
+ Files: lib/matplotlib/_cm.py
1203
+ Description: Gist/Yorick colormaps
1204
+ License:
1205
+ BSD-style license for gist/yorick colormaps.
1206
+
1207
+ Copyright:
1208
+
1209
+ Copyright (c) 1996. The Regents of the University of California.
1210
+ All rights reserved.
1211
+
1212
+ Permission to use, copy, modify, and distribute this software for any
1213
+ purpose without fee is hereby granted, provided that this entire
1214
+ notice is included in all copies of any software which is or includes
1215
+ a copy or modification of this software and in all copies of the
1216
+ supporting documentation for such software.
1217
+
1218
+ This work was produced at the University of California, Lawrence
1219
+ Livermore National Laboratory under contract no. W-7405-ENG-48 between
1220
+ the U.S. Department of Energy and The Regents of the University of
1221
+ California for the operation of UC LLNL.
1222
+
1223
+
1224
+ DISCLAIMER
1225
+
1226
+ This software was prepared as an account of work sponsored by an
1227
+ agency of the United States Government. Neither the United States
1228
+ Government nor the University of California nor any of their
1229
+ employees, makes any warranty, express or implied, or assumes any
1230
+ liability or responsibility for the accuracy, completeness, or
1231
+ usefulness of any information, apparatus, product, or process
1232
+ disclosed, or represents that its use would not infringe
1233
+ privately-owned rights. Reference herein to any specific commercial
1234
+ products, process, or service by trade name, trademark, manufacturer,
1235
+ or otherwise, does not necessarily constitute or imply its
1236
+ endorsement, recommendation, or favoring by the United States
1237
+ Government or the University of California. The views and opinions of
1238
+ authors expressed herein do not necessarily state or reflect those of
1239
+ the United States Government or the University of California, and
1240
+ shall not be used for advertising or product endorsement purposes.
1241
+
1242
+
1243
+ AUTHOR
1244
+
1245
+ David H. Munro wrote Yorick and Gist. Berkeley Yacc (byacc) generated
1246
+ the Yorick parser. The routines in Math are from LAPACK and FFTPACK;
1247
+ MathC contains C translations by David H. Munro. The algorithms for
1248
+ Yorick's random number generator and several special functions in
1249
+ Yorick/include were taken from Numerical Recipes by Press, et. al.,
1250
+ although the Yorick implementations are unrelated to those in
1251
+ Numerical Recipes. A small amount of code in Gist was adapted from
1252
+ the X11R4 release, copyright M.I.T. -- the complete copyright notice
1253
+ may be found in the (unused) file Gist/host.c.
.venv/lib/python3.12/site-packages/matplotlib-3.11.2.dist-info/METADATA ADDED
@@ -0,0 +1,1366 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Metadata-Version: 2.1
2
+ Name: matplotlib
3
+ Version: 3.11.2
4
+ Summary: Python plotting package
5
+ Author: John D. Hunter, Michael Droettboom
6
+ Author-Email: Unknown <matplotlib-users@python.org>
7
+ License: License agreement for matplotlib versions 1.3.0 and later
8
+ =========================================================
9
+
10
+ 1. This LICENSE AGREEMENT is between the Matplotlib Development Team
11
+ ("MDT"), and the Individual or Organization ("Licensee") accessing and
12
+ otherwise using matplotlib software in source or binary form and its
13
+ associated documentation.
14
+
15
+ 2. Subject to the terms and conditions of this License Agreement, MDT
16
+ hereby grants Licensee a nonexclusive, royalty-free, world-wide license
17
+ to reproduce, analyze, test, perform and/or display publicly, prepare
18
+ derivative works, distribute, and otherwise use matplotlib
19
+ alone or in any derivative version, provided, however, that MDT's
20
+ License Agreement and MDT's notice of copyright, i.e., "Copyright (c)
21
+ 2012- Matplotlib Development Team; All Rights Reserved" are retained in
22
+ matplotlib alone or in any derivative version prepared by
23
+ Licensee.
24
+
25
+ 3. In the event Licensee prepares a derivative work that is based on or
26
+ incorporates matplotlib or any part thereof, and wants to
27
+ make the derivative work available to others as provided herein, then
28
+ Licensee hereby agrees to include in any such work a brief summary of
29
+ the changes made to matplotlib .
30
+
31
+ 4. MDT is making matplotlib available to Licensee on an "AS
32
+ IS" basis. MDT MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
33
+ IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, MDT MAKES NO AND
34
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
35
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF MATPLOTLIB
36
+ WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
37
+
38
+ 5. MDT SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF MATPLOTLIB
39
+ FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR
40
+ LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING
41
+ MATPLOTLIB , OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF
42
+ THE POSSIBILITY THEREOF.
43
+
44
+ 6. This License Agreement will automatically terminate upon a material
45
+ breach of its terms and conditions.
46
+
47
+ 7. Nothing in this License Agreement shall be deemed to create any
48
+ relationship of agency, partnership, or joint venture between MDT and
49
+ Licensee. This License Agreement does not grant permission to use MDT
50
+ trademarks or trade name in a trademark sense to endorse or promote
51
+ products or services of Licensee, or any third party.
52
+
53
+ 8. By copying, installing or otherwise using matplotlib ,
54
+ Licensee agrees to be bound by the terms and conditions of this License
55
+ Agreement.
56
+
57
+ License agreement for matplotlib versions prior to 1.3.0
58
+ ========================================================
59
+
60
+ 1. This LICENSE AGREEMENT is between John D. Hunter ("JDH"), and the
61
+ Individual or Organization ("Licensee") accessing and otherwise using
62
+ matplotlib software in source or binary form and its associated
63
+ documentation.
64
+
65
+ 2. Subject to the terms and conditions of this License Agreement, JDH
66
+ hereby grants Licensee a nonexclusive, royalty-free, world-wide license
67
+ to reproduce, analyze, test, perform and/or display publicly, prepare
68
+ derivative works, distribute, and otherwise use matplotlib
69
+ alone or in any derivative version, provided, however, that JDH's
70
+ License Agreement and JDH's notice of copyright, i.e., "Copyright (c)
71
+ 2002-2011 John D. Hunter; All Rights Reserved" are retained in
72
+ matplotlib alone or in any derivative version prepared by
73
+ Licensee.
74
+
75
+ 3. In the event Licensee prepares a derivative work that is based on or
76
+ incorporates matplotlib or any part thereof, and wants to
77
+ make the derivative work available to others as provided herein, then
78
+ Licensee hereby agrees to include in any such work a brief summary of
79
+ the changes made to matplotlib.
80
+
81
+ 4. JDH is making matplotlib available to Licensee on an "AS
82
+ IS" basis. JDH MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
83
+ IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, JDH MAKES NO AND
84
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
85
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF MATPLOTLIB
86
+ WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
87
+
88
+ 5. JDH SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF MATPLOTLIB
89
+ FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR
90
+ LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING
91
+ MATPLOTLIB , OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF
92
+ THE POSSIBILITY THEREOF.
93
+
94
+ 6. This License Agreement will automatically terminate upon a material
95
+ breach of its terms and conditions.
96
+
97
+ 7. Nothing in this License Agreement shall be deemed to create any
98
+ relationship of agency, partnership, or joint venture between JDH and
99
+ Licensee. This License Agreement does not grant permission to use JDH
100
+ trademarks or trade name in a trademark sense to endorse or promote
101
+ products or services of Licensee, or any third party.
102
+
103
+ 8. By copying, installing or otherwise using matplotlib,
104
+ Licensee agrees to be bound by the terms and conditions of this License
105
+ Agreement.
106
+ ----
107
+
108
+ This binary distrubution of Matplotlib can also bundle the following software
109
+ (depending on the build):
110
+
111
+ Name: AMS Fonts
112
+ Files: matplotlib/tests/cmr10.pfb
113
+ Description: Type-1 version of one of Knuth's Computer Modern fonts
114
+ License: OFL-1.1
115
+ The cmr10.pfb file is a Type-1 version of one of Knuth's Computer Modern fonts.
116
+ It is included here as test data only, but the following license applies.
117
+
118
+ Copyright (c) 1997, 2009, American Mathematical Society (http://www.ams.org).
119
+ All Rights Reserved.
120
+
121
+ "cmb10" is a Reserved Font Name for this Font Software.
122
+ "cmbsy10" is a Reserved Font Name for this Font Software.
123
+ "cmbsy5" is a Reserved Font Name for this Font Software.
124
+ "cmbsy6" is a Reserved Font Name for this Font Software.
125
+ "cmbsy7" is a Reserved Font Name for this Font Software.
126
+ "cmbsy8" is a Reserved Font Name for this Font Software.
127
+ "cmbsy9" is a Reserved Font Name for this Font Software.
128
+ "cmbx10" is a Reserved Font Name for this Font Software.
129
+ "cmbx12" is a Reserved Font Name for this Font Software.
130
+ "cmbx5" is a Reserved Font Name for this Font Software.
131
+ "cmbx6" is a Reserved Font Name for this Font Software.
132
+ "cmbx7" is a Reserved Font Name for this Font Software.
133
+ "cmbx8" is a Reserved Font Name for this Font Software.
134
+ "cmbx9" is a Reserved Font Name for this Font Software.
135
+ "cmbxsl10" is a Reserved Font Name for this Font Software.
136
+ "cmbxti10" is a Reserved Font Name for this Font Software.
137
+ "cmcsc10" is a Reserved Font Name for this Font Software.
138
+ "cmcsc8" is a Reserved Font Name for this Font Software.
139
+ "cmcsc9" is a Reserved Font Name for this Font Software.
140
+ "cmdunh10" is a Reserved Font Name for this Font Software.
141
+ "cmex10" is a Reserved Font Name for this Font Software.
142
+ "cmex7" is a Reserved Font Name for this Font Software.
143
+ "cmex8" is a Reserved Font Name for this Font Software.
144
+ "cmex9" is a Reserved Font Name for this Font Software.
145
+ "cmff10" is a Reserved Font Name for this Font Software.
146
+ "cmfi10" is a Reserved Font Name for this Font Software.
147
+ "cmfib8" is a Reserved Font Name for this Font Software.
148
+ "cminch" is a Reserved Font Name for this Font Software.
149
+ "cmitt10" is a Reserved Font Name for this Font Software.
150
+ "cmmi10" is a Reserved Font Name for this Font Software.
151
+ "cmmi12" is a Reserved Font Name for this Font Software.
152
+ "cmmi5" is a Reserved Font Name for this Font Software.
153
+ "cmmi6" is a Reserved Font Name for this Font Software.
154
+ "cmmi7" is a Reserved Font Name for this Font Software.
155
+ "cmmi8" is a Reserved Font Name for this Font Software.
156
+ "cmmi9" is a Reserved Font Name for this Font Software.
157
+ "cmmib10" is a Reserved Font Name for this Font Software.
158
+ "cmmib5" is a Reserved Font Name for this Font Software.
159
+ "cmmib6" is a Reserved Font Name for this Font Software.
160
+ "cmmib7" is a Reserved Font Name for this Font Software.
161
+ "cmmib8" is a Reserved Font Name for this Font Software.
162
+ "cmmib9" is a Reserved Font Name for this Font Software.
163
+ "cmr10" is a Reserved Font Name for this Font Software.
164
+ "cmr12" is a Reserved Font Name for this Font Software.
165
+ "cmr17" is a Reserved Font Name for this Font Software.
166
+ "cmr5" is a Reserved Font Name for this Font Software.
167
+ "cmr6" is a Reserved Font Name for this Font Software.
168
+ "cmr7" is a Reserved Font Name for this Font Software.
169
+ "cmr8" is a Reserved Font Name for this Font Software.
170
+ "cmr9" is a Reserved Font Name for this Font Software.
171
+ "cmsl10" is a Reserved Font Name for this Font Software.
172
+ "cmsl12" is a Reserved Font Name for this Font Software.
173
+ "cmsl8" is a Reserved Font Name for this Font Software.
174
+ "cmsl9" is a Reserved Font Name for this Font Software.
175
+ "cmsltt10" is a Reserved Font Name for this Font Software.
176
+ "cmss10" is a Reserved Font Name for this Font Software.
177
+ "cmss12" is a Reserved Font Name for this Font Software.
178
+ "cmss17" is a Reserved Font Name for this Font Software.
179
+ "cmss8" is a Reserved Font Name for this Font Software.
180
+ "cmss9" is a Reserved Font Name for this Font Software.
181
+ "cmssbx10" is a Reserved Font Name for this Font Software.
182
+ "cmssdc10" is a Reserved Font Name for this Font Software.
183
+ "cmssi10" is a Reserved Font Name for this Font Software.
184
+ "cmssi12" is a Reserved Font Name for this Font Software.
185
+ "cmssi17" is a Reserved Font Name for this Font Software.
186
+ "cmssi8" is a Reserved Font Name for this Font Software.
187
+ "cmssi9" is a Reserved Font Name for this Font Software.
188
+ "cmssq8" is a Reserved Font Name for this Font Software.
189
+ "cmssqi8" is a Reserved Font Name for this Font Software.
190
+ "cmsy10" is a Reserved Font Name for this Font Software.
191
+ "cmsy5" is a Reserved Font Name for this Font Software.
192
+ "cmsy6" is a Reserved Font Name for this Font Software.
193
+ "cmsy7" is a Reserved Font Name for this Font Software.
194
+ "cmsy8" is a Reserved Font Name for this Font Software.
195
+ "cmsy9" is a Reserved Font Name for this Font Software.
196
+ "cmtcsc10" is a Reserved Font Name for this Font Software.
197
+ "cmtex10" is a Reserved Font Name for this Font Software.
198
+ "cmtex8" is a Reserved Font Name for this Font Software.
199
+ "cmtex9" is a Reserved Font Name for this Font Software.
200
+ "cmti10" is a Reserved Font Name for this Font Software.
201
+ "cmti12" is a Reserved Font Name for this Font Software.
202
+ "cmti7" is a Reserved Font Name for this Font Software.
203
+ "cmti8" is a Reserved Font Name for this Font Software.
204
+ "cmti9" is a Reserved Font Name for this Font Software.
205
+ "cmtt10" is a Reserved Font Name for this Font Software.
206
+ "cmtt12" is a Reserved Font Name for this Font Software.
207
+ "cmtt8" is a Reserved Font Name for this Font Software.
208
+ "cmtt9" is a Reserved Font Name for this Font Software.
209
+ "cmu10" is a Reserved Font Name for this Font Software.
210
+ "cmvtt10" is a Reserved Font Name for this Font Software.
211
+ "euex10" is a Reserved Font Name for this Font Software.
212
+ "euex7" is a Reserved Font Name for this Font Software.
213
+ "euex8" is a Reserved Font Name for this Font Software.
214
+ "euex9" is a Reserved Font Name for this Font Software.
215
+ "eufb10" is a Reserved Font Name for this Font Software.
216
+ "eufb5" is a Reserved Font Name for this Font Software.
217
+ "eufb7" is a Reserved Font Name for this Font Software.
218
+ "eufm10" is a Reserved Font Name for this Font Software.
219
+ "eufm5" is a Reserved Font Name for this Font Software.
220
+ "eufm7" is a Reserved Font Name for this Font Software.
221
+ "eurb10" is a Reserved Font Name for this Font Software.
222
+ "eurb5" is a Reserved Font Name for this Font Software.
223
+ "eurb7" is a Reserved Font Name for this Font Software.
224
+ "eurm10" is a Reserved Font Name for this Font Software.
225
+ "eurm5" is a Reserved Font Name for this Font Software.
226
+ "eurm7" is a Reserved Font Name for this Font Software.
227
+ "eusb10" is a Reserved Font Name for this Font Software.
228
+ "eusb5" is a Reserved Font Name for this Font Software.
229
+ "eusb7" is a Reserved Font Name for this Font Software.
230
+ "eusm10" is a Reserved Font Name for this Font Software.
231
+ "eusm5" is a Reserved Font Name for this Font Software.
232
+ "eusm7" is a Reserved Font Name for this Font Software.
233
+ "lasy10" is a Reserved Font Name for this Font Software.
234
+ "lasy5" is a Reserved Font Name for this Font Software.
235
+ "lasy6" is a Reserved Font Name for this Font Software.
236
+ "lasy7" is a Reserved Font Name for this Font Software.
237
+ "lasy8" is a Reserved Font Name for this Font Software.
238
+ "lasy9" is a Reserved Font Name for this Font Software.
239
+ "lasyb10" is a Reserved Font Name for this Font Software.
240
+ "lcircle1" is a Reserved Font Name for this Font Software.
241
+ "lcirclew" is a Reserved Font Name for this Font Software.
242
+ "lcmss8" is a Reserved Font Name for this Font Software.
243
+ "lcmssb8" is a Reserved Font Name for this Font Software.
244
+ "lcmssi8" is a Reserved Font Name for this Font Software.
245
+ "line10" is a Reserved Font Name for this Font Software.
246
+ "linew10" is a Reserved Font Name for this Font Software.
247
+ "msam10" is a Reserved Font Name for this Font Software.
248
+ "msam5" is a Reserved Font Name for this Font Software.
249
+ "msam6" is a Reserved Font Name for this Font Software.
250
+ "msam7" is a Reserved Font Name for this Font Software.
251
+ "msam8" is a Reserved Font Name for this Font Software.
252
+ "msam9" is a Reserved Font Name for this Font Software.
253
+ "msbm10" is a Reserved Font Name for this Font Software.
254
+ "msbm5" is a Reserved Font Name for this Font Software.
255
+ "msbm6" is a Reserved Font Name for this Font Software.
256
+ "msbm7" is a Reserved Font Name for this Font Software.
257
+ "msbm8" is a Reserved Font Name for this Font Software.
258
+ "msbm9" is a Reserved Font Name for this Font Software.
259
+ "wncyb10" is a Reserved Font Name for this Font Software.
260
+ "wncyi10" is a Reserved Font Name for this Font Software.
261
+ "wncyr10" is a Reserved Font Name for this Font Software.
262
+ "wncysc10" is a Reserved Font Name for this Font Software.
263
+ "wncyss10" is a Reserved Font Name for this Font Software.
264
+
265
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
266
+ This license is copied below, and is also available with a FAQ at:
267
+ http://scripts.sil.org/OFL
268
+
269
+ -----------------------------------------------------------
270
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
271
+ -----------------------------------------------------------
272
+
273
+ PREAMBLE
274
+ The goals of the Open Font License (OFL) are to stimulate worldwide
275
+ development of collaborative font projects, to support the font creation
276
+ efforts of academic and linguistic communities, and to provide a free and
277
+ open framework in which fonts may be shared and improved in partnership
278
+ with others.
279
+
280
+ The OFL allows the licensed fonts to be used, studied, modified and
281
+ redistributed freely as long as they are not sold by themselves. The
282
+ fonts, including any derivative works, can be bundled, embedded,
283
+ redistributed and/or sold with any software provided that any reserved
284
+ names are not used by derivative works. The fonts and derivatives,
285
+ however, cannot be released under any other type of license. The
286
+ requirement for fonts to remain under this license does not apply
287
+ to any document created using the fonts or their derivatives.
288
+
289
+ DEFINITIONS
290
+ "Font Software" refers to the set of files released by the Copyright
291
+ Holder(s) under this license and clearly marked as such. This may
292
+ include source files, build scripts and documentation.
293
+
294
+ "Reserved Font Name" refers to any names specified as such after the
295
+ copyright statement(s).
296
+
297
+ "Original Version" refers to the collection of Font Software components as
298
+ distributed by the Copyright Holder(s).
299
+
300
+ "Modified Version" refers to any derivative made by adding to, deleting,
301
+ or substituting -- in part or in whole -- any of the components of the
302
+ Original Version, by changing formats or by porting the Font Software to a
303
+ new environment.
304
+
305
+ "Author" refers to any designer, engineer, programmer, technical
306
+ writer or other person who contributed to the Font Software.
307
+
308
+ PERMISSION & CONDITIONS
309
+ Permission is hereby granted, free of charge, to any person obtaining
310
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
311
+ redistribute, and sell modified and unmodified copies of the Font
312
+ Software, subject to the following conditions:
313
+
314
+ 1) Neither the Font Software nor any of its individual components,
315
+ in Original or Modified Versions, may be sold by itself.
316
+
317
+ 2) Original or Modified Versions of the Font Software may be bundled,
318
+ redistributed and/or sold with any software, provided that each copy
319
+ contains the above copyright notice and this license. These can be
320
+ included either as stand-alone text files, human-readable headers or
321
+ in the appropriate machine-readable metadata fields within text or
322
+ binary files as long as those fields can be easily viewed by the user.
323
+
324
+ 3) No Modified Version of the Font Software may use the Reserved Font
325
+ Name(s) unless explicit written permission is granted by the corresponding
326
+ Copyright Holder. This restriction only applies to the primary font name as
327
+ presented to the users.
328
+
329
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
330
+ Software shall not be used to promote, endorse or advertise any
331
+ Modified Version, except to acknowledge the contribution(s) of the
332
+ Copyright Holder(s) and the Author(s) or with their explicit written
333
+ permission.
334
+
335
+ 5) The Font Software, modified or unmodified, in part or in whole,
336
+ must be distributed entirely under this license, and must not be
337
+ distributed under any other license. The requirement for fonts to
338
+ remain under this license does not apply to any document created
339
+ using the Font Software.
340
+
341
+ TERMINATION
342
+ This license becomes null and void if any of the above conditions are
343
+ not met.
344
+
345
+ DISCLAIMER
346
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
347
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
348
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
349
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
350
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
351
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
352
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
353
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
354
+ OTHER DEALINGS IN THE FONT SOFTWARE.
355
+
356
+
357
+
358
+ Name: BaKoMa Fonts
359
+ Files: matplotlib/mpl-data/fonts/ttf/cm*.ttf matplotlib/mpl-data/fonts/afm/cm*.afm
360
+ Description: Computer Modern Fonts in PostScript Type 1 and TrueType font formats.
361
+ License: BaKoMa Fonts Licence
362
+ BaKoMa Fonts Licence
363
+ --------------------
364
+
365
+ This licence covers two font packs (known as BaKoMa Fonts Collection,
366
+ which is available at `CTAN:fonts/cm/ps-type1/bakoma/'):
367
+
368
+ 1) BaKoMa-CM (1.1/12-Nov-94)
369
+ Computer Modern Fonts in PostScript Type 1 and TrueType font formats.
370
+
371
+ 2) BaKoMa-AMS (1.2/19-Jan-95)
372
+ AMS TeX fonts in PostScript Type 1 and TrueType font formats.
373
+
374
+ Copyright (C) 1994, 1995, Basil K. Malyshev. All Rights Reserved.
375
+
376
+ Permission to copy and distribute these fonts for any purpose is
377
+ hereby granted without fee, provided that the above copyright notice,
378
+ author statement and this permission notice appear in all copies of
379
+ these fonts and related documentation.
380
+
381
+ Permission to modify and distribute modified fonts for any purpose is
382
+ hereby granted without fee, provided that the copyright notice,
383
+ author statement, this permission notice and location of original
384
+ fonts (http://www.ctan.org/tex-archive/fonts/cm/ps-type1/bakoma)
385
+ appear in all copies of modified fonts and related documentation.
386
+
387
+ Permission to use these fonts (embedding into PostScript, PDF, SVG
388
+ and printing by using any software) is hereby granted without fee.
389
+ It is not required to provide any notices about using these fonts.
390
+
391
+ Basil K. Malyshev
392
+ INSTITUTE FOR HIGH ENERGY PHYSICS
393
+ IHEP, OMVT
394
+ Moscow Region
395
+ 142281 PROTVINO
396
+ RUSSIA
397
+
398
+ E-Mail: bakoma@mail.ru
399
+ or malyshev@mail.ihep.ru
400
+
401
+
402
+
403
+
404
+ Name: ColorBrewer Color Schemes
405
+ Files: lib/matplotlib/_cm.py
406
+ Description: Color schemes from ColorBrewer
407
+ License: Apache-2.0
408
+ Apache-Style Software License for ColorBrewer software and ColorBrewer Color Schemes
409
+
410
+ Copyright (c) 2002 Cynthia Brewer, Mark Harrower, and The Pennsylvania State University.
411
+
412
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
413
+ You may obtain a copy of the License at
414
+
415
+ http://www.apache.org/licenses/LICENSE-2.0
416
+
417
+ Unless required by applicable law or agreed to in writing, software distributed
418
+ under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
419
+ CONDITIONS OF ANY KIND, either express or implied. See the License for the
420
+ specific language governing permissions and limitations under the License.
421
+
422
+
423
+ Name: Courier 10
424
+ Files: matplotlib/tests/Courier10PitchBT-Bold.pfb
425
+ Description: Courier 10 font, used in tests.
426
+ License: Bitstream-Charter
427
+ The Courier10PitchBT-Bold.pfb file is a Type-1 version of
428
+ Courier 10 Pitch BT Bold by Bitstream, obtained from
429
+ <https://ctan.org/tex-archive/fonts/courierten>. It is included
430
+ here as test data only, but the following license applies.
431
+
432
+
433
+ (c) Copyright 1989-1992, Bitstream Inc., Cambridge, MA.
434
+
435
+ You are hereby granted permission under all Bitstream propriety rights
436
+ to use, copy, modify, sublicense, sell, and redistribute the 4 Bitstream
437
+ Charter (r) Type 1 outline fonts and the 4 Courier Type 1 outline fonts
438
+ for any purpose and without restriction; provided, that this notice is
439
+ left intact on all copies of such fonts and that Bitstream's trademark
440
+ is acknowledged as shown below on all unmodified copies of the 4 Charter
441
+ Type 1 fonts.
442
+
443
+ BITSTREAM CHARTER is a registered trademark of Bitstream Inc.
444
+
445
+
446
+ Name: FreeType
447
+ Files: matplotlib/ft2font.*.so
448
+ Description: Font rendering library
449
+ License: FTL OR GPL-2.0-or-later
450
+ The FreeType 2 font engine is copyrighted work and cannot be used
451
+ legally without a software license. In order to make this project
452
+ usable to a vast majority of developers, we distribute it under two
453
+ mutually exclusive open-source licenses.
454
+
455
+ This means that *you* must choose *one* of the two licenses described
456
+ below, then obey all its terms and conditions when using FreeType 2 in
457
+ any of your projects or products.
458
+
459
+ - The FreeType License, found in the file `docs/FTL.TXT`, which is
460
+ similar to the original BSD license *with* an advertising clause
461
+ that forces you to explicitly cite the FreeType project in your
462
+ product's documentation. All details are in the license file.
463
+ This license is suited to products which don't use the GNU General
464
+ Public License.
465
+
466
+ Note that this license is compatible to the GNU General Public
467
+ License version 3, but not version 2.
468
+
469
+ - The GNU General Public License version 2, found in
470
+ `docs/GPLv2.TXT` (any later version can be used also), for
471
+ programs which already use the GPL. Note that the FTL is
472
+ incompatible with GPLv2 due to its advertisement clause.
473
+
474
+ The contributed BDF and PCF drivers come with a license similar to
475
+ that of the X Window System. It is compatible to the above two
476
+ licenses (see files `src/bdf/README` and `src/pcf/README`). The same
477
+ holds for the source code files `src/base/fthash.c` and
478
+ `include/freetype/internal/fthash.h`; they were part of the BDF driver
479
+ in earlier FreeType versions.
480
+
481
+ The gzip module uses the zlib license (see `src/gzip/zlib.h`) which
482
+ too is compatible to the above two licenses.
483
+
484
+ The files `src/autofit/ft-hb.c` and `src/autofit/ft-hb.h` contain code
485
+ taken almost verbatim from the HarfBuzz file `hb-ft.cc`, which uses
486
+ the 'Old MIT' license, compatible to the above two licenses.
487
+
488
+ The MD5 checksum support (only used for debugging in development
489
+ builds) is in the public domain.
490
+
491
+
492
+ Name: HarfBuzz
493
+ Files: matplotlib/ft2font.*.so
494
+ Description: Text shaping library
495
+ License: MIT-Modern-Variant
496
+ HarfBuzz is licensed under the so-called "Old MIT" license. Details follow.
497
+ For parts of HarfBuzz that are licensed under different licenses see individual
498
+ files names COPYING in subdirectories where applicable.
499
+
500
+ Copyright © 2010-2022 Google, Inc.
501
+ Copyright © 2015-2020 Ebrahim Byagowi
502
+ Copyright © 2019,2020 Facebook, Inc.
503
+ Copyright © 2012,2015 Mozilla Foundation
504
+ Copyright © 2011 Codethink Limited
505
+ Copyright © 2008,2010 Nokia Corporation and/or its subsidiary(-ies)
506
+ Copyright © 2009 Keith Stribley
507
+ Copyright © 2011 Martin Hosken and SIL International
508
+ Copyright © 2007 Chris Wilson
509
+ Copyright © 2005,2006,2020,2021,2022,2023 Behdad Esfahbod
510
+ Copyright © 2004,2007,2008,2009,2010,2013,2021,2022,2023 Red Hat, Inc.
511
+ Copyright © 1998-2005 David Turner and Werner Lemberg
512
+ Copyright © 2016 Igalia S.L.
513
+ Copyright © 2022 Matthias Clasen
514
+ Copyright © 2018,2021 Khaled Hosny
515
+ Copyright © 2018,2019,2020 Adobe, Inc
516
+ Copyright © 2013-2015 Alexei Podtelezhnikov
517
+
518
+ For full copyright notices consult the individual files in the package.
519
+
520
+
521
+ Permission is hereby granted, without written agreement and without
522
+ license or royalty fees, to use, copy, modify, and distribute this
523
+ software and its documentation for any purpose, provided that the
524
+ above copyright notice and the following two paragraphs appear in
525
+ all copies of this software.
526
+
527
+ IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
528
+ DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
529
+ ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
530
+ IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
531
+ DAMAGE.
532
+
533
+ THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
534
+ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
535
+ FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
536
+ ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
537
+ PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
538
+
539
+
540
+ Name: JSXTools resize observer
541
+ Files: lib/matplotlib/backends/web_backend/js/mpl.js
542
+ Description: Minimal polyfill for the ResizeObserver API
543
+ License: CC0-1.0
544
+ # CC0 1.0 Universal
545
+
546
+ ## Statement of Purpose
547
+
548
+ The laws of most jurisdictions throughout the world automatically confer
549
+ exclusive Copyright and Related Rights (defined below) upon the creator and
550
+ subsequent owner(s) (each and all, an “owner”) of an original work of
551
+ authorship and/or a database (each, a “Work”).
552
+
553
+ Certain owners wish to permanently relinquish those rights to a Work for the
554
+ purpose of contributing to a commons of creative, cultural and scientific works
555
+ (“Commons”) that the public can reliably and without fear of later claims of
556
+ infringement build upon, modify, incorporate in other works, reuse and
557
+ redistribute as freely as possible in any form whatsoever and for any purposes,
558
+ including without limitation commercial purposes. These owners may contribute
559
+ to the Commons to promote the ideal of a free culture and the further
560
+ production of creative, cultural and scientific works, or to gain reputation or
561
+ greater distribution for their Work in part through the use and efforts of
562
+ others.
563
+
564
+ For these and/or other purposes and motivations, and without any expectation of
565
+ additional consideration or compensation, the person associating CC0 with a
566
+ Work (the “Affirmer”), to the extent that he or she is an owner of Copyright
567
+ and Related Rights in the Work, voluntarily elects to apply CC0 to the Work and
568
+ publicly distribute the Work under its terms, with knowledge of his or her
569
+ Copyright and Related Rights in the Work and the meaning and intended legal
570
+ effect of CC0 on those rights.
571
+
572
+ 1. Copyright and Related Rights. A Work made available under CC0 may be
573
+ protected by copyright and related or neighboring rights (“Copyright and
574
+ Related Rights”). Copyright and Related Rights include, but are not limited
575
+ to, the following:
576
+ 1. the right to reproduce, adapt, distribute, perform, display, communicate,
577
+ and translate a Work;
578
+ 2. moral rights retained by the original author(s) and/or performer(s);
579
+ 3. publicity and privacy rights pertaining to a person’s image or likeness
580
+ depicted in a Work;
581
+ 4. rights protecting against unfair competition in regards to a Work,
582
+ subject to the limitations in paragraph 4(i), below;
583
+ 5. rights protecting the extraction, dissemination, use and reuse of data in
584
+ a Work;
585
+ 6. database rights (such as those arising under Directive 96/9/EC of the
586
+ European Parliament and of the Council of 11 March 1996 on the legal
587
+ protection of databases, and under any national implementation thereof,
588
+ including any amended or successor version of such directive); and
589
+ 7. other similar, equivalent or corresponding rights throughout the world
590
+ based on applicable law or treaty, and any national implementations
591
+ thereof.
592
+
593
+ 2. Waiver. To the greatest extent permitted by, but not in contravention of,
594
+ applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
595
+ unconditionally waives, abandons, and surrenders all of Affirmer’s Copyright
596
+ and Related Rights and associated claims and causes of action, whether now
597
+ known or unknown (including existing as well as future claims and causes of
598
+ action), in the Work (i) in all territories worldwide, (ii) for the maximum
599
+ duration provided by applicable law or treaty (including future time
600
+ extensions), (iii) in any current or future medium and for any number of
601
+ copies, and (iv) for any purpose whatsoever, including without limitation
602
+ commercial, advertising or promotional purposes (the “Waiver”). Affirmer
603
+ makes the Waiver for the benefit of each member of the public at large and
604
+ to the detriment of Affirmer’s heirs and successors, fully intending that
605
+ such Waiver shall not be subject to revocation, rescission, cancellation,
606
+ termination, or any other legal or equitable action to disrupt the quiet
607
+ enjoyment of the Work by the public as contemplated by Affirmer’s express
608
+ Statement of Purpose.
609
+
610
+ 3. Public License Fallback. Should any part of the Waiver for any reason be
611
+ judged legally invalid or ineffective under applicable law, then the Waiver
612
+ shall be preserved to the maximum extent permitted taking into account
613
+ Affirmer’s express Statement of Purpose. In addition, to the extent the
614
+ Waiver is so judged Affirmer hereby grants to each affected person a
615
+ royalty-free, non transferable, non sublicensable, non exclusive,
616
+ irrevocable and unconditional license to exercise Affirmer’s Copyright and
617
+ Related Rights in the Work (i) in all territories worldwide, (ii) for the
618
+ maximum duration provided by applicable law or treaty (including future time
619
+ extensions), (iii) in any current or future medium and for any number of
620
+ copies, and (iv) for any purpose whatsoever, including without limitation
621
+ commercial, advertising or promotional purposes (the “License”). The License
622
+ shall be deemed effective as of the date CC0 was applied by Affirmer to the
623
+ Work. Should any part of the License for any reason be judged legally
624
+ invalid or ineffective under applicable law, such partial invalidity or
625
+ ineffectiveness shall not invalidate the remainder of the License, and in
626
+ such case Affirmer hereby affirms that he or she will not (i) exercise any
627
+ of his or her remaining Copyright and Related Rights in the Work or (ii)
628
+ assert any associated claims and causes of action with respect to the Work,
629
+ in either case contrary to Affirmer’s express Statement of Purpose.
630
+
631
+ 4. Limitations and Disclaimers.
632
+ 1. No trademark or patent rights held by Affirmer are waived, abandoned,
633
+ surrendered, licensed or otherwise affected by this document.
634
+ 2. Affirmer offers the Work as-is and makes no representations or warranties
635
+ of any kind concerning the Work, express, implied, statutory or
636
+ otherwise, including without limitation warranties of title,
637
+ merchantability, fitness for a particular purpose, non infringement, or
638
+ the absence of latent or other defects, accuracy, or the present or
639
+ absence of errors, whether or not discoverable, all to the greatest
640
+ extent permissible under applicable law.
641
+ 3. Affirmer disclaims responsibility for clearing rights of other persons
642
+ that may apply to the Work or any use thereof, including without
643
+ limitation any person’s Copyright and Related Rights in the Work.
644
+ Further, Affirmer disclaims responsibility for obtaining any necessary
645
+ consents, permissions or other rights required for any use of the Work.
646
+ 4. Affirmer understands and acknowledges that Creative Commons is not a
647
+ party to this document and has no duty or obligation with respect to this
648
+ CC0 or use of the Work.
649
+
650
+ For more information, please see
651
+ http://creativecommons.org/publicdomain/zero/1.0/.
652
+
653
+
654
+ Name: Last Resort fonts
655
+ Files: matplotlib/mpl-data/fonts/ttf/LastResortHE-Regular.ttf
656
+ Description: Last Resort High-Efficiency Font
657
+ License: OFL-1.1
658
+ This Font Software is licensed under the SIL Open Font License,
659
+ Version 1.1.
660
+
661
+ This license is copied below, and is also available with a FAQ at:
662
+ http://scripts.sil.org/OFL
663
+
664
+ -----------------------------------------------------------
665
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
666
+ -----------------------------------------------------------
667
+
668
+ PREAMBLE
669
+ The goals of the Open Font License (OFL) are to stimulate worldwide
670
+ development of collaborative font projects, to support the font
671
+ creation efforts of academic and linguistic communities, and to
672
+ provide a free and open framework in which fonts may be shared and
673
+ improved in partnership with others.
674
+
675
+ The OFL allows the licensed fonts to be used, studied, modified and
676
+ redistributed freely as long as they are not sold by themselves. The
677
+ fonts, including any derivative works, can be bundled, embedded,
678
+ redistributed and/or sold with any software provided that any reserved
679
+ names are not used by derivative works. The fonts and derivatives,
680
+ however, cannot be released under any other type of license. The
681
+ requirement for fonts to remain under this license does not apply to
682
+ any document created using the fonts or their derivatives.
683
+
684
+ DEFINITIONS
685
+ "Font Software" refers to the set of files released by the Copyright
686
+ Holder(s) under this license and clearly marked as such. This may
687
+ include source files, build scripts and documentation.
688
+
689
+ "Reserved Font Name" refers to any names specified as such after the
690
+ copyright statement(s).
691
+
692
+ "Original Version" refers to the collection of Font Software
693
+ components as distributed by the Copyright Holder(s).
694
+
695
+ "Modified Version" refers to any derivative made by adding to,
696
+ deleting, or substituting -- in part or in whole -- any of the
697
+ components of the Original Version, by changing formats or by porting
698
+ the Font Software to a new environment.
699
+
700
+ "Author" refers to any designer, engineer, programmer, technical
701
+ writer or other person who contributed to the Font Software.
702
+
703
+ PERMISSION & CONDITIONS
704
+ Permission is hereby granted, free of charge, to any person obtaining
705
+ a copy of the Font Software, to use, study, copy, merge, embed,
706
+ modify, redistribute, and sell modified and unmodified copies of the
707
+ Font Software, subject to the following conditions:
708
+
709
+ 1) Neither the Font Software nor any of its individual components, in
710
+ Original or Modified Versions, may be sold by itself.
711
+
712
+ 2) Original or Modified Versions of the Font Software may be bundled,
713
+ redistributed and/or sold with any software, provided that each copy
714
+ contains the above copyright notice and this license. These can be
715
+ included either as stand-alone text files, human-readable headers or
716
+ in the appropriate machine-readable metadata fields within text or
717
+ binary files as long as those fields can be easily viewed by the user.
718
+
719
+ 3) No Modified Version of the Font Software may use the Reserved Font
720
+ Name(s) unless explicit written permission is granted by the
721
+ corresponding Copyright Holder. This restriction only applies to the
722
+ primary font name as presented to the users.
723
+
724
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
725
+ Software shall not be used to promote, endorse or advertise any
726
+ Modified Version, except to acknowledge the contribution(s) of the
727
+ Copyright Holder(s) and the Author(s) or with their explicit written
728
+ permission.
729
+
730
+ 5) The Font Software, modified or unmodified, in part or in whole,
731
+ must be distributed entirely under this license, and must not be
732
+ distributed under any other license. The requirement for fonts to
733
+ remain under this license does not apply to any document created using
734
+ the Font Software.
735
+
736
+ TERMINATION
737
+ This license becomes null and void if any of the above conditions are
738
+ not met.
739
+
740
+ DISCLAIMER
741
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
742
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
743
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
744
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
745
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
746
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
747
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
748
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
749
+ OTHER DEALINGS IN THE FONT SOFTWARE.
750
+
751
+ SPDX-License-Identifier: OFL-1.1
752
+
753
+
754
+ Name: libraqm
755
+ Files: matplotlib/ft2font.*.so
756
+ Description: Complex text layout library
757
+ License: MIT
758
+ The MIT License (MIT)
759
+
760
+ Copyright © 2015 Information Technology Authority (ITA) <foss@ita.gov.om>
761
+ Copyright © 2016-2023 Khaled Hosny <khaled@aliftype.com>
762
+
763
+ Permission is hereby granted, free of charge, to any person obtaining a copy
764
+ of this software and associated documentation files (the "Software"), to deal
765
+ in the Software without restriction, including without limitation the rights
766
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
767
+ copies of the Software, and to permit persons to whom the Software is
768
+ furnished to do so, subject to the following conditions:
769
+
770
+ The above copyright notice and this permission notice shall be included in all
771
+ copies or substantial portions of the Software.
772
+
773
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
774
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
775
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
776
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
777
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
778
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
779
+ SOFTWARE.
780
+
781
+
782
+ Name: QHull
783
+ Files: matplotlib/_qhull.*.so
784
+ Description: Convex hull, Delaunay triangulation, Voronoi diagrams, Halfspace intersection
785
+ License: Qhull
786
+ Qhull, Copyright (c) 1993-2020
787
+
788
+ C.B. Barber
789
+ Arlington, MA
790
+
791
+ and
792
+
793
+ The National Science and Technology Research Center for
794
+ Computation and Visualization of Geometric Structures
795
+ (The Geometry Center)
796
+ University of Minnesota
797
+
798
+ email: qhull@qhull.org
799
+
800
+ This software includes Qhull from C.B. Barber and The Geometry Center.
801
+ Files derived from Qhull 1.0 are copyrighted by the Geometry Center. The
802
+ remaining files are copyrighted by C.B. Barber. Qhull is free software
803
+ and may be obtained via http from www.qhull.org. It may be freely copied,
804
+ modified, and redistributed under the following conditions:
805
+
806
+ 1. All copyright notices must remain intact in all files.
807
+
808
+ 2. A copy of this text file must be distributed along with any copies
809
+ of Qhull that you redistribute; this includes copies that you have
810
+ modified, or copies of programs or other software products that
811
+ include Qhull.
812
+
813
+ 3. If you modify Qhull, you must include a notice giving the
814
+ name of the person performing the modification, the date of
815
+ modification, and the reason for such modification.
816
+
817
+ 4. When distributing modified versions of Qhull, or other software
818
+ products that include Qhull, you must provide notice that the original
819
+ source code may be obtained as noted above.
820
+
821
+ 5. There is no warranty or other guarantee of fitness for Qhull, it is
822
+ provided solely "as is". Bug reports or fixes may be sent to
823
+ qhull_bug@qhull.org; the authors may or may not act on them as
824
+ they desire.
825
+
826
+
827
+ Name: Qt4 Editor
828
+ Files: matplotlib/backends/qt_editor
829
+ Description: Module creating PyQt4 form dialogs/layouts to edit various type of parameters
830
+ License: MIT
831
+ Module creating PyQt4 form dialogs/layouts to edit various type of parameters
832
+
833
+
834
+ formlayout License Agreement (MIT License)
835
+ ------------------------------------------
836
+
837
+ Copyright (c) 2009 Pierre Raybaut
838
+
839
+ Permission is hereby granted, free of charge, to any person
840
+ obtaining a copy of this software and associated documentation
841
+ files (the "Software"), to deal in the Software without
842
+ restriction, including without limitation the rights to use,
843
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
844
+ copies of the Software, and to permit persons to whom the
845
+ Software is furnished to do so, subject to the following
846
+ conditions:
847
+
848
+ The above copyright notice and this permission notice shall be
849
+ included in all copies or substantial portions of the Software.
850
+
851
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
852
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
853
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
854
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
855
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
856
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
857
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
858
+ OTHER DEALINGS IN THE SOFTWARE.
859
+
860
+
861
+ Name: SheenBidi
862
+ Files: matplotlib/ft2font.*.so
863
+ Description: Unicode Bidirectional Algorithm implementation
864
+ License: Apache-2.0
865
+ Apache License
866
+ Version 2.0, January 2004
867
+ http://www.apache.org/licenses/
868
+
869
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
870
+
871
+ 1. Definitions.
872
+
873
+ "License" shall mean the terms and conditions for use, reproduction,
874
+ and distribution as defined by Sections 1 through 9 of this document.
875
+
876
+ "Licensor" shall mean the copyright owner or entity authorized by
877
+ the copyright owner that is granting the License.
878
+
879
+ "Legal Entity" shall mean the union of the acting entity and all
880
+ other entities that control, are controlled by, or are under common
881
+ control with that entity. For the purposes of this definition,
882
+ "control" means (i) the power, direct or indirect, to cause the
883
+ direction or management of such entity, whether by contract or
884
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
885
+ outstanding shares, or (iii) beneficial ownership of such entity.
886
+
887
+ "You" (or "Your") shall mean an individual or Legal Entity
888
+ exercising permissions granted by this License.
889
+
890
+ "Source" form shall mean the preferred form for making modifications,
891
+ including but not limited to software source code, documentation
892
+ source, and configuration files.
893
+
894
+ "Object" form shall mean any form resulting from mechanical
895
+ transformation or translation of a Source form, including but
896
+ not limited to compiled object code, generated documentation,
897
+ and conversions to other media types.
898
+
899
+ "Work" shall mean the work of authorship, whether in Source or
900
+ Object form, made available under the License, as indicated by a
901
+ copyright notice that is included in or attached to the work
902
+ (an example is provided in the Appendix below).
903
+
904
+ "Derivative Works" shall mean any work, whether in Source or Object
905
+ form, that is based on (or derived from) the Work and for which the
906
+ editorial revisions, annotations, elaborations, or other modifications
907
+ represent, as a whole, an original work of authorship. For the purposes
908
+ of this License, Derivative Works shall not include works that remain
909
+ separable from, or merely link (or bind by name) to the interfaces of,
910
+ the Work and Derivative Works thereof.
911
+
912
+ "Contribution" shall mean any work of authorship, including
913
+ the original version of the Work and any modifications or additions
914
+ to that Work or Derivative Works thereof, that is intentionally
915
+ submitted to Licensor for inclusion in the Work by the copyright owner
916
+ or by an individual or Legal Entity authorized to submit on behalf of
917
+ the copyright owner. For the purposes of this definition, "submitted"
918
+ means any form of electronic, verbal, or written communication sent
919
+ to the Licensor or its representatives, including but not limited to
920
+ communication on electronic mailing lists, source code control systems,
921
+ and issue tracking systems that are managed by, or on behalf of, the
922
+ Licensor for the purpose of discussing and improving the Work, but
923
+ excluding communication that is conspicuously marked or otherwise
924
+ designated in writing by the copyright owner as "Not a Contribution."
925
+
926
+ "Contributor" shall mean Licensor and any individual or Legal Entity
927
+ on behalf of whom a Contribution has been received by Licensor and
928
+ subsequently incorporated within the Work.
929
+
930
+ 2. Grant of Copyright License. Subject to the terms and conditions of
931
+ this License, each Contributor hereby grants to You a perpetual,
932
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
933
+ copyright license to reproduce, prepare Derivative Works of,
934
+ publicly display, publicly perform, sublicense, and distribute the
935
+ Work and such Derivative Works in Source or Object form.
936
+
937
+ 3. Grant of Patent License. Subject to the terms and conditions of
938
+ this License, each Contributor hereby grants to You a perpetual,
939
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
940
+ (except as stated in this section) patent license to make, have made,
941
+ use, offer to sell, sell, import, and otherwise transfer the Work,
942
+ where such license applies only to those patent claims licensable
943
+ by such Contributor that are necessarily infringed by their
944
+ Contribution(s) alone or by combination of their Contribution(s)
945
+ with the Work to which such Contribution(s) was submitted. If You
946
+ institute patent litigation against any entity (including a
947
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
948
+ or a Contribution incorporated within the Work constitutes direct
949
+ or contributory patent infringement, then any patent licenses
950
+ granted to You under this License for that Work shall terminate
951
+ as of the date such litigation is filed.
952
+
953
+ 4. Redistribution. You may reproduce and distribute copies of the
954
+ Work or Derivative Works thereof in any medium, with or without
955
+ modifications, and in Source or Object form, provided that You
956
+ meet the following conditions:
957
+
958
+ (a) You must give any other recipients of the Work or
959
+ Derivative Works a copy of this License; and
960
+
961
+ (b) You must cause any modified files to carry prominent notices
962
+ stating that You changed the files; and
963
+
964
+ (c) You must retain, in the Source form of any Derivative Works
965
+ that You distribute, all copyright, patent, trademark, and
966
+ attribution notices from the Source form of the Work,
967
+ excluding those notices that do not pertain to any part of
968
+ the Derivative Works; and
969
+
970
+ (d) If the Work includes a "NOTICE" text file as part of its
971
+ distribution, then any Derivative Works that You distribute must
972
+ include a readable copy of the attribution notices contained
973
+ within such NOTICE file, excluding those notices that do not
974
+ pertain to any part of the Derivative Works, in at least one
975
+ of the following places: within a NOTICE text file distributed
976
+ as part of the Derivative Works; within the Source form or
977
+ documentation, if provided along with the Derivative Works; or,
978
+ within a display generated by the Derivative Works, if and
979
+ wherever such third-party notices normally appear. The contents
980
+ of the NOTICE file are for informational purposes only and
981
+ do not modify the License. You may add Your own attribution
982
+ notices within Derivative Works that You distribute, alongside
983
+ or as an addendum to the NOTICE text from the Work, provided
984
+ that such additional attribution notices cannot be construed
985
+ as modifying the License.
986
+
987
+ You may add Your own copyright statement to Your modifications and
988
+ may provide additional or different license terms and conditions
989
+ for use, reproduction, or distribution of Your modifications, or
990
+ for any such Derivative Works as a whole, provided Your use,
991
+ reproduction, and distribution of the Work otherwise complies with
992
+ the conditions stated in this License.
993
+
994
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
995
+ any Contribution intentionally submitted for inclusion in the Work
996
+ by You to the Licensor shall be under the terms and conditions of
997
+ this License, without any additional terms or conditions.
998
+ Notwithstanding the above, nothing herein shall supersede or modify
999
+ the terms of any separate license agreement you may have executed
1000
+ with Licensor regarding such Contributions.
1001
+
1002
+ 6. Trademarks. This License does not grant permission to use the trade
1003
+ names, trademarks, service marks, or product names of the Licensor,
1004
+ except as required for reasonable and customary use in describing the
1005
+ origin of the Work and reproducing the content of the NOTICE file.
1006
+
1007
+ 7. Disclaimer of Warranty. Unless required by applicable law or
1008
+ agreed to in writing, Licensor provides the Work (and each
1009
+ Contributor provides its Contributions) on an "AS IS" BASIS,
1010
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1011
+ implied, including, without limitation, any warranties or conditions
1012
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
1013
+ PARTICULAR PURPOSE. You are solely responsible for determining the
1014
+ appropriateness of using or redistributing the Work and assume any
1015
+ risks associated with Your exercise of permissions under this License.
1016
+
1017
+ 8. Limitation of Liability. In no event and under no legal theory,
1018
+ whether in tort (including negligence), contract, or otherwise,
1019
+ unless required by applicable law (such as deliberate and grossly
1020
+ negligent acts) or agreed to in writing, shall any Contributor be
1021
+ liable to You for damages, including any direct, indirect, special,
1022
+ incidental, or consequential damages of any character arising as a
1023
+ result of this License or out of the use or inability to use the
1024
+ Work (including but not limited to damages for loss of goodwill,
1025
+ work stoppage, computer failure or malfunction, or any and all
1026
+ other commercial damages or losses), even if such Contributor
1027
+ has been advised of the possibility of such damages.
1028
+
1029
+ 9. Accepting Warranty or Additional Liability. While redistributing
1030
+ the Work or Derivative Works thereof, You may choose to offer,
1031
+ and charge a fee for, acceptance of support, warranty, indemnity,
1032
+ or other liability obligations and/or rights consistent with this
1033
+ License. However, in accepting such obligations, You may act only
1034
+ on Your own behalf and on Your sole responsibility, not on behalf
1035
+ of any other Contributor, and only if You agree to indemnify,
1036
+ defend, and hold each Contributor harmless for any liability
1037
+ incurred by, or claims asserted against, such Contributor by reason
1038
+ of your accepting any such warranty or additional liability.
1039
+
1040
+ END OF TERMS AND CONDITIONS
1041
+
1042
+ APPENDIX: How to apply the Apache License to your work.
1043
+
1044
+ To apply the Apache License to your work, attach the following
1045
+ boilerplate notice, with the fields enclosed by brackets "[]"
1046
+ replaced with your own identifying information. (Don't include
1047
+ the brackets!) The text should be enclosed in the appropriate
1048
+ comment syntax for the file format. We also recommend that a
1049
+ file or class name and description of purpose be included on the
1050
+ same "printed page" as the copyright notice for easier
1051
+ identification within third-party archives.
1052
+
1053
+ Copyright [yyyy] [name of copyright owner]
1054
+
1055
+ Licensed under the Apache License, Version 2.0 (the "License");
1056
+ you may not use this file except in compliance with the License.
1057
+ You may obtain a copy of the License at
1058
+
1059
+ http://www.apache.org/licenses/LICENSE-2.0
1060
+
1061
+ Unless required by applicable law or agreed to in writing, software
1062
+ distributed under the License is distributed on an "AS IS" BASIS,
1063
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1064
+ See the License for the specific language governing permissions and
1065
+ limitations under the License.
1066
+
1067
+
1068
+ Name: Solarized
1069
+ Files: matplotlib/mpl-data/stylelib/Solarize_Light2.mplstyle
1070
+ Description: Solarized color scheme/style
1071
+ License: MIT
1072
+ https://github.com/altercation/solarized/blob/master/LICENSE
1073
+ Copyright (c) 2011 Ethan Schoonover
1074
+
1075
+ Permission is hereby granted, free of charge, to any person obtaining a copy
1076
+ of this software and associated documentation files (the "Software"), to deal
1077
+ in the Software without restriction, including without limitation the rights
1078
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1079
+ copies of the Software, and to permit persons to whom the Software is
1080
+ furnished to do so, subject to the following conditions:
1081
+
1082
+ The above copyright notice and this permission notice shall be included in
1083
+ all copies or substantial portions of the Software.
1084
+
1085
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1086
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1087
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1088
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1089
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1090
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1091
+ THE SOFTWARE.
1092
+
1093
+
1094
+ Name: Stix fonts
1095
+ Files: matplotlib/mpl-data/fonts/ttf/STIX*.ttf
1096
+ Description: STIX fonts
1097
+ License: OFL-1.1
1098
+ STIX Font License
1099
+
1100
+ 24 May 2010
1101
+
1102
+ Copyright (c) 2001-2010 by the STI Pub Companies, consisting of the American
1103
+ Institute of Physics, the American Chemical Society, the American Mathematical
1104
+ Society, the American Physical Society, Elsevier, Inc., and The Institute of
1105
+ Electrical and Electronic Engineers, Inc. (www.stixfonts.org), with Reserved
1106
+ Font Name STIX Fonts, STIX Fonts (TM) is a trademark of The Institute of
1107
+ Electrical and Electronics Engineers, Inc.
1108
+
1109
+ Portions copyright (c) 1998-2003 by MicroPress, Inc. (www.micropress-inc.com),
1110
+ with Reserved Font Name TM Math. To obtain additional mathematical fonts, please
1111
+ contact MicroPress, Inc., 68-30 Harrow Street, Forest Hills, NY 11375, USA,
1112
+ Phone: (718) 575-1816.
1113
+
1114
+ Portions copyright (c) 1990 by Elsevier, Inc.
1115
+
1116
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
1117
+ This license is copied below, and is also available with a FAQ at:
1118
+ https://scripts.sil.org/OFL
1119
+
1120
+ -----------------------------------------------------------
1121
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
1122
+ -----------------------------------------------------------
1123
+
1124
+ PREAMBLE
1125
+ The goals of the Open Font License (OFL) are to stimulate worldwide
1126
+ development of collaborative font projects, to support the font creation
1127
+ efforts of academic and linguistic communities, and to provide a free and
1128
+ open framework in which fonts may be shared and improved in partnership
1129
+ with others.
1130
+
1131
+ The OFL allows the licensed fonts to be used, studied, modified and
1132
+ redistributed freely as long as they are not sold by themselves. The
1133
+ fonts, including any derivative works, can be bundled, embedded,
1134
+ redistributed and/or sold with any software provided that any reserved
1135
+ names are not used by derivative works. The fonts and derivatives,
1136
+ however, cannot be released under any other type of license. The
1137
+ requirement for fonts to remain under this license does not apply
1138
+ to any document created using the fonts or their derivatives.
1139
+
1140
+ DEFINITIONS
1141
+ "Font Software" refers to the set of files released by the Copyright
1142
+ Holder(s) under this license and clearly marked as such. This may
1143
+ include source files, build scripts and documentation.
1144
+
1145
+ "Reserved Font Name" refers to any names specified as such after the
1146
+ copyright statement(s).
1147
+
1148
+ "Original Version" refers to the collection of Font Software components as
1149
+ distributed by the Copyright Holder(s).
1150
+
1151
+ "Modified Version" refers to any derivative made by adding to, deleting,
1152
+ or substituting -- in part or in whole -- any of the components of the
1153
+ Original Version, by changing formats or by porting the Font Software to a
1154
+ new environment.
1155
+
1156
+ "Author" refers to any designer, engineer, programmer, technical
1157
+ writer or other person who contributed to the Font Software.
1158
+
1159
+ PERMISSION & CONDITIONS
1160
+ Permission is hereby granted, free of charge, to any person obtaining
1161
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
1162
+ redistribute, and sell modified and unmodified copies of the Font
1163
+ Software, subject to the following conditions:
1164
+
1165
+ 1) Neither the Font Software nor any of its individual components,
1166
+ in Original or Modified Versions, may be sold by itself.
1167
+
1168
+ 2) Original or Modified Versions of the Font Software may be bundled,
1169
+ redistributed and/or sold with any software, provided that each copy
1170
+ contains the above copyright notice and this license. These can be
1171
+ included either as stand-alone text files, human-readable headers or
1172
+ in the appropriate machine-readable metadata fields within text or
1173
+ binary files as long as those fields can be easily viewed by the user.
1174
+
1175
+ 3) No Modified Version of the Font Software may use the Reserved Font
1176
+ Name(s) unless explicit written permission is granted by the corresponding
1177
+ Copyright Holder. This restriction only applies to the primary font name as
1178
+ presented to the users.
1179
+
1180
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
1181
+ Software shall not be used to promote, endorse or advertise any
1182
+ Modified Version, except to acknowledge the contribution(s) of the
1183
+ Copyright Holder(s) and the Author(s) or with their explicit written
1184
+ permission.
1185
+
1186
+ 5) The Font Software, modified or unmodified, in part or in whole,
1187
+ must be distributed entirely under this license, and must not be
1188
+ distributed under any other license. The requirement for fonts to
1189
+ remain under this license does not apply to any document created
1190
+ using the Font Software.
1191
+
1192
+ TERMINATION
1193
+ This license becomes null and void if any of the above conditions are
1194
+ not met.
1195
+
1196
+ DISCLAIMER
1197
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
1198
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
1199
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
1200
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
1201
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
1202
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
1203
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
1204
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
1205
+ OTHER DEALINGS IN THE FONT SOFTWARE.
1206
+
1207
+ Name: Yorick Colormaps
1208
+ Files: lib/matplotlib/_cm.py
1209
+ Description: Gist/Yorick colormaps
1210
+ License:
1211
+ BSD-style license for gist/yorick colormaps.
1212
+
1213
+ Copyright:
1214
+
1215
+ Copyright (c) 1996. The Regents of the University of California.
1216
+ All rights reserved.
1217
+
1218
+ Permission to use, copy, modify, and distribute this software for any
1219
+ purpose without fee is hereby granted, provided that this entire
1220
+ notice is included in all copies of any software which is or includes
1221
+ a copy or modification of this software and in all copies of the
1222
+ supporting documentation for such software.
1223
+
1224
+ This work was produced at the University of California, Lawrence
1225
+ Livermore National Laboratory under contract no. W-7405-ENG-48 between
1226
+ the U.S. Department of Energy and The Regents of the University of
1227
+ California for the operation of UC LLNL.
1228
+
1229
+
1230
+ DISCLAIMER
1231
+
1232
+ This software was prepared as an account of work sponsored by an
1233
+ agency of the United States Government. Neither the United States
1234
+ Government nor the University of California nor any of their
1235
+ employees, makes any warranty, express or implied, or assumes any
1236
+ liability or responsibility for the accuracy, completeness, or
1237
+ usefulness of any information, apparatus, product, or process
1238
+ disclosed, or represents that its use would not infringe
1239
+ privately-owned rights. Reference herein to any specific commercial
1240
+ products, process, or service by trade name, trademark, manufacturer,
1241
+ or otherwise, does not necessarily constitute or imply its
1242
+ endorsement, recommendation, or favoring by the United States
1243
+ Government or the University of California. The views and opinions of
1244
+ authors expressed herein do not necessarily state or reflect those of
1245
+ the United States Government or the University of California, and
1246
+ shall not be used for advertising or product endorsement purposes.
1247
+
1248
+
1249
+ AUTHOR
1250
+
1251
+ David H. Munro wrote Yorick and Gist. Berkeley Yacc (byacc) generated
1252
+ the Yorick parser. The routines in Math are from LAPACK and FFTPACK;
1253
+ MathC contains C translations by David H. Munro. The algorithms for
1254
+ Yorick's random number generator and several special functions in
1255
+ Yorick/include were taken from Numerical Recipes by Press, et. al.,
1256
+ although the Yorick implementations are unrelated to those in
1257
+ Numerical Recipes. A small amount of code in Gist was adapted from
1258
+ the X11R4 release, copyright M.I.T. -- the complete copyright notice
1259
+ may be found in the (unused) file Gist/host.c.
1260
+
1261
+ Classifier: Development Status :: 5 - Production/Stable
1262
+ Classifier: Framework :: Matplotlib
1263
+ Classifier: Intended Audience :: Science/Research
1264
+ Classifier: Intended Audience :: Education
1265
+ Classifier: License :: OSI Approved :: Python Software Foundation License
1266
+ Classifier: Programming Language :: Python
1267
+ Classifier: Programming Language :: Python :: 3
1268
+ Classifier: Programming Language :: Python :: 3.11
1269
+ Classifier: Programming Language :: Python :: 3.12
1270
+ Classifier: Programming Language :: Python :: 3.13
1271
+ Classifier: Programming Language :: Python :: 3.14
1272
+ Classifier: Topic :: Scientific/Engineering :: Visualization
1273
+ Project-URL: Homepage, https://matplotlib.org
1274
+ Project-URL: Download, https://matplotlib.org/stable/install/index.html
1275
+ Project-URL: Documentation, https://matplotlib.org
1276
+ Project-URL: Source Code, https://github.com/matplotlib/matplotlib
1277
+ Project-URL: Bug Tracker, https://github.com/matplotlib/matplotlib/issues
1278
+ Project-URL: Forum, https://discourse.matplotlib.org/
1279
+ Project-URL: Donate, https://numfocus.org/donate-to-matplotlib
1280
+ Requires-Python: >=3.11
1281
+ Requires-Dist: contourpy>=1.0.1
1282
+ Requires-Dist: cycler>=0.10
1283
+ Requires-Dist: fonttools>=4.28.2
1284
+ Requires-Dist: kiwisolver>=1.3.1
1285
+ Requires-Dist: numpy>=1.25
1286
+ Requires-Dist: packaging>=20.0
1287
+ Requires-Dist: pillow>=9
1288
+ Requires-Dist: pyparsing>=3
1289
+ Requires-Dist: python-dateutil>=2.7
1290
+ Description-Content-Type: text/markdown
1291
+
1292
+ [![PyPi](https://img.shields.io/pypi/v/matplotlib)](https://pypi.org/project/matplotlib/)
1293
+ [![Conda](https://img.shields.io/conda/vn/conda-forge/matplotlib)](https://anaconda.org/conda-forge/matplotlib)
1294
+ [![Downloads](https://img.shields.io/pypi/dm/matplotlib)](https://pypi.org/project/matplotlib)
1295
+ [![NUMFocus](https://img.shields.io/badge/powered%20by-NumFOCUS-orange.svg?style=flat&colorA=E1523D&colorB=007D8A)](https://numfocus.org)
1296
+ [![LFX Health Score](https://insights.linuxfoundation.org/api/badge/health-score?project=matplotlib)](https://insights.linuxfoundation.org/project/matplotlib)
1297
+
1298
+ [![Discourse help forum](https://img.shields.io/badge/help_forum-discourse-blue.svg)](https://discourse.matplotlib.org)
1299
+ [![Discourse chat](https://img.shields.io/badge/chat-discourse-mediumaquamarine)](https://discourse.matplotlib.org/chat/c/matplotlib/2)
1300
+ [![GitHub issues](https://img.shields.io/badge/issue_tracking-github-blue.svg)](https://github.com/matplotlib/matplotlib/issues)
1301
+ [![Contributing](https://img.shields.io/badge/PR-Welcome-%23FF8300.svg?)](https://matplotlib.org/stable/devel/index.html)
1302
+
1303
+ [![GitHub actions status](https://github.com/matplotlib/matplotlib/workflows/Tests/badge.svg)](https://github.com/matplotlib/matplotlib/actions?query=workflow%3ATests)
1304
+ [![Azure pipelines status](https://dev.azure.com/matplotlib/matplotlib/_apis/build/status/matplotlib.matplotlib?branchName=main)](https://dev.azure.com/matplotlib/matplotlib/_build/latest?definitionId=1&branchName=main)
1305
+ [![AppVeyor status](https://ci.appveyor.com/api/projects/status/github/matplotlib/matplotlib?branch=main&svg=true)](https://ci.appveyor.com/project/matplotlib/matplotlib)
1306
+ [![Codecov status](https://codecov.io/github/matplotlib/matplotlib/badge.svg?branch=main&service=github)](https://app.codecov.io/gh/matplotlib/matplotlib)
1307
+ [![EffVer Versioning](https://img.shields.io/badge/version_scheme-EffVer-0097a7)](https://jacobtomlinson.dev/effver)
1308
+
1309
+ ![Matplotlib logotype](https://matplotlib.org/stable/_static/logo2.svg)
1310
+
1311
+ Matplotlib is a comprehensive library for creating static, animated, and
1312
+ interactive visualizations in Python.
1313
+
1314
+ Check out our [home page](https://matplotlib.org/) for more information.
1315
+
1316
+ ![image](https://matplotlib.org/stable/_static/readme_preview.png)
1317
+
1318
+ Matplotlib produces publication-quality figures in a variety of hardcopy
1319
+ formats and interactive environments across platforms. Matplotlib can be
1320
+ used in Python scripts, Python/IPython shells, web application servers,
1321
+ and various graphical user interface toolkits.
1322
+
1323
+ ## Install
1324
+
1325
+ See the [install
1326
+ documentation](https://matplotlib.org/stable/users/installing/index.html),
1327
+ which is generated from `/doc/install/index.rst`
1328
+
1329
+ ## Contribute
1330
+
1331
+ You've discovered a bug or something else you want to change — excellent!
1332
+
1333
+ You've worked out a way to fix it — even better!
1334
+
1335
+ You want to tell us about it — best of all!
1336
+
1337
+ Start at the [contributing
1338
+ guide](https://matplotlib.org/devdocs/devel/contribute.html)!
1339
+
1340
+ ## Contact
1341
+
1342
+ [Discourse](https://discourse.matplotlib.org/) is the discussion forum
1343
+ for general questions and discussions and our recommended starting
1344
+ point.
1345
+
1346
+ Our active mailing lists (which are mirrored on Discourse) are:
1347
+
1348
+ - [Users](https://mail.python.org/mailman/listinfo/matplotlib-users)
1349
+ mailing list: <matplotlib-users@python.org>
1350
+ - [Announcement](https://mail.python.org/mailman/listinfo/matplotlib-announce)
1351
+ mailing list: <matplotlib-announce@python.org>
1352
+ - [Development](https://mail.python.org/mailman/listinfo/matplotlib-devel)
1353
+ mailing list: <matplotlib-devel@python.org>
1354
+
1355
+ [Discourse Chat](https://discourse.matplotlib.org/chat/c/matplotlib/2) is for
1356
+ coordinating development and asking questions directly related to contributing
1357
+ to matplotlib.
1358
+
1359
+ ## Citing Matplotlib
1360
+
1361
+ If Matplotlib contributes to a project that leads to publication, please
1362
+ acknowledge this by citing Matplotlib.
1363
+
1364
+ [A ready-made citation
1365
+ entry](https://matplotlib.org/stable/users/project/citing.html) is
1366
+ available.
.venv/lib/python3.12/site-packages/matplotlib-3.11.2.dist-info/RECORD ADDED
@@ -0,0 +1,891 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ __pycache__/pylab.cpython-312.pyc,,
2
+ matplotlib-3.11.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
3
+ matplotlib-3.11.2.dist-info/LICENSE,sha256=gi6OUoFHVppBl1WSruGcEZkqtme6UEUc2SkDHV_HRJE,63442
4
+ matplotlib-3.11.2.dist-info/METADATA,sha256=5fUyIm0QJa8t0V_5Ud8nOR9m1GQDuCROph5rjrPk2AY,80264
5
+ matplotlib-3.11.2.dist-info/RECORD,,
6
+ matplotlib-3.11.2.dist-info/WHEEL,sha256=3qIDcXCk577AXiK3pDifO-gE9U_MYWYGgtD78gLa2_U,137
7
+ matplotlib/__init__.py,sha256=N6u3jnTp4AhaTjBqkZYG_6j_PCY974CuL02TjPp5zTI,56239
8
+ matplotlib/__init__.pyi,sha256=hnkSJbatbDbjIU0O9Nb_8uALpyt7XmJmlua1Z9ti1xs,3648
9
+ matplotlib/__pycache__/__init__.cpython-312.pyc,,
10
+ matplotlib/__pycache__/_afm.cpython-312.pyc,,
11
+ matplotlib/__pycache__/_animation_data.cpython-312.pyc,,
12
+ matplotlib/__pycache__/_blocking_input.cpython-312.pyc,,
13
+ matplotlib/__pycache__/_cm.cpython-312.pyc,,
14
+ matplotlib/__pycache__/_cm_bivar.cpython-312.pyc,,
15
+ matplotlib/__pycache__/_cm_listed.cpython-312.pyc,,
16
+ matplotlib/__pycache__/_cm_multivar.cpython-312.pyc,,
17
+ matplotlib/__pycache__/_color_data.cpython-312.pyc,,
18
+ matplotlib/__pycache__/_constrained_layout.cpython-312.pyc,,
19
+ matplotlib/__pycache__/_docstring.cpython-312.pyc,,
20
+ matplotlib/__pycache__/_enums.cpython-312.pyc,,
21
+ matplotlib/__pycache__/_fontconfig_pattern.cpython-312.pyc,,
22
+ matplotlib/__pycache__/_internal_utils.cpython-312.pyc,,
23
+ matplotlib/__pycache__/_layoutgrid.cpython-312.pyc,,
24
+ matplotlib/__pycache__/_mathtext.cpython-312.pyc,,
25
+ matplotlib/__pycache__/_mathtext_data.cpython-312.pyc,,
26
+ matplotlib/__pycache__/_pylab_helpers.cpython-312.pyc,,
27
+ matplotlib/__pycache__/_style_helpers.cpython-312.pyc,,
28
+ matplotlib/__pycache__/_text_helpers.cpython-312.pyc,,
29
+ matplotlib/__pycache__/_tight_bbox.cpython-312.pyc,,
30
+ matplotlib/__pycache__/_tight_layout.cpython-312.pyc,,
31
+ matplotlib/__pycache__/_type1font.cpython-312.pyc,,
32
+ matplotlib/__pycache__/_version.cpython-312.pyc,,
33
+ matplotlib/__pycache__/animation.cpython-312.pyc,,
34
+ matplotlib/__pycache__/artist.cpython-312.pyc,,
35
+ matplotlib/__pycache__/axis.cpython-312.pyc,,
36
+ matplotlib/__pycache__/backend_bases.cpython-312.pyc,,
37
+ matplotlib/__pycache__/backend_managers.cpython-312.pyc,,
38
+ matplotlib/__pycache__/backend_tools.cpython-312.pyc,,
39
+ matplotlib/__pycache__/bezier.cpython-312.pyc,,
40
+ matplotlib/__pycache__/category.cpython-312.pyc,,
41
+ matplotlib/__pycache__/cbook.cpython-312.pyc,,
42
+ matplotlib/__pycache__/cm.cpython-312.pyc,,
43
+ matplotlib/__pycache__/collections.cpython-312.pyc,,
44
+ matplotlib/__pycache__/colorbar.cpython-312.pyc,,
45
+ matplotlib/__pycache__/colorizer.cpython-312.pyc,,
46
+ matplotlib/__pycache__/colors.cpython-312.pyc,,
47
+ matplotlib/__pycache__/container.cpython-312.pyc,,
48
+ matplotlib/__pycache__/contour.cpython-312.pyc,,
49
+ matplotlib/__pycache__/dates.cpython-312.pyc,,
50
+ matplotlib/__pycache__/dviread.cpython-312.pyc,,
51
+ matplotlib/__pycache__/figure.cpython-312.pyc,,
52
+ matplotlib/__pycache__/font_manager.cpython-312.pyc,,
53
+ matplotlib/__pycache__/gridspec.cpython-312.pyc,,
54
+ matplotlib/__pycache__/hatch.cpython-312.pyc,,
55
+ matplotlib/__pycache__/image.cpython-312.pyc,,
56
+ matplotlib/__pycache__/inset.cpython-312.pyc,,
57
+ matplotlib/__pycache__/layout_engine.cpython-312.pyc,,
58
+ matplotlib/__pycache__/legend.cpython-312.pyc,,
59
+ matplotlib/__pycache__/legend_handler.cpython-312.pyc,,
60
+ matplotlib/__pycache__/lines.cpython-312.pyc,,
61
+ matplotlib/__pycache__/markers.cpython-312.pyc,,
62
+ matplotlib/__pycache__/mathtext.cpython-312.pyc,,
63
+ matplotlib/__pycache__/mlab.cpython-312.pyc,,
64
+ matplotlib/__pycache__/offsetbox.cpython-312.pyc,,
65
+ matplotlib/__pycache__/patches.cpython-312.pyc,,
66
+ matplotlib/__pycache__/path.cpython-312.pyc,,
67
+ matplotlib/__pycache__/patheffects.cpython-312.pyc,,
68
+ matplotlib/__pycache__/pylab.cpython-312.pyc,,
69
+ matplotlib/__pycache__/pyplot.cpython-312.pyc,,
70
+ matplotlib/__pycache__/quiver.cpython-312.pyc,,
71
+ matplotlib/__pycache__/rcsetup.cpython-312.pyc,,
72
+ matplotlib/__pycache__/sankey.cpython-312.pyc,,
73
+ matplotlib/__pycache__/scale.cpython-312.pyc,,
74
+ matplotlib/__pycache__/spines.cpython-312.pyc,,
75
+ matplotlib/__pycache__/stackplot.cpython-312.pyc,,
76
+ matplotlib/__pycache__/streamplot.cpython-312.pyc,,
77
+ matplotlib/__pycache__/table.cpython-312.pyc,,
78
+ matplotlib/__pycache__/texmanager.cpython-312.pyc,,
79
+ matplotlib/__pycache__/text.cpython-312.pyc,,
80
+ matplotlib/__pycache__/textpath.cpython-312.pyc,,
81
+ matplotlib/__pycache__/ticker.cpython-312.pyc,,
82
+ matplotlib/__pycache__/transforms.cpython-312.pyc,,
83
+ matplotlib/__pycache__/typing.cpython-312.pyc,,
84
+ matplotlib/__pycache__/units.cpython-312.pyc,,
85
+ matplotlib/__pycache__/widgets.cpython-312.pyc,,
86
+ matplotlib/_afm.py,sha256=l46JeOQkEGId4DblorgmEekC8yHG26pfGDZKbkJZJzY,16637
87
+ matplotlib/_animation_data.py,sha256=JJJbbc-fMdPjkbQ7ng9BHL5i91VTDHQVTtEdWOvWBAI,7986
88
+ matplotlib/_api/__init__.py,sha256=fiYs7djOGhZgwuLKpjresHjCnja9VBuOb3c8_tTDx4I,17391
89
+ matplotlib/_api/__init__.pyi,sha256=2DfbEED4eeE5pEjHUFo9EgSN1UnediUYcYlwG8dCzMc,2322
90
+ matplotlib/_api/__pycache__/__init__.cpython-312.pyc,,
91
+ matplotlib/_api/__pycache__/deprecation.cpython-312.pyc,,
92
+ matplotlib/_api/deprecation.py,sha256=Nk0GmpvN8rEPL2QSIHF7qqTlybjiX74VDNmJXy-FQtI,20733
93
+ matplotlib/_api/deprecation.pyi,sha256=A8De57amX2GlZSrDYwVYCMxHFb8AsYGrH0k_bCxuJus,2217
94
+ matplotlib/_blocking_input.py,sha256=VHNsxvX2mTx_xBknd30MSicVlRXS4dCDe9hDctbV5rk,1224
95
+ matplotlib/_c_internal_utils.cpython-312-x86_64-linux-gnu.so,sha256=ekdE5NTdHv6MNv8pKP9oEcPwzCule8suhszoKFhtLH4,266840
96
+ matplotlib/_c_internal_utils.pyi,sha256=Z3bLs9pMGXrmZjt-4_A-x4321bLP-B54xDbr4PIgUfc,377
97
+ matplotlib/_cm.py,sha256=RNyeDygB0aBKSryfiLvqZy688uH9nvxPrEno_qntT5Y,70285
98
+ matplotlib/_cm_bivar.py,sha256=RSIt5eWusEBkKSEYFq5h6MGlViWbEd7UQJLRlr8hz9w,95704
99
+ matplotlib/_cm_listed.py,sha256=3a02mPUSnOsXkqRFNxKGwIvJCAKY5lezBUrqGcllnvk,135004
100
+ matplotlib/_cm_multivar.py,sha256=0UjNFW7Sytj1t31QD99ebfr-al7NmCpWhKUOyq9VzK8,6630
101
+ matplotlib/_color_data.py,sha256=k-wdTi6ArJxksqBfMT-7Uy2qWz8XX4Th5gsjf32CwmM,34780
102
+ matplotlib/_color_data.pyi,sha256=RdBRk01yuf3jYVlCwG351tIBCxehizkZMnKs9c8gnOw,170
103
+ matplotlib/_constrained_layout.py,sha256=uEH1lnCZz_FRmp2aGtt3iDPHGUw6Sdb38r-Gve82tR4,33041
104
+ matplotlib/_docstring.py,sha256=u9yJorJidI8k1W8S01SIMqNmh5VOMVc-AqyES66EEdk,4435
105
+ matplotlib/_docstring.pyi,sha256=Tr9ApmZkmt5HjoTf1IC4X13Nvjna_eW-yLQd5llCK8g,725
106
+ matplotlib/_enums.py,sha256=ERb2JYSEfGdxqXqDlF97WGP4LT-B79k3rDu0KimVeWk,6175
107
+ matplotlib/_enums.pyi,sha256=EqmZXhvqknq8WKey2susXmbIzq07O114jJ0RoWo6Qfg,302
108
+ matplotlib/_fontconfig_pattern.py,sha256=LdC1dyLFbYFGcvpr6K_YcFpC8imHXOgJhli1Db-eaKQ,4368
109
+ matplotlib/_image.cpython-312-x86_64-linux-gnu.so,sha256=Z2y1oTZWjA5ero3xsJobGmL9yFKcJKGNM9O7GcRWL1Y,602368
110
+ matplotlib/_image.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
111
+ matplotlib/_internal_utils.py,sha256=nhK6LLWYW93fBcsFiO09JmqFj2rgHEsGYFOeaC7HRKw,2140
112
+ matplotlib/_layoutgrid.py,sha256=mFB9asZVol2aV9hLBpdntuG5x1isKUrajF-3TUhCgso,21676
113
+ matplotlib/_mathtext.py,sha256=_2bkK1whMKjj8EJJ2BkcJPQzxCiS-KDF1m1VJnSNYTI,118542
114
+ matplotlib/_mathtext_data.py,sha256=kNTK1Yzh8bJoLqeFEDrVqG4qNDltAqqzhqDM8ZORC2w,68787
115
+ matplotlib/_path.cpython-312-x86_64-linux-gnu.so,sha256=pXZiJlZbSmX7WMnB32C7FPxdIz3kG-W8TShCk2B-uIk,506712
116
+ matplotlib/_path.pyi,sha256=YQm2xn97KT0x2sieHfZJqd3Qz2bxpgDPMzjWmtlxxzs,261
117
+ matplotlib/_pylab_helpers.py,sha256=7Wcmb39shcllnTI_uICKW0vMB7kI8cZr8mQ8xgh70IM,4424
118
+ matplotlib/_pylab_helpers.pyi,sha256=7OZKr-OL3ipVt1EDZ6e-tRwHASz-ijYfcIdlPczXhvQ,1012
119
+ matplotlib/_qhull.cpython-312-x86_64-linux-gnu.so,sha256=47QOUdYua5EdnBWS6KSt0znhTjCXw4GNXXdKNQWacHo,755864
120
+ matplotlib/_qhull.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
121
+ matplotlib/_style_helpers.py,sha256=LeTjS0RQLrTo5PosTsFXg1zukGCSMpzJLWiRCUHGPow,1781
122
+ matplotlib/_text_helpers.py,sha256=CxOPGLxlj0xcI9mZPS0G6pJiHWlShVjnHSF05RqPzK0,1600
123
+ matplotlib/_tight_bbox.py,sha256=sswNaE9IcVwIvhUQfAUq3CdJZYusKWeXKz-Dw0JXy2s,2821
124
+ matplotlib/_tight_layout.py,sha256=A3vZKBmxci7w35OO9lxgfUqrRKgTr-N_dUza0M05WxE,12675
125
+ matplotlib/_tri.cpython-312-x86_64-linux-gnu.so,sha256=I3MjU7yHCOV9arqu7PFJos_hX6V0xS3qT8VNmPdHk_s,439264
126
+ matplotlib/_tri.pyi,sha256=bFnu97pIlSboJT3ijQBw4YlZdlR1UzXYtI3DkEPVzeM,1429
127
+ matplotlib/_type1font.py,sha256=3n-dlsUP35U4CLBTmx28P7Tsdc4rxNnaURZi9xIFzr8,41640
128
+ matplotlib/_version.py,sha256=KMmUcoybTFMzT_WAH2Kkg4xeBOm8OGLzSre1hxnJMwg,19
129
+ matplotlib/animation.py,sha256=ZKnd2PEj-yq_3fXdSwgzpH0UDup4Uiwn7U1_L6IhTdI,74106
130
+ matplotlib/animation.pyi,sha256=Uf4_f8vqu585xcpppq4__MwQgy9k6VIFltI_tcQXcMA,6833
131
+ matplotlib/artist.py,sha256=xVqB2G22CreyL81ucEAaqEVY3l0bpuQKFsYPbx8Dvno,65786
132
+ matplotlib/artist.pyi,sha256=cdWcuxzI_0BWm1Ij4XtPanAhClmXJywV2eYdEwBUgro,7321
133
+ matplotlib/axes/__init__.py,sha256=aHE_zIjphIJkW4_1fyoFuEWTb7gCRewK5jNZWJHEdgM,351
134
+ matplotlib/axes/__init__.pyi,sha256=HP1z2v-PboHQS4dQjvJ7XjUjX-zw6taZRTTB9oVKwYE,303
135
+ matplotlib/axes/__pycache__/__init__.cpython-312.pyc,,
136
+ matplotlib/axes/__pycache__/_axes.cpython-312.pyc,,
137
+ matplotlib/axes/__pycache__/_base.cpython-312.pyc,,
138
+ matplotlib/axes/__pycache__/_secondary_axes.cpython-312.pyc,,
139
+ matplotlib/axes/_axes.py,sha256=9h4ctDV17KcLAcnIDxbTAV6RqBAf6c4Mw_3D2ARByKc,372902
140
+ matplotlib/axes/_axes.pyi,sha256=DwqzbqB89ftBVvsboIBVK45nRfQmhy8whwPEEvfy_Ec,27942
141
+ matplotlib/axes/_base.py,sha256=zv9NL6m9mesUUaJ4Er7zQ5AjhN1ZKpuEgvMbLqxV82s,197935
142
+ matplotlib/axes/_base.pyi,sha256=76nYL7r3HGwbyjMs_95fzvAuZsiPi2Bxdqjo1t4uysU,17533
143
+ matplotlib/axes/_secondary_axes.py,sha256=sqqq4HfgP_ZTjRpL-KacNHbu0OJxIKpWfeE4x5RZmpM,12922
144
+ matplotlib/axes/_secondary_axes.pyi,sha256=SygaC_w29AbGAfBnwSKcltPBkaZUQclS42XDB9OmGaU,1782
145
+ matplotlib/axis.py,sha256=97_5nSz_rnfnXuoPuUKi3Q0PwoxwLsy1QGkbynNkMrA,111990
146
+ matplotlib/axis.pyi,sha256=pztTaGoPJ424AHZyE9iHo5NPvl_EjERgykTIgr5osbU,10246
147
+ matplotlib/backend_bases.py,sha256=orFH-xSdiGL62HSZH3mmHPdto0d9_VivmXVaj5-AwHQ,138490
148
+ matplotlib/backend_bases.pyi,sha256=233bGo5OUYb9mQxKw5yArCzPwPCKcD8X0dSbyYAftt4,17357
149
+ matplotlib/backend_managers.py,sha256=RQheCO_cQBlaWsYMbAmswu0UPKU7bmLTI5LEFgotklA,11795
150
+ matplotlib/backend_managers.pyi,sha256=agnuM0wiZRqSgqti2AgbKJijRLvEPNLOrSY8PEwLjFE,2253
151
+ matplotlib/backend_tools.py,sha256=CvRSLGYETQAs8ryoJ4gizeJOj7QLzbWPfSlT17AciHY,33379
152
+ matplotlib/backend_tools.pyi,sha256=T6q9_VHSF9Ca7yY2FJT6Fqbp0e5flzXFPU4g6UmjraU,4142
153
+ matplotlib/backends/__init__.py,sha256=JowJe-tDrUBMNJTiJATgiEuACpgdxsKnRCYa-nC255A,206
154
+ matplotlib/backends/__pycache__/__init__.cpython-312.pyc,,
155
+ matplotlib/backends/__pycache__/_backend_gtk.cpython-312.pyc,,
156
+ matplotlib/backends/__pycache__/_backend_pdf_ps.cpython-312.pyc,,
157
+ matplotlib/backends/__pycache__/_backend_tk.cpython-312.pyc,,
158
+ matplotlib/backends/__pycache__/backend_agg.cpython-312.pyc,,
159
+ matplotlib/backends/__pycache__/backend_cairo.cpython-312.pyc,,
160
+ matplotlib/backends/__pycache__/backend_gtk3.cpython-312.pyc,,
161
+ matplotlib/backends/__pycache__/backend_gtk3agg.cpython-312.pyc,,
162
+ matplotlib/backends/__pycache__/backend_gtk3cairo.cpython-312.pyc,,
163
+ matplotlib/backends/__pycache__/backend_gtk4.cpython-312.pyc,,
164
+ matplotlib/backends/__pycache__/backend_gtk4agg.cpython-312.pyc,,
165
+ matplotlib/backends/__pycache__/backend_gtk4cairo.cpython-312.pyc,,
166
+ matplotlib/backends/__pycache__/backend_macosx.cpython-312.pyc,,
167
+ matplotlib/backends/__pycache__/backend_mixed.cpython-312.pyc,,
168
+ matplotlib/backends/__pycache__/backend_nbagg.cpython-312.pyc,,
169
+ matplotlib/backends/__pycache__/backend_pdf.cpython-312.pyc,,
170
+ matplotlib/backends/__pycache__/backend_pgf.cpython-312.pyc,,
171
+ matplotlib/backends/__pycache__/backend_ps.cpython-312.pyc,,
172
+ matplotlib/backends/__pycache__/backend_qt.cpython-312.pyc,,
173
+ matplotlib/backends/__pycache__/backend_qt5.cpython-312.pyc,,
174
+ matplotlib/backends/__pycache__/backend_qt5agg.cpython-312.pyc,,
175
+ matplotlib/backends/__pycache__/backend_qt5cairo.cpython-312.pyc,,
176
+ matplotlib/backends/__pycache__/backend_qtagg.cpython-312.pyc,,
177
+ matplotlib/backends/__pycache__/backend_qtcairo.cpython-312.pyc,,
178
+ matplotlib/backends/__pycache__/backend_svg.cpython-312.pyc,,
179
+ matplotlib/backends/__pycache__/backend_template.cpython-312.pyc,,
180
+ matplotlib/backends/__pycache__/backend_tkagg.cpython-312.pyc,,
181
+ matplotlib/backends/__pycache__/backend_tkcairo.cpython-312.pyc,,
182
+ matplotlib/backends/__pycache__/backend_webagg.cpython-312.pyc,,
183
+ matplotlib/backends/__pycache__/backend_webagg_core.cpython-312.pyc,,
184
+ matplotlib/backends/__pycache__/backend_wx.cpython-312.pyc,,
185
+ matplotlib/backends/__pycache__/backend_wxagg.cpython-312.pyc,,
186
+ matplotlib/backends/__pycache__/backend_wxcairo.cpython-312.pyc,,
187
+ matplotlib/backends/__pycache__/qt_compat.cpython-312.pyc,,
188
+ matplotlib/backends/__pycache__/registry.cpython-312.pyc,,
189
+ matplotlib/backends/_backend_agg.cpython-312-x86_64-linux-gnu.so,sha256=7MZKr6D1ttC5KrSaEQkl3E8eqPkGiTVcd9lsCNjIYTo,789856
190
+ matplotlib/backends/_backend_agg.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
191
+ matplotlib/backends/_backend_gtk.py,sha256=73YLOI6Ztewd_c0cPkvBPxA2FFXeHJKtv9ie8F_HTBg,11318
192
+ matplotlib/backends/_backend_pdf_ps.py,sha256=8nd42_khjFna-WORMUEZ_9w634YF5-GkLmL3FSePiJQ,15792
193
+ matplotlib/backends/_backend_tk.py,sha256=mmVLWw8cmDyahEUocxnBcKPriG2cbhrM8NgHeuW-h7s,45650
194
+ matplotlib/backends/_macosx.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
195
+ matplotlib/backends/_tkagg.cpython-312-x86_64-linux-gnu.so,sha256=S_Oz4ha4SRKrhKPgA96d4I5ssGdVYRUA2d1GDd9mzXI,291288
196
+ matplotlib/backends/_tkagg.pyi,sha256=1yKnYKSgNFesrb0ZI5RQCyTO4zONgHW5MrJ9vq4HzyI,379
197
+ matplotlib/backends/backend_agg.py,sha256=P5kuN0MFrkD7qjap2ndigyGWGWpeQHJMHOii4GuC5GM,23121
198
+ matplotlib/backends/backend_cairo.py,sha256=Dv6HQX1fsNXAsKF3_28iXT8cuGbsPpL1CiRIXeYOFHQ,18623
199
+ matplotlib/backends/backend_gtk3.py,sha256=qWjAZOCIM6tppqd2qpS2JfRtSpHAN2sVvaCu_7UeqKE,22399
200
+ matplotlib/backends/backend_gtk3agg.py,sha256=aFJw05L5V-FyFSj_20l_FuC5piPf8fhKzft_m1NMhYc,2463
201
+ matplotlib/backends/backend_gtk3cairo.py,sha256=zPsJzVm750if2LiQ9ybzsbX0rBhkP05XVvR9Lhz65so,1392
202
+ matplotlib/backends/backend_gtk4.py,sha256=9hbYj5P6-bA2_3iLPUue1cdT0BvMzeSWA6bwXsWgG-o,23690
203
+ matplotlib/backends/backend_gtk4agg.py,sha256=00i3qpIt9Tcf_S74GOWbeckiPlfVJoQ2pBbhXDMthF0,1262
204
+ matplotlib/backends/backend_gtk4cairo.py,sha256=sqWm3WgfNO8EsBjqzsD4U4cAc0f4q5SufYx7ZJacDf0,1125
205
+ matplotlib/backends/backend_macosx.py,sha256=Gjbu1MKXIZpCM_luMG6U7qDgwotcGSegCvYw-NNWxeQ,7397
206
+ matplotlib/backends/backend_mixed.py,sha256=qfuFnC8FrlwUnjh13krzLbW3KoSsC4KmeOfmnuXXWg8,4837
207
+ matplotlib/backends/backend_nbagg.py,sha256=ubhMhxfsv6-6cy8ip8SvGEn2pc9XgqilvH_MVYYdbKE,8026
208
+ matplotlib/backends/backend_pdf.py,sha256=gSxmt_P6-pxdUr1BSvn5g4Wvt2LmP5yYT81c-numCS0,102799
209
+ matplotlib/backends/backend_pgf.py,sha256=XYfcRUAABOAS_REh8gQLEZsEK7fSL-VSzJBWtx2WwBk,40667
210
+ matplotlib/backends/backend_ps.py,sha256=oXyXS-pGBrF8ik5EnwNjRhk0miaQZ4ESVeYmzkuCheU,52915
211
+ matplotlib/backends/backend_qt.py,sha256=L07xkywLyhyan2uG-upPrqsHqQjC4WTkBJAoUhjcP0U,46470
212
+ matplotlib/backends/backend_qt5.py,sha256=kzfoo2ksEGsiWAa2LGtZYzKvfzqJJWyGOohohcRAu1g,787
213
+ matplotlib/backends/backend_qt5agg.py,sha256=Vh7H8kqWH4X8a3VX2XZ2Vze9srwJavkNHAZxdJUz_bk,352
214
+ matplotlib/backends/backend_qt5cairo.py,sha256=Go2Y0GVkXh1xh6x4F255_e5Xbwwws-OiD1Fc0805E78,292
215
+ matplotlib/backends/backend_qtagg.py,sha256=ZjPtp5wR6tZGjbngPXRdVXYRhiPPrc5C0q2DmtdRkpY,3413
216
+ matplotlib/backends/backend_qtcairo.py,sha256=e3SUG50VGqo68eS_8ebTCVQPa4AaxLxuo1JiWX4TIWg,1770
217
+ matplotlib/backends/backend_svg.py,sha256=xIl3W5iR8Yv7MbcG5yQG2iZ6m1IDOl0f1g5ZIwxI1WU,51636
218
+ matplotlib/backends/backend_template.py,sha256=qhWvXGiPeO2jvH61L3NCRYLReo--d4WJrQYanIaEmiE,8012
219
+ matplotlib/backends/backend_tkagg.py,sha256=z9gB16fq2d-DUNpbeSDDLWaYmc0Jz3cDqNlBKhnQg0c,592
220
+ matplotlib/backends/backend_tkcairo.py,sha256=OZWmYs0nvs1qp0OEkhZhhIbXkwBbK6frP0VDik7fu78,859
221
+ matplotlib/backends/backend_webagg.py,sha256=jQhB9JA5tXcRwm6_7qlBg2-Q8_y-5hnv2IUNBPpCSbA,11014
222
+ matplotlib/backends/backend_webagg_core.py,sha256=xJDU2egrWAGvHf9DU7HNP_HB_HLIY5I5aWyITjFN_o8,19622
223
+ matplotlib/backends/backend_wx.py,sha256=lxysP5Z1cnw5ccbgoacQ5xIUiu4KJ8bEtbPlKvFe5hA,51826
224
+ matplotlib/backends/backend_wxagg.py,sha256=tzcwYyW34j4LPfHm9uhuHwepwZIcspi3y8oPC8FJkdk,1468
225
+ matplotlib/backends/backend_wxcairo.py,sha256=7pojY9Q9So6bShbiZgjzAo3cP3cBX0iGT6u8c_h94zc,868
226
+ matplotlib/backends/qt_compat.py,sha256=hwZ78jPuXdKuU71aqqDZqCXYBEeNnfwzkZaGQeaH_9c,5381
227
+ matplotlib/backends/qt_editor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
228
+ matplotlib/backends/qt_editor/__pycache__/__init__.cpython-312.pyc,,
229
+ matplotlib/backends/qt_editor/__pycache__/_formlayout.cpython-312.pyc,,
230
+ matplotlib/backends/qt_editor/__pycache__/figureoptions.cpython-312.pyc,,
231
+ matplotlib/backends/qt_editor/_formlayout.py,sha256=QmqqqLO6waqeSGOKjDNUwjvon53Z7yqil5AfqfftDWY,20953
232
+ matplotlib/backends/qt_editor/figureoptions.py,sha256=foEm2WLOjiephUZwGT3XjPJ3Q4IGHC2GMcxzMgrQQ50,9855
233
+ matplotlib/backends/registry.py,sha256=M2BHhBKbUJ8E2B2QExfVf8NbAK4ZFhJtmKRelBZZDh4,15480
234
+ matplotlib/backends/web_backend/all_figures.html,sha256=44Y-GvIJbNlqQaKSW3kwVKpTxBSG1WsdYz3ZmYHlUsA,1753
235
+ matplotlib/backends/web_backend/css/boilerplate.css,sha256=qui16QXRnQFNJDbcMasfH6KtN9hLjv8883U9cJmsVCE,2310
236
+ matplotlib/backends/web_backend/css/fbm.css,sha256=wa4vNkNv7fQ_TufjJjecFZEzPMR6W8x6uXJga_wQILw,1456
237
+ matplotlib/backends/web_backend/css/mpl.css,sha256=ruca_aA5kNnP-MZmLkriu8teVP1nIgwcFEpoB16j8Z4,1611
238
+ matplotlib/backends/web_backend/css/page.css,sha256=ca3nO3TaPw7865PN5SlGJBTc2H3rBXQCMaFPywX29y4,1623
239
+ matplotlib/backends/web_backend/ipython_inline_figure.html,sha256=wgSxUh3xpPAxOnZgSMnrhDM5hYncOfWRGgaCUezvedY,1311
240
+ matplotlib/backends/web_backend/js/mpl.js,sha256=OMt_21axoqQKoVf9ttijR_2M1jOH7id0Q69sQfwZ_y4,25140
241
+ matplotlib/backends/web_backend/js/mpl_tornado.js,sha256=Zs2Uzs7YUilG765nYvanCo-IK8HkHDtIum1KAq6bQ_w,302
242
+ matplotlib/backends/web_backend/js/nbagg_mpl.js,sha256=F-By4ZjOSmwpNAkxUUxUk35qCjGlf0B28Z0aOyfpxDM,9514
243
+ matplotlib/backends/web_backend/single_figure.html,sha256=wEBwF602JLHErBUEXiS6jXqmxYAIzHpa3MMFrnev6rs,1357
244
+ matplotlib/bezier.py,sha256=Y8NbgCpFxxR6PGJoPygGbA_IXsYyLwIlfvLAAfi4pU4,21728
245
+ matplotlib/bezier.pyi,sha256=k3lxqCXHmi2fEb5M1spj1WVsxvswA_pKdzN0obDbXYw,2646
246
+ matplotlib/category.py,sha256=UsZ8rbADAH96YfpjD-N1DLTcS_cQwlszIIQ2ZRaiWm4,7377
247
+ matplotlib/cbook.py,sha256=5__IsdXDiSqyi7LcznGSTfYZLQZ0AjyNiR-ZmUuGNkM,85524
248
+ matplotlib/cbook.pyi,sha256=TCYTGVX6XTW9FEm2wq34NhkUPS1PisfUmrXw7POMrxQ,6398
249
+ matplotlib/cm.py,sha256=pdc7wmRcuzs0FJD2j5BCaDznEM1qie_UwL9QUtJ066o,8206
250
+ matplotlib/cm.pyi,sha256=PorGgiFbQOUvgzzAHe7OKQK7wk65sUoPRH9jNNeZMzg,5412
251
+ matplotlib/collections.py,sha256=x33nwk7hg1OgUasmeWW2uHKwHEcoSbBoviiWyMPjoKI,103408
252
+ matplotlib/collections.pyi,sha256=3GZ2nE8BJ2EfmwZjs9uAqqWccExx_JJUjjvm-A-Z314,11039
253
+ matplotlib/colorbar.py,sha256=Cn8ku-sSVcwrim5Lit4UZJOXohozTnABfIIJOfEkrZM,61667
254
+ matplotlib/colorbar.pyi,sha256=1o4F2DlVXp-roRz6Ko3f9STcW5U_QKLFolhtRHItgdk,4968
255
+ matplotlib/colorizer.py,sha256=-WhzNI0-iVuctG72HSn6Chmy608o0q2JB2LYC3a3eGg,33983
256
+ matplotlib/colorizer.pyi,sha256=tnMrZDj_AZgs3kYDmhnD4YcRdcJ4S0kaWG9wpWab2EI,3245
257
+ matplotlib/colors.py,sha256=70Fz-egxC8dXFOMsOFVxnCeRbGxlG1yU458AFjhCzwQ,159006
258
+ matplotlib/colors.pyi,sha256=FELbV30Fwm1dq39H8Zmc05RniFLoDZ2ykDu2aDgcVkg,17918
259
+ matplotlib/container.py,sha256=Uex9WGmNxaBu8znJ4IlYMrEF0POmE7uAnCWpSe3kRuQ,8132
260
+ matplotlib/container.pyi,sha256=7CZg-lyczPGuT0XRxhES4TDoWYyVwzpH8yQXLmbzXG0,2461
261
+ matplotlib/contour.py,sha256=R1r2-rHgzXi-QPQ1OvqnZovOW2HZUVMKkXNlKKdNksg,70635
262
+ matplotlib/contour.pyi,sha256=X6v5bBOSDIBYkFss9ODtbIdbHS5oHFytLHrwHyvLQRc,5284
263
+ matplotlib/dates.py,sha256=-41nP7xXwkmfLdE4yHxslSClmzi2CwGm1Z1etlQO8jM,66406
264
+ matplotlib/dviread.py,sha256=ek7fK2K9RUxhulY2jbcN4SBWwr6crxPpi9-qR0r5dXE,53612
265
+ matplotlib/dviread.pyi,sha256=165jDLJDuF1TMze11sh2fKBodwMQZkyzu-vELHfVxms,3364
266
+ matplotlib/figure.py,sha256=tECrClvgPLObE1KaL-xJfS2W3rCD4-VtYiBZPj7FZ9o,144757
267
+ matplotlib/figure.pyi,sha256=NsPxdMKxpiLR0oz9eflrYeku5hRChommeeZqm_1287w,15662
268
+ matplotlib/font_manager.py,sha256=0ORkvRr_jhgV03Wqi_xt0yhpl5s0jY7DuC7dYbgoh4g,65673
269
+ matplotlib/font_manager.pyi,sha256=uMp62Capj9kXcu2XOhclF90Y3NRgSGLxI8o0V_5GmDE,6172
270
+ matplotlib/ft2font.cpython-312-x86_64-linux-gnu.so,sha256=nNgs1I0jLgut5DXP8jM_x7HqANWVx3qxHnwoSCFYDZQ,2999496
271
+ matplotlib/ft2font.pyi,sha256=wbja6PlzzMyM20vX9Q-L2Ic3XHzaBPnKl45m6MECQvk,11081
272
+ matplotlib/gridspec.py,sha256=34OVMGdl2bk_mNay6GeDapsrB4bPWzmiYQMwnEMxr94,30513
273
+ matplotlib/gridspec.pyi,sha256=iw2KNGeJ8W5ggYZbF5OHxXsX0pMczHcDMaGxJbv18BY,5495
274
+ matplotlib/hatch.py,sha256=0E7gMZaFMF_vLYjjUG7sPq36e2w2eDIDuCPLj4cRyA0,8206
275
+ matplotlib/hatch.pyi,sha256=OEFkNe8TgrBli_MDMW99Tvhr44S4ySPaYQomjVXpUUA,2098
276
+ matplotlib/image.py,sha256=bh9hpUezcdqb07ILZZkakOxzs3BQT9SofRHRKTsuKnc,73960
277
+ matplotlib/image.pyi,sha256=XkbGOsJR7nIzRFgFBzivi6WU-PlHvC-9yukWiq7RYpk,7065
278
+ matplotlib/inset.py,sha256=KO-82520LcdcCaB68d3GeFdUJGgNtkvx6cDB4NZ0g9c,11281
279
+ matplotlib/inset.pyi,sha256=c-IVW14bpqb3qu7bz0EabvNXJnZwJAXEXoQoIcrL8ns,968
280
+ matplotlib/layout_engine.py,sha256=mwRNh13mIQ-wpjQVgBaB_LWKN1AiQTWldg-X9nLmVok,11433
281
+ matplotlib/layout_engine.pyi,sha256=9cKFTFPCvwmKIygTUvrvOq1iWnFYme9Shniiv2QbC74,1788
282
+ matplotlib/legend.py,sha256=F6C70yrOPrgXIWDupV-7PBSSxlnQ-AXs8DEm68sHKkQ,56894
283
+ matplotlib/legend.pyi,sha256=kfp-f2PFzqYmH61HjaoRtdyI_7JAqXIkGaB1E5qdn38,5393
284
+ matplotlib/legend_handler.py,sha256=Vy1ez79DsUnsondDgOMsqnevwL4Bh3KvjWWWEeXZv6w,29820
285
+ matplotlib/legend_handler.pyi,sha256=3VEfeioGIAxhd3mhg4PXETZjCKf4OlXL0jz1MAFGtos,7655
286
+ matplotlib/lines.py,sha256=6ShRHOwfnOGUVQCMGGPTN7Db0ccawrjUAiTI1cBp4Fw,60047
287
+ matplotlib/lines.pyi,sha256=3tG7tD8GZ8YPphw4nmkgS9SfdLV8icW36bv61jb9RlU,6081
288
+ matplotlib/markers.py,sha256=9cNxE0NveYpnr7uFXhD3Acw-aQ_J8a7A7zhDVtf8VA0,33695
289
+ matplotlib/markers.pyi,sha256=FFFBsvilnbd8-5L04U70kfVoyBwc18w_fZ6DysTj9p0,1678
290
+ matplotlib/mathtext.py,sha256=Q2PXhf35TAYkS_JElreyRBTFhmsdqDcWXKx8ICUkZ1c,5108
291
+ matplotlib/mathtext.pyi,sha256=RCVxYGQ_CJ6wC7v_HkqoouU2PhtcvlJ1ffIyxzAC-so,1045
292
+ matplotlib/mlab.py,sha256=57B_GKW0UgKb_HtGCCj0cJ2LOmw_zcIeRu4rZkxbswo,30951
293
+ matplotlib/mlab.pyi,sha256=mkR7wbJS9eCQfCFsUWoXnqrAy0kcE3cVqpFZCeOGC_Q,3583
294
+ matplotlib/mpl-data/fonts/afm/cmex10.afm,sha256=blR3ERmrVBV5XKkAnDCj4NMeYVgzH7cXtJ3u59u9GuE,12070
295
+ matplotlib/mpl-data/fonts/afm/cmmi10.afm,sha256=5qwEOpedEo76bDUahyuuF1q0cD84tRrX-VQ4p3MlfBo,10416
296
+ matplotlib/mpl-data/fonts/afm/cmr10.afm,sha256=WDvgC_D3UkGJg9u-J0U6RaT02lF4oz3lQxHtg1r3lYw,10101
297
+ matplotlib/mpl-data/fonts/afm/cmsy10.afm,sha256=AbmzvCVWBceHRfmRfeJ9E6xzOQTFLk0U1zDfpf3_MaM,8295
298
+ matplotlib/mpl-data/fonts/afm/cmti10.afm,sha256=BNnf_3S1lJdOB2RTn7pSIWaM8qBWR6Cilzw92iUzNw8,9645
299
+ matplotlib/mpl-data/fonts/afm/cmtt10.afm,sha256=4ji7_mTpeWMa93o_UHBWPKCnqsBfhJJNllat1lJArP4,6501
300
+ matplotlib/mpl-data/fonts/afm/pagd8a.afm,sha256=jjFrigwkTpYLqa26cpzZvKQNBo-PuF4bmDVqaM4pMWw,17183
301
+ matplotlib/mpl-data/fonts/afm/pagdo8a.afm,sha256=sgNQdeYyx8J-itGw9h31y95aMBiTCRvmNSPTXwwS7xg,17255
302
+ matplotlib/mpl-data/fonts/afm/pagk8a.afm,sha256=ZUtfHPloNqcvGMHMxaKDSlshhOcjwheUx143RwpGdIU,17241
303
+ matplotlib/mpl-data/fonts/afm/pagko8a.afm,sha256=Yj1wBg6Jsqqz1KBfhRoJ3ACR-CMQol8Fj_ZM5NZ1gDk,17346
304
+ matplotlib/mpl-data/fonts/afm/pbkd8a.afm,sha256=Zl5o6J_di9Y5j2EpHtjew-_sfg7-WoeVmO9PzOYSTUc,15157
305
+ matplotlib/mpl-data/fonts/afm/pbkdi8a.afm,sha256=JAOno930iTyfZILMf11vWtiaTgrJcPpP6FRTRhEMMD4,15278
306
+ matplotlib/mpl-data/fonts/afm/pbkl8a.afm,sha256=UJqJjOJ6xQDgDBLX157mKpohIJFVmHM-N6x2-DiGv14,15000
307
+ matplotlib/mpl-data/fonts/afm/pbkli8a.afm,sha256=AWislZ2hDbs0ox_qOWREugsbS8_8lpL48LPMR40qpi0,15181
308
+ matplotlib/mpl-data/fonts/afm/pcrb8a.afm,sha256=6j1TS2Uc7DWSc-8l42TGDc1u0Fg8JspeWfxFayjUwi8,15352
309
+ matplotlib/mpl-data/fonts/afm/pcrbo8a.afm,sha256=smg3mjl9QaBDtQIt06ko5GvaxLsO9QtTvYANuE5hfG0,15422
310
+ matplotlib/mpl-data/fonts/afm/pcrr8a.afm,sha256=7nxFr0Ehz4E5KG_zSE5SZOhxRH8MyfnCbw-7x5wu7tw,15339
311
+ matplotlib/mpl-data/fonts/afm/pcrro8a.afm,sha256=NKEz7XtdFkh9cA8MvY-S3UOZlV2Y_J3tMEWFFxj7QSg,15443
312
+ matplotlib/mpl-data/fonts/afm/phvb8a.afm,sha256=NAx4M4HjL7vANCJbc-tk04Vkol-T0oaXeQ3T2h-XUvM,17155
313
+ matplotlib/mpl-data/fonts/afm/phvb8an.afm,sha256=8e_myD-AQkNF7q9XNLb2m76_lX2TUr3a5wog_LIE1sk,17086
314
+ matplotlib/mpl-data/fonts/afm/phvbo8a.afm,sha256=8fkBRmJ-SWY2YrBg8fFyjJyrJp8daQ6JPO6LvhM8xPI,17230
315
+ matplotlib/mpl-data/fonts/afm/phvbo8an.afm,sha256=aeVRvV4r15BBvxuRJ0MG8ZHuH2HViuIiCYkvuapmkmM,17195
316
+ matplotlib/mpl-data/fonts/afm/phvl8a.afm,sha256=IyMYM-bgl-gI6rG0EuZZ2OLzlxJfGeSh8xqsh0t-eJQ,15627
317
+ matplotlib/mpl-data/fonts/afm/phvlo8a.afm,sha256=s12C-eNnIDHJ_UVbuiprjxBjCiHIbS3Y8ORTC-qTpuI,15729
318
+ matplotlib/mpl-data/fonts/afm/phvr8a.afm,sha256=Kt8KaRidts89EBIK29X2JomDUEDxvroeaJz_RNTi6r4,17839
319
+ matplotlib/mpl-data/fonts/afm/phvr8an.afm,sha256=lL5fAHTRwODl-sB5mH7IfsD1tnnea4yRUK-_Ca2bQHM,17781
320
+ matplotlib/mpl-data/fonts/afm/phvro8a.afm,sha256=3KqK3eejiR4hIFBUynuSX_4lMdE2V2T58xOF8lX-fwc,17919
321
+ matplotlib/mpl-data/fonts/afm/phvro8an.afm,sha256=Vx9rRf3YfasMY7tz-njSxz67xHKk-fNkN7yBi0X2IP0,17877
322
+ matplotlib/mpl-data/fonts/afm/pncb8a.afm,sha256=aoXepTcDQtQa_mspflMJkEFKefzXHoyjz6ioJVI0YNc,16028
323
+ matplotlib/mpl-data/fonts/afm/pncbi8a.afm,sha256=pCWW1MYgy0EmvwaYsaYJaAI_LfrsKmDANHu7Pk0RaiU,17496
324
+ matplotlib/mpl-data/fonts/afm/pncr8a.afm,sha256=0CIB2BLe9r-6_Wl5ObRTTf98UOrezmGQ8ZOuBX5kLks,16665
325
+ matplotlib/mpl-data/fonts/afm/pncri8a.afm,sha256=5R-pLZOnaHNG8pjV6MP3Ai-d2OTQYR_cYCb5zQhzfSU,16920
326
+ matplotlib/mpl-data/fonts/afm/pplb8a.afm,sha256=3EzUbNnXr5Ft5eFLY00W9oWu59rHORgDXUuJaOoKN58,15662
327
+ matplotlib/mpl-data/fonts/afm/pplbi8a.afm,sha256=X_9tVspvrcMer3OS8qvdwjFFqpAXYZneyCL2NHA902g,15810
328
+ matplotlib/mpl-data/fonts/afm/pplr8a.afm,sha256=ijMb497FDJ9nVdVMb21F7W3-cu9sb_9nF0oriFpSn8k,15752
329
+ matplotlib/mpl-data/fonts/afm/pplri8a.afm,sha256=8KITbarcUUMi_hdoRLLmNHtlqs0TtOSKqtPFft7X5nY,15733
330
+ matplotlib/mpl-data/fonts/afm/psyr.afm,sha256=Iyt8ajE4B2Tm34oBj2pKtctIf9kPfq05suQefq8p3Ro,9644
331
+ matplotlib/mpl-data/fonts/afm/ptmb8a.afm,sha256=bL1fA1NC4_nW14Zrnxz4nHlXJb4dzELJPvodqKnYeMg,17983
332
+ matplotlib/mpl-data/fonts/afm/ptmbi8a.afm,sha256=-_Ui6XlKaFTHEnkoS_-1GtIr5VtGa3gFQ2ezLOYHs08,18070
333
+ matplotlib/mpl-data/fonts/afm/ptmr8a.afm,sha256=IEcsWcmzJyjCwkgsw4o6hIMmzlyXUglJat9s1PZNnEU,17942
334
+ matplotlib/mpl-data/fonts/afm/ptmri8a.afm,sha256=49fQMg5fIGguZ7rgc_2styMK55Pv5bPTs7wCzqpcGpk,18068
335
+ matplotlib/mpl-data/fonts/afm/putb8a.afm,sha256=qMaHTdpkrNL-m4DWhjpxJCSmgYkCv1qIzLlFfM0rl40,21532
336
+ matplotlib/mpl-data/fonts/afm/putbi8a.afm,sha256=g7AVJyiTxeMpNk_1cSfmYgM09uNUfPlZyWGv3D1vcAk,21931
337
+ matplotlib/mpl-data/fonts/afm/putr8a.afm,sha256=XYmNC5GQgSVAZKTIYdYeNksE6znNm9GF_0SmQlriqx0,22148
338
+ matplotlib/mpl-data/fonts/afm/putri8a.afm,sha256=i7fVe-iLyLtQxCfAa4IxdxH-ufcHmMk7hbCGG5TxAY4,21891
339
+ matplotlib/mpl-data/fonts/afm/pzcmi8a.afm,sha256=wyuoIWEZOcoXrSl1tPzLkEahik7kGi91JJj-tkFRG4A,16250
340
+ matplotlib/mpl-data/fonts/afm/pzdr.afm,sha256=MyjLAnzKYRdQBfof1W3k_hf30MvqOkqL__G22mQ5xww,9467
341
+ matplotlib/mpl-data/fonts/pdfcorefonts/Courier-Bold.afm,sha256=sIDDI-B82VZ3C0mI_mHFITCZ7PVn37AIYMv1CrHX4sE,15333
342
+ matplotlib/mpl-data/fonts/pdfcorefonts/Courier-BoldOblique.afm,sha256=zg61QobD3YU9UBfCXmvmhBNaFKno-xj8sY0b2RpgfLw,15399
343
+ matplotlib/mpl-data/fonts/pdfcorefonts/Courier-Oblique.afm,sha256=vRQm5j1sTUN4hicT1PcVZ9P9DTTUHhEzfPXqUUzVZhE,15441
344
+ matplotlib/mpl-data/fonts/pdfcorefonts/Courier.afm,sha256=Mdcq2teZEBJrIqVXnsnhee7oZnTs6-P8_292kWGTrw4,15335
345
+ matplotlib/mpl-data/fonts/pdfcorefonts/Helvetica-Bold.afm,sha256=i2l4gcjuYXoXf28uK7yIVwuf0rnw6J7PwPVQeHj5iPw,69269
346
+ matplotlib/mpl-data/fonts/pdfcorefonts/Helvetica-BoldOblique.afm,sha256=Um5O6qK11DXLt8uj_0IoWkc84TKqHK3bObSKUswQqvY,69365
347
+ matplotlib/mpl-data/fonts/pdfcorefonts/Helvetica-Oblique.afm,sha256=hVYDg2b52kqtbVeCzmiv25bW1yYdpkZS-LXlGREN2Rs,74392
348
+ matplotlib/mpl-data/fonts/pdfcorefonts/Helvetica.afm,sha256=23cvKDD7bQAJB3kdjSahJSTZaUOppznlIO6FXGslyW8,74292
349
+ matplotlib/mpl-data/fonts/pdfcorefonts/Symbol.afm,sha256=P5UaoXr4y0qh4SiMa5uqijDT6ZDr2-jPmj1ayry593E,9740
350
+ matplotlib/mpl-data/fonts/pdfcorefonts/Times-Bold.afm,sha256=cQTmr2LFPwKQE_sGQageMcmFicjye16mKJslsJLHQyE,64251
351
+ matplotlib/mpl-data/fonts/pdfcorefonts/Times-BoldItalic.afm,sha256=pzWOdycm6RqocBWgAVY5Jq0z3Fp7LuqWgLNMx4q6OFw,59642
352
+ matplotlib/mpl-data/fonts/pdfcorefonts/Times-Italic.afm,sha256=bK5puSMpGT_YUILwyJrXoxjfj7XJOdfv5TQ_iKsJRzw,66328
353
+ matplotlib/mpl-data/fonts/pdfcorefonts/Times-Roman.afm,sha256=hhNrUnpazuDDKD1WpraPxqPWCYLrO7D7bMVOg-zI13o,60460
354
+ matplotlib/mpl-data/fonts/pdfcorefonts/ZapfDingbats.afm,sha256=ZuOmt9GcKofjdOq8kqhPhtAIhOwkL2rTJTmZxAjFakA,9527
355
+ matplotlib/mpl-data/fonts/pdfcorefonts/readme.txt,sha256=MRv8ppSITYYAb7lt5EOw9DWWNZIblfxsFhu5TQE7cpI,828
356
+ matplotlib/mpl-data/fonts/ttf/DejaVuSans-Bold.ttf,sha256=sYS4njwQdfIva3FXW2_CDUlys8_TsjMiym_Vltyu8Wc,704128
357
+ matplotlib/mpl-data/fonts/ttf/DejaVuSans-BoldOblique.ttf,sha256=bt8CgxYBhq9FHL7nHnuEXy5Mq_Jku5ks5mjIPCVGXm8,641720
358
+ matplotlib/mpl-data/fonts/ttf/DejaVuSans-Oblique.ttf,sha256=zN90s1DxH9PdV3TeUOXmNGoaXaH1t9X7g1kGZel6UhM,633840
359
+ matplotlib/mpl-data/fonts/ttf/DejaVuSans.ttf,sha256=P99pyr8GBJ6nCgC1kZNA4s4ebQKwzDxLRPtoAb0eDSI,756072
360
+ matplotlib/mpl-data/fonts/ttf/DejaVuSansDisplay.ttf,sha256=ggmdz7paqGjN_CdFGYlSX-MpL3N_s8ngMozpzvWWUvY,25712
361
+ matplotlib/mpl-data/fonts/ttf/DejaVuSansMono-Bold.ttf,sha256=uq2ppRcv4giGJRr_BDP8OEYZEtXa8HKH577lZiCo2pY,331536
362
+ matplotlib/mpl-data/fonts/ttf/DejaVuSansMono-BoldOblique.ttf,sha256=ppCBwVx2yCfgonpaf1x0thNchDSZlVSV_6jCDTqYKIs,253116
363
+ matplotlib/mpl-data/fonts/ttf/DejaVuSansMono-Oblique.ttf,sha256=KAUoE_enCfyJ9S0ZLcmV708P3Fw9e3OknWhJsZFtDNA,251472
364
+ matplotlib/mpl-data/fonts/ttf/DejaVuSansMono.ttf,sha256=YC7Ia4lIz82VZIL-ZPlMNshndwFJ7y95HUYT9EO87LM,340240
365
+ matplotlib/mpl-data/fonts/ttf/DejaVuSerif-Bold.ttf,sha256=w3U_Lta8Zz8VhG3EWt2-s7nIcvMvsY_VOiHxvvHtdnY,355692
366
+ matplotlib/mpl-data/fonts/ttf/DejaVuSerif-BoldItalic.ttf,sha256=2T7-x6nS6CZ2jRou6VuVhw4V4pWZqE80hK8d4c7C4YE,347064
367
+ matplotlib/mpl-data/fonts/ttf/DejaVuSerif-Italic.ttf,sha256=PnmU-8VPoQzjNSpC1Uj63X2crbacsRCbydlg9trFfwQ,345612
368
+ matplotlib/mpl-data/fonts/ttf/DejaVuSerif.ttf,sha256=EHJElW6ZYrnpb6zNxVGCXgrgiYrhNzcTPhuSGi_TX_o,379740
369
+ matplotlib/mpl-data/fonts/ttf/DejaVuSerifDisplay.ttf,sha256=KRTzLkfHd8J75Wd6-ufbTeefnkXeb8kJfZlJwjwU99U,14300
370
+ matplotlib/mpl-data/fonts/ttf/LICENSE_DEJAVU,sha256=11k43sCY8G8Kw8AIUwZdlPAgvhw8Yu8dwpdboVtNmw4,4816
371
+ matplotlib/mpl-data/fonts/ttf/LICENSE_STIX,sha256=urPTHf7wf0g2JPL2XycR52BluOcnMnixwHHt4QQcmVk,5476
372
+ matplotlib/mpl-data/fonts/ttf/LastResortHE-Regular.ttf,sha256=YMSKv8BenyujNZnE3LpAEF0eznHTdh8LJvdaOLWxeJU,564228
373
+ matplotlib/mpl-data/fonts/ttf/STIXGeneral.ttf,sha256=FnN4Ax4t3cYhbWeBnJJg6aBv_ExHjk4jy5im_USxg8I,448228
374
+ matplotlib/mpl-data/fonts/ttf/STIXGeneralBol.ttf,sha256=6FM9xwg_o0a9oZM9YOpKg7Z9CUW86vGzVB-CtKDixqA,237360
375
+ matplotlib/mpl-data/fonts/ttf/STIXGeneralBolIta.ttf,sha256=mHiP1LpI37sr0CbA4gokeosGxzcoeWKLemuw1bsJc2w,181152
376
+ matplotlib/mpl-data/fonts/ttf/STIXGeneralItalic.ttf,sha256=bPyzM9IrfDxiO9_UAXTxTIXD1nMcphZsHtyAFA6uhSc,175040
377
+ matplotlib/mpl-data/fonts/ttf/STIXNonUni.ttf,sha256=Ulb34CEzWsSFTRgPDovxmJZOwvyCAXYnbhaqvGU3u1c,59108
378
+ matplotlib/mpl-data/fonts/ttf/STIXNonUniBol.ttf,sha256=XRBqW3jR_8MBdFU0ObhiV7-kXwiBIMs7QVClHcT5tgs,30512
379
+ matplotlib/mpl-data/fonts/ttf/STIXNonUniBolIta.ttf,sha256=pb22DnbDf2yQqizotc3wBDqFGC_g27YcCGJivH9-Le8,41272
380
+ matplotlib/mpl-data/fonts/ttf/STIXNonUniIta.ttf,sha256=BMr9pWiBv2YIZdq04X4c3CgL6NPLUPrl64aV1N4w9Ug,46752
381
+ matplotlib/mpl-data/fonts/ttf/STIXSizFiveSymReg.ttf,sha256=wYuH1gYUpCuusqItRH5kf9p_s6mUD-9X3L5RvRtKSxs,13656
382
+ matplotlib/mpl-data/fonts/ttf/STIXSizFourSymBol.ttf,sha256=yNdvjUoSmsZCULmD7SVq9HabndG9P4dPhboL1JpAf0s,12228
383
+ matplotlib/mpl-data/fonts/ttf/STIXSizFourSymReg.ttf,sha256=-9xVMYL4_1rcO8FiCKrCfR4PaSmKtA42ddLGqwtei1w,15972
384
+ matplotlib/mpl-data/fonts/ttf/STIXSizOneSymBol.ttf,sha256=cYexyo8rZcdqMlpa9fNF5a2IoXLUTZuIvh0JD1Qp0i4,12556
385
+ matplotlib/mpl-data/fonts/ttf/STIXSizOneSymReg.ttf,sha256=0lbHzpndzJmO8S42mlkhsz5NbvJLQCaH5Mcc7QZRDzc,19760
386
+ matplotlib/mpl-data/fonts/ttf/STIXSizThreeSymBol.ttf,sha256=3eBc-VtYbhQU3BnxiypfO6eAzEu8BdDvtIJSFbkS2oY,12192
387
+ matplotlib/mpl-data/fonts/ttf/STIXSizThreeSymReg.ttf,sha256=XFSKCptbESM8uxHtUFSAV2cybwxhSjd8dWVByq6f3w0,15836
388
+ matplotlib/mpl-data/fonts/ttf/STIXSizTwoSymBol.ttf,sha256=MUCYHrA0ZqFiSE_PjIGlJZgMuv79aUgQqE7Dtu3kuo0,12116
389
+ matplotlib/mpl-data/fonts/ttf/STIXSizTwoSymReg.ttf,sha256=_sdxDuEwBDtADpu9CyIXQxV7sIqA2TZVBCUiUjq5UCk,15704
390
+ matplotlib/mpl-data/fonts/ttf/cmb10.ttf,sha256=B0SXtQxD6ldZcYFZH5iT04_BKofpUQT1ZX_CSB9hojo,25680
391
+ matplotlib/mpl-data/fonts/ttf/cmex10.ttf,sha256=ryjwwXByOsd2pxv6WVrKCemNFa5cPVTOGa_VYZyWqQU,21092
392
+ matplotlib/mpl-data/fonts/ttf/cmmi10.ttf,sha256=MJKWW4gR_WpnZXmWZIRRgfwd0TMLk3-RWAjEhdMWI00,32560
393
+ matplotlib/mpl-data/fonts/ttf/cmr10.ttf,sha256=Tdl2GwWMAJ25shRfVe5mF9CTwnPdPWxbPkP_YRD6m_Y,26348
394
+ matplotlib/mpl-data/fonts/ttf/cmss10.ttf,sha256=ffkag9BbLkcexjjLC0NaNgo8eSsJ_EKn2mfpHy55EVo,20376
395
+ matplotlib/mpl-data/fonts/ttf/cmsy10.ttf,sha256=uyJu2TLz8QDNDlL15JEu5VO0G2nnv9uNOFTbDrZgUjI,29396
396
+ matplotlib/mpl-data/fonts/ttf/cmti10.ttf,sha256=-fH59lQwiugve-REGuibCAiWs0zCILvqFzxemtz-Pvc,32808
397
+ matplotlib/mpl-data/fonts/ttf/cmtt10.ttf,sha256=YhHwmuk1mZka_alwwkZp2tGnfiU9kVYk-_IS9wLwcdc,28136
398
+ matplotlib/mpl-data/images/back-symbolic.svg,sha256=Okj_ressZkfe6Ewv_o7GF5toc5qWCeFkQ2cHQ25BdVE,1532
399
+ matplotlib/mpl-data/images/back.pdf,sha256=ZR7CJo_dAeCM-KlaGvskgtHQyRtrPIolc8REOmcoqJk,1623
400
+ matplotlib/mpl-data/images/back.png,sha256=E4dGf4Gnz1xJ1v2tMygHV0YNQgShreDeVApaMb-74mU,380
401
+ matplotlib/mpl-data/images/back.svg,sha256=Okj_ressZkfe6Ewv_o7GF5toc5qWCeFkQ2cHQ25BdVE,1532
402
+ matplotlib/mpl-data/images/back_large.png,sha256=9A6hUSQeszhYONE4ZuH3kvOItM0JfDVu6tkfromCbsQ,620
403
+ matplotlib/mpl-data/images/filesave-symbolic.svg,sha256=dMGXvLSOHPu44kiWgZx-B_My_tLWaP6J6GgxJfL4FW0,2049
404
+ matplotlib/mpl-data/images/filesave.pdf,sha256=P1EPPV2g50WTt8UaX-6kFoTZM1xVqo6S2H6FJ6Zd1ec,1734
405
+ matplotlib/mpl-data/images/filesave.png,sha256=b7ctucrM_F2mG-DycTedG_a_y4pHkx3F-zM7l18GLhk,458
406
+ matplotlib/mpl-data/images/filesave.svg,sha256=dMGXvLSOHPu44kiWgZx-B_My_tLWaP6J6GgxJfL4FW0,2049
407
+ matplotlib/mpl-data/images/filesave_large.png,sha256=LNbRD5KZ3Kf7nbp-stx_a1_6XfGBSWUfDdpgmnzoRvk,720
408
+ matplotlib/mpl-data/images/forward-symbolic.svg,sha256=kOiKq3a4mieMRLVCwQBdOMTRrWG2NOX_5-rbAFHpdmQ,1551
409
+ matplotlib/mpl-data/images/forward.pdf,sha256=KIqIL4YId43LkcOxV_TT5uvz1SP8k5iUNUeJmAElMV8,1630
410
+ matplotlib/mpl-data/images/forward.png,sha256=pKbLepgGiGeyY2TCBl8svjvm7Z4CS3iysFxcq4GR-wk,357
411
+ matplotlib/mpl-data/images/forward.svg,sha256=kOiKq3a4mieMRLVCwQBdOMTRrWG2NOX_5-rbAFHpdmQ,1551
412
+ matplotlib/mpl-data/images/forward_large.png,sha256=36h7m7DZDHql6kkdpNPckyi2LKCe_xhhyavWARz_2kQ,593
413
+ matplotlib/mpl-data/images/hand.pdf,sha256=hspwkNY915KPD7AMWnVQs7LFPOtlcj0VUiLu76dMabQ,4172
414
+ matplotlib/mpl-data/images/hand.png,sha256=2cchRETGKa0hYNKUxnJABwkyYXEBPqJy_VqSPlT0W2Q,979
415
+ matplotlib/mpl-data/images/hand.svg,sha256=hxxBtakaVFA7mpZOGakvo0QUcb2x06rojeS5gnVmyuc,4906
416
+ matplotlib/mpl-data/images/help-symbolic.svg,sha256=XVcFcuzcL3SQ3LjfSbtdLYDjoB5YUkj2jk2Gk8vaZF8,1890
417
+ matplotlib/mpl-data/images/help.pdf,sha256=CeE978IMi0YWznWKjIT1R8IrP4KhZ0S7usPUvreSgcA,1813
418
+ matplotlib/mpl-data/images/help.png,sha256=s4pQrqaQ0py8I7vc9hv3BI3DO_tky-7YBMpaHuBDCBY,472
419
+ matplotlib/mpl-data/images/help.svg,sha256=XVcFcuzcL3SQ3LjfSbtdLYDjoB5YUkj2jk2Gk8vaZF8,1890
420
+ matplotlib/mpl-data/images/help_large.png,sha256=1IwEyWfGRgnoCWM-r9CJHEogTJVD5n1c8LXTK4AJ4RE,747
421
+ matplotlib/mpl-data/images/home-symbolic.svg,sha256=ptrus8h5PZTi9ahYfnaz-uZ8MAHCr72aPeMW48TBR9Q,1911
422
+ matplotlib/mpl-data/images/home.pdf,sha256=e0e0pI-XRtPmvUCW2VTKL1DeYu1pvPmUUeRSgEbWmik,1737
423
+ matplotlib/mpl-data/images/home.png,sha256=IcFdAAUa6_A0qt8IO3I8p4rpXpQgAlJ8ndBECCh7C1w,468
424
+ matplotlib/mpl-data/images/home.svg,sha256=ptrus8h5PZTi9ahYfnaz-uZ8MAHCr72aPeMW48TBR9Q,1911
425
+ matplotlib/mpl-data/images/home_large.png,sha256=uxS2O3tWOHh1iau7CaVV4ermIJaZ007ibm5Z3i8kXYg,790
426
+ matplotlib/mpl-data/images/matplotlib.pdf,sha256=BkSUf-2xoij-eXfpV2t7y1JFKG1zD1gtV6aAg3Xi_wE,22852
427
+ matplotlib/mpl-data/images/matplotlib.png,sha256=w8KLRYVa-voUZXa41hgJauQuoois23f3NFfdc72pUYY,1283
428
+ matplotlib/mpl-data/images/matplotlib.svg,sha256=QiTIcqlQwGaVPtHsEk-vtmJk1wxwZSvijhqBe_b9VCI,62087
429
+ matplotlib/mpl-data/images/matplotlib_large.png,sha256=ElRoue9grUqkZXJngk-nvh4GKfpvJ4gE69WryjCbX5U,3088
430
+ matplotlib/mpl-data/images/move-symbolic.svg,sha256=_uamLnjQ20iwSuKbd8JvTXUFaRq4206MrpFWvtErr8I,2529
431
+ matplotlib/mpl-data/images/move.pdf,sha256=CXk3PGK9WL5t-5J-G2X5Tl-nb6lcErTBS5oUj2St6aU,1867
432
+ matplotlib/mpl-data/images/move.png,sha256=TmjR41IzSzxGbhiUcV64X0zx2BjrxbWH3cSKvnG2vzc,481
433
+ matplotlib/mpl-data/images/move.svg,sha256=_uamLnjQ20iwSuKbd8JvTXUFaRq4206MrpFWvtErr8I,2529
434
+ matplotlib/mpl-data/images/move_large.png,sha256=Skjz2nW_RTA5s_0g88gdq2hrVbm6DOcfYW4Fu42Fn9U,767
435
+ matplotlib/mpl-data/images/qt4_editor_options.pdf,sha256=2qu6GVyBrJvVHxychQoJUiXPYxBylbH2j90QnytXs_w,1568
436
+ matplotlib/mpl-data/images/qt4_editor_options.png,sha256=EryQjQ5hh2dwmIxtzCFiMN1U6Tnd11p1CDfgH5ZHjNM,380
437
+ matplotlib/mpl-data/images/qt4_editor_options.svg,sha256=sdrNIxYT-BLvJ30ASnaRQ5PxF3SB41-pgdaIJT0KqBg,1264
438
+ matplotlib/mpl-data/images/qt4_editor_options_large.png,sha256=-Pd-9Vh5aIr3PZa8O6Ge_BLo41kiEnpmkdDj8a11JkY,619
439
+ matplotlib/mpl-data/images/subplots-symbolic.svg,sha256=Gq4fDSS99Rv5rbR8_nenV6jcY5VsKPARWeH-BZBk9CU,2150
440
+ matplotlib/mpl-data/images/subplots.pdf,sha256=Q0syPMI5EvtgM-CE-YXKOkL9eFUAZnj_X2Ihoj6R4p4,1714
441
+ matplotlib/mpl-data/images/subplots.png,sha256=MUfCItq3_yzb9yRieGOglpn0Y74h8IA7m5i70B63iRc,445
442
+ matplotlib/mpl-data/images/subplots.svg,sha256=Gq4fDSS99Rv5rbR8_nenV6jcY5VsKPARWeH-BZBk9CU,2150
443
+ matplotlib/mpl-data/images/subplots_large.png,sha256=Edu9SwVMQEXJZ5ogU5cyW7VLcwXJdhdf-EtxxmxdkIs,662
444
+ matplotlib/mpl-data/images/zoom_to_rect-symbolic.svg,sha256=uMmdGkO43ZHlezkpieR3_MiqlEc5vROffRDOhY4sxm4,1499
445
+ matplotlib/mpl-data/images/zoom_to_rect.pdf,sha256=SEvPc24gfZRpl-dHv7nx8KkxPyU66Kq4zgQTvGFm9KA,1609
446
+ matplotlib/mpl-data/images/zoom_to_rect.png,sha256=aNz3QZBrIgxu9E-fFfaQweCVNitGuDUFoC27e5NU2L4,530
447
+ matplotlib/mpl-data/images/zoom_to_rect.svg,sha256=uMmdGkO43ZHlezkpieR3_MiqlEc5vROffRDOhY4sxm4,1499
448
+ matplotlib/mpl-data/images/zoom_to_rect_large.png,sha256=V6pkxmm6VwFExdg_PEJWdK37HB7k3cE_corLa7RbUMk,1016
449
+ matplotlib/mpl-data/kpsewhich.lua,sha256=NlKifCv0ONjA6uH5f3gtpWtDzWT1RQnnIHpDAxZ6tC0,189
450
+ matplotlib/mpl-data/matplotlibrc,sha256=i3bhOM6dyUSoQ9xqoe-e4OiGODWLELryJ80kjScbX1o,45318
451
+ matplotlib/mpl-data/plot_directive/plot_directive.css,sha256=utSJ1oETz0UG6AC9hU134J_JY78ENijqMZXN0JMBUfk,318
452
+ matplotlib/mpl-data/sample_data/Minduka_Present_Blue_Pack.png,sha256=XnKGiCanpDKalQ5anvo5NZSAeDP7fyflzQAaivuc0IE,13634
453
+ matplotlib/mpl-data/sample_data/README.txt,sha256=ABz19VBKfGewdY39QInG9Qccgn1MTYV3bT5Ph7TCy2Y,128
454
+ matplotlib/mpl-data/sample_data/Stocks.csv,sha256=72878aZNXGxd5wLvFUw_rnj-nfg4gqtrucZji-w830c,67924
455
+ matplotlib/mpl-data/sample_data/axes_grid/bivariate_normal.npy,sha256=DpWZ9udAh6ospYqneEa27D6EkRgORFwHosacZXVu98U,1880
456
+ matplotlib/mpl-data/sample_data/data_x_x2_x3.csv,sha256=A0SU3buOUGhT-NI_6LQ6p70fFSIU3iLFdgzvzrKR6SE,132
457
+ matplotlib/mpl-data/sample_data/eeg.dat,sha256=KGVjFt8ABKz7p6XZirNfcxSTOpGGNuyA8JYErRKLRBc,25600
458
+ matplotlib/mpl-data/sample_data/embedding_in_wx3.xrc,sha256=cUqVw5vDHNSZoaO4J0ebZUf5SrJP36775abs7R9Bclg,2186
459
+ matplotlib/mpl-data/sample_data/goog.npz,sha256=QAkXzzDmtmT3sNqT18dFhg06qQCNqLfxYNLdEuajGLE,22845
460
+ matplotlib/mpl-data/sample_data/grace_hopper.jpg,sha256=qMptc0dlcDsJcoq0f-WfRz2Trjln_CTHwCiMPHrbcTA,61306
461
+ matplotlib/mpl-data/sample_data/jacksboro_fault_dem.npz,sha256=1JP1CjPoKkQgSUxU0fyhU50Xe9wnqxkLxf5ukvYvtjc,174061
462
+ matplotlib/mpl-data/sample_data/logo2.png,sha256=DXNx4FXeyqxHy26AmvNELpwezQLxweLQY9HP7ktKIdc,22279
463
+ matplotlib/mpl-data/sample_data/membrane.dat,sha256=q3lbQpIBpbtXXGNw1eFwkN_PwxdDGqk4L46IE2b0M1c,48000
464
+ matplotlib/mpl-data/sample_data/msft.csv,sha256=GArKb0O3DgKZRsKdJf6lX3rMSf-PCekIiBoLNdgF7Mk,3211
465
+ matplotlib/mpl-data/sample_data/s1045.ima.gz,sha256=MrQk1k9it-ccsk0p_VOTitVmTWCAVaZ6srKvQ2n4uJ4,33229
466
+ matplotlib/mpl-data/sample_data/topobathy.npz,sha256=AkTgMpFwLfRQJNy1ysvE89TLMNct-n_TccSsYcQrT78,45224
467
+ matplotlib/mpl-data/stylelib/Solarize_Light2.mplstyle,sha256=N4RvRAfKLFr2rIJKE5-WNkjzjpMCqPAfIg4FP0J69zw,1258
468
+ matplotlib/mpl-data/stylelib/_classic_test_patch.mplstyle,sha256=f1vMomTMP9ebxMVnI9N0F8BNfqie4dav32pxKDXPu78,184
469
+ matplotlib/mpl-data/stylelib/_mpl-gallery-nogrid.mplstyle,sha256=1VOL3USqD6iuGQaSynNg1QhyUwvKLnkLyUKdbBMnnqg,489
470
+ matplotlib/mpl-data/stylelib/_mpl-gallery.mplstyle,sha256=MN-q59CiDqHXB8xFKXxzCbJJbJmNDhBe9lDJJAoMTPA,504
471
+ matplotlib/mpl-data/stylelib/bmh.mplstyle,sha256=fB9iVyOPZ6qoP8jUx5nLabzfLisTbwR3S2Dvm5Ak_6k,687
472
+ matplotlib/mpl-data/stylelib/classic.mplstyle,sha256=AK55dvIyzCgrUNlolDrbE4mFl6RnC-3c3f7Z_KteYF0,24591
473
+ matplotlib/mpl-data/stylelib/dark_background.mplstyle,sha256=GzSBD06jvlRYOqu7D5Z5a5x25l9JnTgtObn7S4D9zug,607
474
+ matplotlib/mpl-data/stylelib/fast.mplstyle,sha256=yTa2YEIIP9xi5V_G0p2vSlxghuhNwjRi9gPECMxyRiM,288
475
+ matplotlib/mpl-data/stylelib/fivethirtyeight.mplstyle,sha256=IcBt2DSDz9CtuyCis9JZtT3Nqoh6LVO-dB66AxObUcA,780
476
+ matplotlib/mpl-data/stylelib/ggplot.mplstyle,sha256=u2oPHMLWFtZcpIjHk2swi2Nrt4NgnEtof5lxcwM0RD0,956
477
+ matplotlib/mpl-data/stylelib/grayscale.mplstyle,sha256=KCLg-pXpns9cnKDXKN2WH6mV41OH-6cbT-5zKQotSdw,526
478
+ matplotlib/mpl-data/stylelib/petroff10.mplstyle,sha256=Qj7pPbHh3L25kdsPt1ypwvKR3dPzuOrFzzQTP3Mfilg,298
479
+ matplotlib/mpl-data/stylelib/petroff6.mplstyle,sha256=b0Gtv5I2pSk0T-2tQfLZVqZqUExErabNil7ZkHtemDE,258
480
+ matplotlib/mpl-data/stylelib/petroff8.mplstyle,sha256=a77Xdci5LARRG90BUMomu6G3gnRZFX5sr2UrBIFxoDc,278
481
+ matplotlib/mpl-data/stylelib/seaborn-v0_8-bright.mplstyle,sha256=pDqn3-NUyVLvlfkYs8n8HzNZvmslVMChkeH-HtZuJIc,144
482
+ matplotlib/mpl-data/stylelib/seaborn-v0_8-colorblind.mplstyle,sha256=eCSzFj5_2vR6n5qu1rHE46wvSVGZcdVqz85ov40ZsH8,148
483
+ matplotlib/mpl-data/stylelib/seaborn-v0_8-dark-palette.mplstyle,sha256=p5ABKNQHRG7bk4HXqMQrRBjDlxGAo3RCXHdQmP7g-Ng,142
484
+ matplotlib/mpl-data/stylelib/seaborn-v0_8-dark.mplstyle,sha256=I4xQ75vE5_9X4k0cNDiqhhnF3OcrZ2xlPX8Ll7OCkoE,667
485
+ matplotlib/mpl-data/stylelib/seaborn-v0_8-darkgrid.mplstyle,sha256=2bXOSzS5gmPzRBrRmzVWyhg_7ZaBRQ6t_-O-cRuyZoA,670
486
+ matplotlib/mpl-data/stylelib/seaborn-v0_8-deep.mplstyle,sha256=44dLcXjjRgR-6yaopgGRInaVgz3jk8VJVQTbBIcxRB0,142
487
+ matplotlib/mpl-data/stylelib/seaborn-v0_8-muted.mplstyle,sha256=T4o3jvqKD_ImXDkp66XFOV_xrBVFUolJU34JDFk1Xkk,143
488
+ matplotlib/mpl-data/stylelib/seaborn-v0_8-notebook.mplstyle,sha256=PcvZQbYrDdducrNlavBPmQ1g2minio_9GkUUFRdgtoM,382
489
+ matplotlib/mpl-data/stylelib/seaborn-v0_8-paper.mplstyle,sha256=n0mboUp2C4Usq2j6tNWcu4TZ_YT4-kKgrYO0t-rz1yw,393
490
+ matplotlib/mpl-data/stylelib/seaborn-v0_8-pastel.mplstyle,sha256=8nV8qRpbUrnFZeyE6VcQ1oRuZPLil2W74M2U37DNMOE,144
491
+ matplotlib/mpl-data/stylelib/seaborn-v0_8-poster.mplstyle,sha256=dUaKqTE4MRfUq2rWVXbbou7kzD7Z9PE9Ko8aXLza8JA,403
492
+ matplotlib/mpl-data/stylelib/seaborn-v0_8-talk.mplstyle,sha256=7FnBaBEdWBbncTm6_ER-EQVa_bZgU7dncgez-ez8R74,403
493
+ matplotlib/mpl-data/stylelib/seaborn-v0_8-ticks.mplstyle,sha256=CITZmZFUFp40MK2Oz8tI8a7WRoCizQU9Z4J172YWfWw,665
494
+ matplotlib/mpl-data/stylelib/seaborn-v0_8-white.mplstyle,sha256=WjJ6LEU6rlCwUugToawciAbKP9oERFHr9rfFlUrdTx0,665
495
+ matplotlib/mpl-data/stylelib/seaborn-v0_8-whitegrid.mplstyle,sha256=ec4BjsNzmOvHptcJ3mdPxULF3S1_U1EUocuqfIpw-Nk,664
496
+ matplotlib/mpl-data/stylelib/seaborn-v0_8.mplstyle,sha256=_Xu6qXKzi4b3GymCOB1b1-ykKTQ8xhDliZ8ezHGTiAs,1130
497
+ matplotlib/mpl-data/stylelib/tableau-colorblind10.mplstyle,sha256=BsirZVd1LmPWT4tBIz6loZPjZcInoQrIGfC7rvzqmJw,190
498
+ matplotlib/offsetbox.py,sha256=5rwJ63D9zBDMzdHQ3HHbDNT_1V3d2W09zcqi25x20Zw,57758
499
+ matplotlib/offsetbox.pyi,sha256=sPUAlKHtZUSO2CCLgMP_QR7ZPuW156tvnxEr3LxVILo,9946
500
+ matplotlib/patches.py,sha256=iYf67E9Ai879OljtdZjPBD_ukcXQUqywkbYImFert5Y,171615
501
+ matplotlib/patches.pyi,sha256=NiO8MyBQwH2ma97thyPNGHjRreE62kyMhHGvHaZCbsY,23267
502
+ matplotlib/path.py,sha256=XHJs8nZcfEVJ3nnTMnravVYT26DdTpvyCPr7SHme4S8,43936
503
+ matplotlib/path.pyi,sha256=VfIuc2KpkcB28uzRjLvkC3Hq5HwH4Zp0Uyj9H9bwcWU,4808
504
+ matplotlib/patheffects.py,sha256=PfGeLejmBx45hJeqsHih1u4Huwpxum1xu2g70Edp8rI,18443
505
+ matplotlib/patheffects.pyi,sha256=7-FhuxGGrer94GtJ1sZ0YxOmK6Nv4oixTmsKb6-ijOg,3664
506
+ matplotlib/projections/__init__.py,sha256=N0uT3oTBHmlnwEtieKznFg23skkDQzX27uyeryBIL2c,4467
507
+ matplotlib/projections/__init__.pyi,sha256=D28dSYmwZcSBFBtNDer-QqE_lqXAhHKersuAlvi89jE,673
508
+ matplotlib/projections/__pycache__/__init__.cpython-312.pyc,,
509
+ matplotlib/projections/__pycache__/geo.cpython-312.pyc,,
510
+ matplotlib/projections/__pycache__/polar.cpython-312.pyc,,
511
+ matplotlib/projections/geo.py,sha256=feR2dybCylhk6xe-MzxBr_e8MdbpVc8tBtCQQJ0V2co,17605
512
+ matplotlib/projections/geo.pyi,sha256=vPfhvj7_e0ZnKjyfDUNC89RGCktycJBPnn5D8w0A7N8,3775
513
+ matplotlib/projections/polar.py,sha256=gcUElfHBjjtjU6lXQncCvN5PNwpjZKSTjpt6FvrFCU8,55135
514
+ matplotlib/projections/polar.pyi,sha256=IWNSLQIo5cXFBJur5VFVDQBwAtq5n1XFZMnrj85mCBg,6636
515
+ matplotlib/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
516
+ matplotlib/pylab.py,sha256=VqUqd2J2-dKtltZtsYP8ePKoX1jsNDpTyqlcmpfC-lo,2369
517
+ matplotlib/pyplot.py,sha256=LCe1c5rRADTyKGbMdkfOloxW-WJc8PeiiLgA6UkX6lE,155847
518
+ matplotlib/quiver.py,sha256=W-zixDWnCs7QnDSJCQeUuCxnN3b4nVYvJdUy0lcH44E,49106
519
+ matplotlib/quiver.pyi,sha256=eMKbg7y0l4J8VBgy1CDpxjDLWhhOYqO6GeVORWg3AqU,5795
520
+ matplotlib/rcsetup.py,sha256=oFLqxK8hzozbWO5Jw6uVKvTC_14Y82zIt0F5P6ebX1k,119207
521
+ matplotlib/rcsetup.pyi,sha256=V_-bIM0vzYVYNjkD2ils9uZmk-qKb31irca7THD-2Ew,4621
522
+ matplotlib/sankey.py,sha256=eKA9DrX96-bpoWRdeNnvC73aJfPtCnB78WmMPCXQ9rc,36151
523
+ matplotlib/sankey.pyi,sha256=u_bHOcMK8LH2GZ6zzqGaJc1UGEtQ8dQcRZvNeQXXye4,1427
524
+ matplotlib/scale.py,sha256=SABIJGmygEVOtuekj4Zq57FGsn0TlWRP_AnfDpHJ18E,35495
525
+ matplotlib/scale.pyi,sha256=cPbMLWU6xL-Py4s4zDxrp1OBEo96BxPWCnlM9hlX31Q,5349
526
+ matplotlib/sphinxext/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
527
+ matplotlib/sphinxext/__pycache__/__init__.cpython-312.pyc,,
528
+ matplotlib/sphinxext/__pycache__/figmpl_directive.cpython-312.pyc,,
529
+ matplotlib/sphinxext/__pycache__/mathmpl.cpython-312.pyc,,
530
+ matplotlib/sphinxext/__pycache__/plot_directive.cpython-312.pyc,,
531
+ matplotlib/sphinxext/__pycache__/roles.cpython-312.pyc,,
532
+ matplotlib/sphinxext/figmpl_directive.py,sha256=rgoJcGRfLdp4jiOlyBIwG83wcyfzbFVfrlrSCmDHL9g,9308
533
+ matplotlib/sphinxext/mathmpl.py,sha256=CKIocBSV4prRMPR50NL6WxBTULBa1zReoqo7ZtbvCsc,7871
534
+ matplotlib/sphinxext/plot_directive.py,sha256=ZKq2s2AbrZAsPivXMkbzHPeETJGcyWdDmLIIrq4Cnyw,35592
535
+ matplotlib/sphinxext/roles.py,sha256=uAy1sUB1sMapU4B2yFLyW8FYU2mkSDfP7ZG58ElxBrM,5609
536
+ matplotlib/spines.py,sha256=RDqNg1SofC4EqkQbfWfw0NfPTTvv3YR1c3u5KOMZJ0Q,22227
537
+ matplotlib/spines.pyi,sha256=eceCS47bOawgkWdLUMIPt6XX_H-EtWS2t-euz5Bgkbg,2951
538
+ matplotlib/stackplot.py,sha256=3c9ibnBwOOnYn1pBuySxoVnUrHj8RJMe5t7HV86sYK0,4833
539
+ matplotlib/stackplot.pyi,sha256=BX2g3-6dJ4RhjjIguo-gwWhvKZNYqFCQYVw5SKvpM4c,561
540
+ matplotlib/streamplot.py,sha256=tpZB_prP47QaZ8-9g9RFYb9hXQRI6xiZGo74ZvHl6jc,26778
541
+ matplotlib/streamplot.pyi,sha256=jDfNYCh2aYok6GS21PSFlk0ezXopRSyIqbXLEwdjBI8,2815
542
+ matplotlib/style/__init__.py,sha256=P51W3ycAFKVs50eNiWOxLVeDkcGCU5uvsMGwfJie2ik,8970
543
+ matplotlib/style/__init__.pyi,sha256=0RVt0Dk9OknnJ9hewrTyGMfHO_EcJZfney48T9dpTFM,494
544
+ matplotlib/style/__pycache__/__init__.cpython-312.pyc,,
545
+ matplotlib/style/__pycache__/core.cpython-312.pyc,,
546
+ matplotlib/style/core.py,sha256=pgH4fLy-IbLfe2KShTk4_n9frvysPw0mDCqTifRy2jc,799
547
+ matplotlib/style/core.pyi,sha256=QfFnlkPGbrqjW7mc3jWHbG_wR6IQXL6h0aoEK-jJV9s,674
548
+ matplotlib/table.py,sha256=BhM8vZVP4M60z4JXlR9ocIPFNTjl8ljUzPO7Wns1Pb8,28171
549
+ matplotlib/table.pyi,sha256=Q6eMN5SrC0sO0qlZ-045Yn8OqenbTE1PXSxKh6p0tK0,3083
550
+ matplotlib/testing/__init__.py,sha256=9l4ke9-njOZu5hqefgCTHWSjJrfmhQ3S-CKa1DqdDMg,10544
551
+ matplotlib/testing/__init__.pyi,sha256=4mSZWIYwsor9NeM0bdsLMv76fH4phgb6VXEE0LSlzWM,1851
552
+ matplotlib/testing/__pycache__/__init__.cpython-312.pyc,,
553
+ matplotlib/testing/__pycache__/_markers.cpython-312.pyc,,
554
+ matplotlib/testing/__pycache__/compare.cpython-312.pyc,,
555
+ matplotlib/testing/__pycache__/conftest.cpython-312.pyc,,
556
+ matplotlib/testing/__pycache__/decorators.cpython-312.pyc,,
557
+ matplotlib/testing/__pycache__/exceptions.cpython-312.pyc,,
558
+ matplotlib/testing/__pycache__/widgets.cpython-312.pyc,,
559
+ matplotlib/testing/_markers.py,sha256=0iNyOi25XLv_gTfSUqiRizdSqJzozePPBMRo72H2Je4,1419
560
+ matplotlib/testing/compare.py,sha256=e7b_nY97v_5Of4iST-k4nAVluUCWcpNuC1zIUaliceU,20474
561
+ matplotlib/testing/compare.pyi,sha256=IXB7omMIlVS0eInmpzjAQuNzV_rhJMz2o_py49WE_aA,1238
562
+ matplotlib/testing/conftest.py,sha256=ZMH3YTrAdK3bdxzWN1xPN9IH0DdxeHmRk6wrcTBxhes,7335
563
+ matplotlib/testing/conftest.pyi,sha256=EVFVsenji64J83V9tmiZq9zraUexFXJsiVpSNa8iZUQ,490
564
+ matplotlib/testing/decorators.py,sha256=wwREwt0SazjCrO_hxrEn8C4nFX6tsOfeHdHawOE249s,18592
565
+ matplotlib/testing/decorators.pyi,sha256=zC3dBVlAM0BkvpZB0jxaumvdcdUZBP7qvJdH8bYafbk,879
566
+ matplotlib/testing/exceptions.py,sha256=72QmjiHG7DwxSvlJf8mei-hRit5AH3NKh0-osBo4YbY,138
567
+ matplotlib/testing/jpl_units/Duration.py,sha256=9FMBu9uj6orCWtf23cf6_9HCFUC50xAHrCzaxATwQfM,3966
568
+ matplotlib/testing/jpl_units/Epoch.py,sha256=-FGxeq-VvCS9GVPwOEE5ind_G4Tl9ztD-gYcW9CWzjo,6100
569
+ matplotlib/testing/jpl_units/EpochConverter.py,sha256=fhWjyP567bzcTU_oNuJJpucoolqS88Nt-yEFg1-3yEk,2944
570
+ matplotlib/testing/jpl_units/StrConverter.py,sha256=codGw9b_Zc-MG_YK4CiyMrnMR8ahR9hw836O2SsV8QI,2865
571
+ matplotlib/testing/jpl_units/UnitDbl.py,sha256=ASemBFM4LOzn9i0glZUO0fprYvXm0FJqCsaEPLgLyDg,5886
572
+ matplotlib/testing/jpl_units/UnitDblConverter.py,sha256=B8DssrQVyC4mwvSFP78cGL0vCnZgVhDaAbZE-jsXLUg,2828
573
+ matplotlib/testing/jpl_units/UnitDblFormatter.py,sha256=sFPWK4euTSXOC-wUowUNk8SfWmfel-tc_niNKD1fLpI,658
574
+ matplotlib/testing/jpl_units/__init__.py,sha256=p__9RUwrt2LJ2eoT2JPM-42XLxSJrfA4az3rN5uP6d4,2684
575
+ matplotlib/testing/jpl_units/__pycache__/Duration.cpython-312.pyc,,
576
+ matplotlib/testing/jpl_units/__pycache__/Epoch.cpython-312.pyc,,
577
+ matplotlib/testing/jpl_units/__pycache__/EpochConverter.cpython-312.pyc,,
578
+ matplotlib/testing/jpl_units/__pycache__/StrConverter.cpython-312.pyc,,
579
+ matplotlib/testing/jpl_units/__pycache__/UnitDbl.cpython-312.pyc,,
580
+ matplotlib/testing/jpl_units/__pycache__/UnitDblConverter.cpython-312.pyc,,
581
+ matplotlib/testing/jpl_units/__pycache__/UnitDblFormatter.cpython-312.pyc,,
582
+ matplotlib/testing/jpl_units/__pycache__/__init__.cpython-312.pyc,,
583
+ matplotlib/testing/widgets.py,sha256=62mj2cTyoQ-dDOT66ygP8nW3aebqBFeLLTjUIuAN2ao,3671
584
+ matplotlib/testing/widgets.pyi,sha256=Ioau7Q2aPRDZLx8hze2DOe3E1vn7QPxePC74WMR7tFc,831
585
+ matplotlib/tests/__init__.py,sha256=XyXveEAxafB87gnbx0jkC0MggzKO8FvORq_6RtJRwo4,366
586
+ matplotlib/tests/__pycache__/__init__.cpython-312.pyc,,
587
+ matplotlib/tests/__pycache__/conftest.cpython-312.pyc,,
588
+ matplotlib/tests/__pycache__/test_afm.cpython-312.pyc,,
589
+ matplotlib/tests/__pycache__/test_agg.cpython-312.pyc,,
590
+ matplotlib/tests/__pycache__/test_agg_filter.cpython-312.pyc,,
591
+ matplotlib/tests/__pycache__/test_animation.cpython-312.pyc,,
592
+ matplotlib/tests/__pycache__/test_api.cpython-312.pyc,,
593
+ matplotlib/tests/__pycache__/test_arrow_patches.cpython-312.pyc,,
594
+ matplotlib/tests/__pycache__/test_artist.cpython-312.pyc,,
595
+ matplotlib/tests/__pycache__/test_axes.cpython-312.pyc,,
596
+ matplotlib/tests/__pycache__/test_axis.cpython-312.pyc,,
597
+ matplotlib/tests/__pycache__/test_backend_bases.cpython-312.pyc,,
598
+ matplotlib/tests/__pycache__/test_backend_cairo.cpython-312.pyc,,
599
+ matplotlib/tests/__pycache__/test_backend_gtk3.cpython-312.pyc,,
600
+ matplotlib/tests/__pycache__/test_backend_inline.cpython-312.pyc,,
601
+ matplotlib/tests/__pycache__/test_backend_macosx.cpython-312.pyc,,
602
+ matplotlib/tests/__pycache__/test_backend_nbagg.cpython-312.pyc,,
603
+ matplotlib/tests/__pycache__/test_backend_pdf.cpython-312.pyc,,
604
+ matplotlib/tests/__pycache__/test_backend_pgf.cpython-312.pyc,,
605
+ matplotlib/tests/__pycache__/test_backend_ps.cpython-312.pyc,,
606
+ matplotlib/tests/__pycache__/test_backend_qt.cpython-312.pyc,,
607
+ matplotlib/tests/__pycache__/test_backend_registry.cpython-312.pyc,,
608
+ matplotlib/tests/__pycache__/test_backend_svg.cpython-312.pyc,,
609
+ matplotlib/tests/__pycache__/test_backend_template.cpython-312.pyc,,
610
+ matplotlib/tests/__pycache__/test_backend_tk.cpython-312.pyc,,
611
+ matplotlib/tests/__pycache__/test_backend_tools.cpython-312.pyc,,
612
+ matplotlib/tests/__pycache__/test_backend_webagg.cpython-312.pyc,,
613
+ matplotlib/tests/__pycache__/test_backends_interactive.cpython-312.pyc,,
614
+ matplotlib/tests/__pycache__/test_basic.cpython-312.pyc,,
615
+ matplotlib/tests/__pycache__/test_bbox_tight.cpython-312.pyc,,
616
+ matplotlib/tests/__pycache__/test_bezier.cpython-312.pyc,,
617
+ matplotlib/tests/__pycache__/test_category.cpython-312.pyc,,
618
+ matplotlib/tests/__pycache__/test_cbook.cpython-312.pyc,,
619
+ matplotlib/tests/__pycache__/test_collections.cpython-312.pyc,,
620
+ matplotlib/tests/__pycache__/test_colorbar.cpython-312.pyc,,
621
+ matplotlib/tests/__pycache__/test_colors.cpython-312.pyc,,
622
+ matplotlib/tests/__pycache__/test_compare_images.cpython-312.pyc,,
623
+ matplotlib/tests/__pycache__/test_constrainedlayout.cpython-312.pyc,,
624
+ matplotlib/tests/__pycache__/test_container.cpython-312.pyc,,
625
+ matplotlib/tests/__pycache__/test_contour.cpython-312.pyc,,
626
+ matplotlib/tests/__pycache__/test_cycles.cpython-312.pyc,,
627
+ matplotlib/tests/__pycache__/test_dates.cpython-312.pyc,,
628
+ matplotlib/tests/__pycache__/test_datetime.cpython-312.pyc,,
629
+ matplotlib/tests/__pycache__/test_determinism.cpython-312.pyc,,
630
+ matplotlib/tests/__pycache__/test_doc.cpython-312.pyc,,
631
+ matplotlib/tests/__pycache__/test_dviread.cpython-312.pyc,,
632
+ matplotlib/tests/__pycache__/test_figure.cpython-312.pyc,,
633
+ matplotlib/tests/__pycache__/test_font_manager.cpython-312.pyc,,
634
+ matplotlib/tests/__pycache__/test_fontconfig_pattern.cpython-312.pyc,,
635
+ matplotlib/tests/__pycache__/test_ft2font.cpython-312.pyc,,
636
+ matplotlib/tests/__pycache__/test_getattr.cpython-312.pyc,,
637
+ matplotlib/tests/__pycache__/test_gridspec.cpython-312.pyc,,
638
+ matplotlib/tests/__pycache__/test_image.cpython-312.pyc,,
639
+ matplotlib/tests/__pycache__/test_legend.cpython-312.pyc,,
640
+ matplotlib/tests/__pycache__/test_lines.cpython-312.pyc,,
641
+ matplotlib/tests/__pycache__/test_marker.cpython-312.pyc,,
642
+ matplotlib/tests/__pycache__/test_mathtext.cpython-312.pyc,,
643
+ matplotlib/tests/__pycache__/test_matplotlib.cpython-312.pyc,,
644
+ matplotlib/tests/__pycache__/test_mlab.cpython-312.pyc,,
645
+ matplotlib/tests/__pycache__/test_multivariate_colormaps.cpython-312.pyc,,
646
+ matplotlib/tests/__pycache__/test_offsetbox.cpython-312.pyc,,
647
+ matplotlib/tests/__pycache__/test_patches.cpython-312.pyc,,
648
+ matplotlib/tests/__pycache__/test_path.cpython-312.pyc,,
649
+ matplotlib/tests/__pycache__/test_patheffects.cpython-312.pyc,,
650
+ matplotlib/tests/__pycache__/test_pickle.cpython-312.pyc,,
651
+ matplotlib/tests/__pycache__/test_png.cpython-312.pyc,,
652
+ matplotlib/tests/__pycache__/test_polar.cpython-312.pyc,,
653
+ matplotlib/tests/__pycache__/test_preprocess_data.cpython-312.pyc,,
654
+ matplotlib/tests/__pycache__/test_pyplot.cpython-312.pyc,,
655
+ matplotlib/tests/__pycache__/test_quiver.cpython-312.pyc,,
656
+ matplotlib/tests/__pycache__/test_rcparams.cpython-312.pyc,,
657
+ matplotlib/tests/__pycache__/test_sankey.cpython-312.pyc,,
658
+ matplotlib/tests/__pycache__/test_scale.cpython-312.pyc,,
659
+ matplotlib/tests/__pycache__/test_simplification.cpython-312.pyc,,
660
+ matplotlib/tests/__pycache__/test_skew.cpython-312.pyc,,
661
+ matplotlib/tests/__pycache__/test_sphinxext.cpython-312.pyc,,
662
+ matplotlib/tests/__pycache__/test_spines.cpython-312.pyc,,
663
+ matplotlib/tests/__pycache__/test_streamplot.cpython-312.pyc,,
664
+ matplotlib/tests/__pycache__/test_style.cpython-312.pyc,,
665
+ matplotlib/tests/__pycache__/test_subplots.cpython-312.pyc,,
666
+ matplotlib/tests/__pycache__/test_table.cpython-312.pyc,,
667
+ matplotlib/tests/__pycache__/test_testing.cpython-312.pyc,,
668
+ matplotlib/tests/__pycache__/test_texmanager.cpython-312.pyc,,
669
+ matplotlib/tests/__pycache__/test_text.cpython-312.pyc,,
670
+ matplotlib/tests/__pycache__/test_textpath.cpython-312.pyc,,
671
+ matplotlib/tests/__pycache__/test_ticker.cpython-312.pyc,,
672
+ matplotlib/tests/__pycache__/test_tightlayout.cpython-312.pyc,,
673
+ matplotlib/tests/__pycache__/test_transforms.cpython-312.pyc,,
674
+ matplotlib/tests/__pycache__/test_triangulation.cpython-312.pyc,,
675
+ matplotlib/tests/__pycache__/test_type1font.cpython-312.pyc,,
676
+ matplotlib/tests/__pycache__/test_units.cpython-312.pyc,,
677
+ matplotlib/tests/__pycache__/test_usetex.cpython-312.pyc,,
678
+ matplotlib/tests/__pycache__/test_widgets.cpython-312.pyc,,
679
+ matplotlib/tests/conftest.py,sha256=-wk-4brT25WVZEZCj59fRBIFW9_groxH7EgYL_b3ZE4,155
680
+ matplotlib/tests/test_afm.py,sha256=WZB9QYtEkBMotwXDZJEgwQXw6i5IWhzU_9FqmRAuYdg,4072
681
+ matplotlib/tests/test_agg.py,sha256=VhwUw_uLwqONIa3UwFEVcOkhKV-Olis4vR5cIbUF6Yw,12561
682
+ matplotlib/tests/test_agg_filter.py,sha256=mknYVGVgI-POUQd_gqP8dQQomKY3O3-Tu7-M3k58rjk,984
683
+ matplotlib/tests/test_animation.py,sha256=9ZvmizKShfyXZIh-lDs65ezIyeMVHIn8d7bWZ6E8u6s,18516
684
+ matplotlib/tests/test_api.py,sha256=MOlSZePFYQvGPVhUYDgkoV8W6K46h2KQwnQQAE-xMFw,6494
685
+ matplotlib/tests/test_arrow_patches.py,sha256=xX6TUk0w9hPV3YsDVd7jOwTDbavgi0-IB1vxNL4Tk9E,7988
686
+ matplotlib/tests/test_artist.py,sha256=K5ag8nugMwqWU--nYvxdyyrobQ4z4zZxArchkA1OUsg,19290
687
+ matplotlib/tests/test_axes.py,sha256=NvKX0AJShCK88pJL6mkKffR3skjY4XCPgiCyc_1RgHo,356880
688
+ matplotlib/tests/test_axis.py,sha256=QAH258GGIigGjy0ndWddiuulLcZSv6FUEsm1h2jVvNQ,5165
689
+ matplotlib/tests/test_backend_bases.py,sha256=WyFbrdDGZSefXTXwKlOr0Lg0gYrjLYzRgPxPcQcTjyQ,22744
690
+ matplotlib/tests/test_backend_cairo.py,sha256=YgEerdgqV7WgBwlHgez7Hiir4CsiHoyOFNqwgpItv4U,1958
691
+ matplotlib/tests/test_backend_gtk3.py,sha256=YPsko8sYsWBT32tGZqbfursB21nXP_CtcbVLf1cyxI0,1154
692
+ matplotlib/tests/test_backend_inline.py,sha256=Jz1kXYX2GxGqXGbDxM7Qf42nSofER3LoXouUeETA5Pc,1613
693
+ matplotlib/tests/test_backend_macosx.py,sha256=spE9GsdCAhyVUTrt8qI-_GiTh8Zxs6yVu_-WeODZF4E,3654
694
+ matplotlib/tests/test_backend_nbagg.py,sha256=nnOBu3CCrOkzNR4J0ip3Z-kwzH1H8KSl0pYJ3JP5jNM,1464
695
+ matplotlib/tests/test_backend_pdf.py,sha256=MqlEOr-6zV_wz-gw48lTFAsbVMjXi4FFsOOhUFbxZVE,25905
696
+ matplotlib/tests/test_backend_pgf.py,sha256=0UOyptCSCfw8cZLz2s-YKjUByF6NPPxscFqqxy1qmJg,14545
697
+ matplotlib/tests/test_backend_ps.py,sha256=ciSempEz1VQi1Z25fkxVUIROb6GgaE9tFITojIK0jCc,14127
698
+ matplotlib/tests/test_backend_qt.py,sha256=lWEszrp1-wLi83-r2iCPgvEOeFTY7M0gU_jfuOaomPk,13083
699
+ matplotlib/tests/test_backend_registry.py,sha256=INoas9_cgejBS9BlFJxjPTeWdEhqxL8XRcuc-isUK7k,5517
700
+ matplotlib/tests/test_backend_svg.py,sha256=Z9ofPheKm8nlK2WAu6qoKnPCzS1fbSHd1SectbFWcGo,23081
701
+ matplotlib/tests/test_backend_template.py,sha256=uuE7oZ9pSBVDWrPL05B0WgCFsgv6HlXyetuPTfJn6a8,2184
702
+ matplotlib/tests/test_backend_tk.py,sha256=ItkWudKTXvXKAzN0CheP3JnSpCqrC6tvRqonRGNyBNk,10729
703
+ matplotlib/tests/test_backend_tools.py,sha256=C-B7NCkyWsQ5KzQEnI5Be16DsAHHZJU9P5v9--wsF-o,501
704
+ matplotlib/tests/test_backend_webagg.py,sha256=xnEMmsz2vBiglpqg9IDh1gCGdGhxotgZpEinZn9W-Bg,2880
705
+ matplotlib/tests/test_backends_interactive.py,sha256=o1pS1bxn-x-kTq5JmTKUM01etYONGnuE1mSLKML3UXs,30051
706
+ matplotlib/tests/test_basic.py,sha256=Z2uMYhSeba3nYenou8utSATSEq4LjYvm_V9V6wKabFk,1117
707
+ matplotlib/tests/test_bbox_tight.py,sha256=u4GzDkXNfKlUM6np2uGxxnhByij2nU_fhrwk7Wuib48,7181
708
+ matplotlib/tests/test_bezier.py,sha256=4p-MnIIGD7Eok0hvYkZkrW0IW3ewa8rDs3epg0pvfoY,1719
709
+ matplotlib/tests/test_category.py,sha256=p95i0_PMP2XiKjgNSkoek-fn_bVajw1TnT7H29o3yTI,12025
710
+ matplotlib/tests/test_cbook.py,sha256=dbRtnPBqQDhjgkiv6NMoCbHm_wcRMfHYDZYHo-ErZCQ,39686
711
+ matplotlib/tests/test_collections.py,sha256=A-IZKijRjS-Ll6qXZngK8dcO5U91msQmBFzqLB-nwOg,55601
712
+ matplotlib/tests/test_colorbar.py,sha256=5JEigSYqmGCbe6-jBrsfYPmy2JmQgcZhxfqZVvLZ2sA,47196
713
+ matplotlib/tests/test_colors.py,sha256=JyesmQZtSznT7MOE_ywLcGczmBevhGOLyB-efxDpqDU,80824
714
+ matplotlib/tests/test_compare_images.py,sha256=JPXiDfFwvu8eso2KYgK6S5UKuVvm5u0hs9dHD8uTaAU,4592
715
+ matplotlib/tests/test_constrainedlayout.py,sha256=ZNJZhikXXzJB-mrXUQZup_OPM5jWHu-p6AB_6kaOYsw,28421
716
+ matplotlib/tests/test_container.py,sha256=H9CeLRsp0dzUboDigZIx9DA-G3npSEkrLxVWWwxEeWI,1957
717
+ matplotlib/tests/test_contour.py,sha256=VPVF6Zl_AObq9vPMm-Verm_naCdaxCrpAa7wrmsoI88,32367
718
+ matplotlib/tests/test_cycles.py,sha256=3KyRmWH29WUgvIXUT06tKVDNCfDWqxuxlLueIp-FIl0,5996
719
+ matplotlib/tests/test_dates.py,sha256=eqHrRKOopQZAQywgiP1YBr8oVJnEVqrrhp9kTviOPqU,56606
720
+ matplotlib/tests/test_datetime.py,sha256=kEiYIr28ubqbOqtxJGfFuHUxlZfObisl06RNHYh6R_o,33143
721
+ matplotlib/tests/test_determinism.py,sha256=o1QtL1reYF0QkT7AXalnycViess_-fEcT8jSPzCWYnM,8453
722
+ matplotlib/tests/test_doc.py,sha256=E76qBVlnA5jCH8Ma4DBozhzrEp9Jzqr3qsITIUIY7bY,1024
723
+ matplotlib/tests/test_dviread.py,sha256=xkAS9zDhVSDbjqeDEI-Tx_xOpxJsEd7kwmOkP5HtZf8,5434
724
+ matplotlib/tests/test_figure.py,sha256=cGWFgSr5bKGfnZ8YD-4ZmCvjKqk15L7mYwH6uHmPhFI,62502
725
+ matplotlib/tests/test_font_manager.py,sha256=cJVzyKUH8zP9hgQGLVc6N05Qk3d_r1IuIoW82-INbPo,23064
726
+ matplotlib/tests/test_fontconfig_pattern.py,sha256=LSR6lWF_0cVOshkGiflYaTCLcISRIJM6mjXm5QtDjX4,2168
727
+ matplotlib/tests/test_ft2font.py,sha256=TqQW2qeOcxYUz5qCAY5CVxtvS844LPsBNxteNmToJuE,45214
728
+ matplotlib/tests/test_getattr.py,sha256=NLejbWy-RCP-Iz5fWPdL3QmMguAL7C1qr-U_fDmKhtA,2065
729
+ matplotlib/tests/test_gridspec.py,sha256=BhItYiH_21kQNZlUNDJoGZXX2Ebq3FhjaaJ4OrHIP1Q,2212
730
+ matplotlib/tests/test_image.py,sha256=Hjxor7o6Io8FpHbgce_-TqGwV6rQPIinBREqkf8c1_A,73411
731
+ matplotlib/tests/test_legend.py,sha256=WT_ILqZ1FLqBmNvHBJCSS-2o7rbnbEqffW-gbYKFP2c,66808
732
+ matplotlib/tests/test_lines.py,sha256=Ygk7Jk-VK-9OwBZ-Mvv72PIw4gVcMi20mQNJB5QipzA,15883
733
+ matplotlib/tests/test_marker.py,sha256=GviPXabZAZ3v3ZJt8dQHz03Unyi_3QscaKK7jSIO7hk,11505
734
+ matplotlib/tests/test_mathtext.py,sha256=HlF0OH_0Yjy_RguZpn0WdETcwa5ftFisDanH5ZPuiQA,28659
735
+ matplotlib/tests/test_matplotlib.py,sha256=oX_W2oqPkYQWtFPHQ3mjI-ELkEN9I9_XfFByHn3xZRs,5321
736
+ matplotlib/tests/test_mlab.py,sha256=3Oz6fSvUYpe-ChSthSB_D1K8AuvLw-2__xx0G0PpVSg,42740
737
+ matplotlib/tests/test_multivariate_colormaps.py,sha256=VaObR7nLIf7oW7xJWaBYnb1MgX3lZ3xN4I7Q7wivBAo,22004
738
+ matplotlib/tests/test_offsetbox.py,sha256=a7cro-a-6zIspkzC7L4r-R9LsDccslTP_iITx6toYp0,18061
739
+ matplotlib/tests/test_patches.py,sha256=bGcMfmb-O2bCTOIyj2IJwGbQTTZ_iUKBcaOBqAscZT4,40579
740
+ matplotlib/tests/test_path.py,sha256=IxNUfgAsfWjJ9kbSD03P9sMFBAmkYMOa55q9pOQrMtQ,25154
741
+ matplotlib/tests/test_patheffects.py,sha256=e6KR0v07Wqpz6qrZik4oU27i_i1ceO1xMR3AeUcnrRI,8611
742
+ matplotlib/tests/test_pickle.py,sha256=9BMlxVkpA1a1z9anAbT12dieNeON33KLlVELzLozZuw,9535
743
+ matplotlib/tests/test_png.py,sha256=Z5ItDAIjJpU0sgZ1xyWfsMFCMFaR9ALraqrOldaappc,1272
744
+ matplotlib/tests/test_polar.py,sha256=q-2dCRGDfNOHHV4-4iiCFG7TPKz0Yw-XUfZ1OFKDRBM,22224
745
+ matplotlib/tests/test_preprocess_data.py,sha256=FNx1TlPNCjkbqwPuGQ_RHbkcwzeNkBemoE-iFh2Glcw,11327
746
+ matplotlib/tests/test_pyplot.py,sha256=k5u9e2RqNbx-sgqe1JfuhXwKWTHRedVYpfUkoc8us5Q,16820
747
+ matplotlib/tests/test_quiver.py,sha256=MTwIhlIhIn6af6y6uB_ySMnhXFa5WfHGgLdE20u0gbA,12193
748
+ matplotlib/tests/test_rcparams.py,sha256=udRLBCz-uYZEHxWJ1E9A0GqLF47hSVV12CZvzcIooSg,27232
749
+ matplotlib/tests/test_sankey.py,sha256=78K4h0A8IW6YOKEIhbUHqbey4TopWi6iXriyr1AjUkA,3883
750
+ matplotlib/tests/test_scale.py,sha256=zwaqvkGiG5x_eCuYA7rsssL0mHHIDYcC9hVPnD6HtHs,15545
751
+ matplotlib/tests/test_simplification.py,sha256=YXbnai9WWzEpQJm8SsyL-EgK6D_EVPaeLCU1dR3B8EY,21852
752
+ matplotlib/tests/test_skew.py,sha256=GGKc9kPpE6z33fl-WlKUr0tL0UzdtWa-Z6Qt4X_dxW8,6397
753
+ matplotlib/tests/test_sphinxext.py,sha256=KNmfXJ8BNisSazyyiUkm3JLVn9lg6wLdHLw-3XenufA,11743
754
+ matplotlib/tests/test_spines.py,sha256=J9ansYiGJOVap5VUlMreASkUONkd3fyjnJUsFO2Gi5Q,6583
755
+ matplotlib/tests/test_streamplot.py,sha256=vWfB02KZhhfXFYFzm00ZkiDk01sF06FZx-ju0ibLIX4,8150
756
+ matplotlib/tests/test_style.py,sha256=a41bWE7aFsSRtzuc6z3LpOF1c2t5i_vK2dWLM0VZ-WE,7040
757
+ matplotlib/tests/test_subplots.py,sha256=Ch-emSStITK9myroAo6PxAqLmCSOm7KrWnqC3YPPvT8,11061
758
+ matplotlib/tests/test_table.py,sha256=d1nHDbzGZH9yQLxNceJMhdGKtUVS55M5RzOSq6nmpjs,8678
759
+ matplotlib/tests/test_testing.py,sha256=ZOiZey8Qvk6UBqRRxtTqP1GLtcQjMF6W__qif_Z2SCQ,865
760
+ matplotlib/tests/test_texmanager.py,sha256=2xae7Qym_PzPh4G7bN3TSXjTRCxtrsOlTctgVryRbuY,2678
761
+ matplotlib/tests/test_text.py,sha256=qvYCJEnZSxxd25SUBEVwWWaecbQVEqswnTJcXjqSzMY,45636
762
+ matplotlib/tests/test_textpath.py,sha256=WLXvT5OzE6Tew4pr87LH-cgioCzM7srgMNRemiMEC5o,271
763
+ matplotlib/tests/test_ticker.py,sha256=sCFNsjJRw5_KJjKClxDLo4CQQgfyUHnShyUPcHQLZOo,78180
764
+ matplotlib/tests/test_tightlayout.py,sha256=_UDO90u3uPC6Yt1D_AJPEjuMj8Xoz1Bt_ViwRk0hriY,13974
765
+ matplotlib/tests/test_transforms.py,sha256=juTMxd6enryTFW1saeDjgYNXLG2otrjNqkctYTXHGJg,49456
766
+ matplotlib/tests/test_triangulation.py,sha256=Km7FiD6ujmmHHw8PvDPeVPFkDr_QWeyx9p_ROa_7Ols,55368
767
+ matplotlib/tests/test_type1font.py,sha256=QidcU7R8kKffHkz1KxBBilRrW9ONN6hhVK5oT46cllg,9151
768
+ matplotlib/tests/test_units.py,sha256=gbADzgyVZNcATjTceMIGr6ced-HlKBYhPiap120kBng,11687
769
+ matplotlib/tests/test_usetex.py,sha256=DZvlXEygFE0E9kNku6DOvR2fYvoIuhw35ytMm5zY1Og,9504
770
+ matplotlib/tests/test_widgets.py,sha256=dO5cK_8dGYmMUSEO-J_u_9cQWw_f8VuwWG3Xd7zemy8,72294
771
+ matplotlib/texmanager.py,sha256=39qbB7wm2OMBcFFDRRBvU6qcjpDj_gX2jE5lcMF9yAY,15489
772
+ matplotlib/texmanager.pyi,sha256=di3gbC9muXKTo5VCrW5ye-e19A1mrOl8e8lvI3b904A,1116
773
+ matplotlib/text.py,sha256=Dh8BXXhD8nr2y-kJu8423I9gL8864H32w-M65UyvC5s,81539
774
+ matplotlib/text.pyi,sha256=fkD1ABkqrkd8BpqmuJdtyY-boaNyO7g5geQ9RVLnboo,7664
775
+ matplotlib/textpath.py,sha256=ZYxTKyPVHEOwHR7RBO723L2CYTqTVPCmGwCxTc6-RhI,12709
776
+ matplotlib/textpath.pyi,sha256=L__fm9BMpxX3IimGbWGWnImzeQukCmYZxxqK8vlzeIo,2740
777
+ matplotlib/ticker.py,sha256=SdRYahikSIOHQRsWjYBku2Dh9Z1HjhOZZeL3zvUJ4q0,114435
778
+ matplotlib/ticker.pyi,sha256=8_I2_U8WR923XMyN4BUltbP3Wn1iLSDoIEo66OM8OtI,10671
779
+ matplotlib/transforms.py,sha256=EJvSwlqoOVzSXBGpSjrHim8MbaPbBFAPSGzDlnpr4Og,102198
780
+ matplotlib/transforms.pyi,sha256=adpr1xkd1U_sUPru2lBHCjTBhkCxfCjYAUxjoAS7D6w,13822
781
+ matplotlib/tri/__init__.py,sha256=asnfefKRpJv7sGbfddCMybnJInVDPwgph7g0mpoh2u4,820
782
+ matplotlib/tri/__pycache__/__init__.cpython-312.pyc,,
783
+ matplotlib/tri/__pycache__/_triangulation.cpython-312.pyc,,
784
+ matplotlib/tri/__pycache__/_tricontour.cpython-312.pyc,,
785
+ matplotlib/tri/__pycache__/_trifinder.cpython-312.pyc,,
786
+ matplotlib/tri/__pycache__/_triinterpolate.cpython-312.pyc,,
787
+ matplotlib/tri/__pycache__/_tripcolor.cpython-312.pyc,,
788
+ matplotlib/tri/__pycache__/_triplot.cpython-312.pyc,,
789
+ matplotlib/tri/__pycache__/_trirefine.cpython-312.pyc,,
790
+ matplotlib/tri/__pycache__/_tritools.cpython-312.pyc,,
791
+ matplotlib/tri/_triangulation.py,sha256=Ur2lKMOx4NrZxwyi0hBeBnVzicuKaCke0NkrZneSklM,9784
792
+ matplotlib/tri/_triangulation.pyi,sha256=pVw1rvpIcl00p7V7E9GcvJSqQWyoxlZXX_p0_VSxTiY,1017
793
+ matplotlib/tri/_tricontour.py,sha256=yxeH8QgBub1nTq9qbO5Iiiz81bcLXDeMcJHUS2Ahmns,10220
794
+ matplotlib/tri/_tricontour.pyi,sha256=jnsAmVRX0-FOUw9ptUgci9J4T4JQRloKeH8fh8aAi-o,1155
795
+ matplotlib/tri/_trifinder.py,sha256=3gUzJZDIwfdsSJUE8hIKso9e1-UGvynUN9HxaqC1EEc,3522
796
+ matplotlib/tri/_trifinder.pyi,sha256=dXcZucacAS3Ch6nrDBPh2e3LYZLfZ7VwqpBUBb-vMPo,405
797
+ matplotlib/tri/_triinterpolate.py,sha256=x4rKdM_W2rpo2o8ZbWKnbStegiISI1kwVfzumdAFEXE,62445
798
+ matplotlib/tri/_triinterpolate.pyi,sha256=nR0o0Jm0uPH-6l0ft1WRHqYlq-6o84X6M0aX1UJ9IvE,1044
799
+ matplotlib/tri/_tripcolor.py,sha256=R6z_Xb18njuLBukDYi5z0HDVOUMfYJd5KM-pSotaUxI,6818
800
+ matplotlib/tri/_tripcolor.pyi,sha256=QsA-A2ohj3r_tAElt2-9pzi47JiU01tNlRPDIptqnh4,1781
801
+ matplotlib/tri/_triplot.py,sha256=jlHSz36Z5S18zBKc639PlSqdhfl7jHol8ExlddJuDI4,3102
802
+ matplotlib/tri/_triplot.pyi,sha256=9USU-BfitrcdQE8yWOUlBX59QBNoHCWivDon9JbDQ0k,446
803
+ matplotlib/tri/_trirefine.py,sha256=ZMlWypiRCO2J55N5Pp9S6m5BlToHx-xqDBFMpFzOsbA,13179
804
+ matplotlib/tri/_trirefine.pyi,sha256=J_PmjbeI6UbLaeecgj1OCvGe_sr9UUsNK9NGBSlQ320,1056
805
+ matplotlib/tri/_tritools.py,sha256=wC9KVE6UqkWVHpyW9FU4hQdqRVRVmJlhaBF1EXsaD8U,10575
806
+ matplotlib/tri/_tritools.pyi,sha256=XWwwvH2nIAmH8k59aRjnLBVQbTwKvd_FzdsRNASCJMw,402
807
+ matplotlib/typing.py,sha256=GUTVrSUUihZUK7e2S46hSI4TLYor8NKYtll3Q4WNs44,16100
808
+ matplotlib/units.py,sha256=7O-llc8k3GpdotUs2tWcEGgoUHHX-Y7o0R7f-1Jve3k,6429
809
+ matplotlib/widgets.py,sha256=C59Pcj4zEttRs0jf3LLO7pU7NO5aRhE_ft0dVNuJZXs,165076
810
+ matplotlib/widgets.pyi,sha256=OSsBf5e6HtB_q_Gy1JKE7AhXK1JhwH_PnhCJ4Lf-sNs,15923
811
+ mpl_toolkits/axes_grid1/__init__.py,sha256=wiuUCQo1g20SW5T3mFOmI9dGCJY6aDmglpQw5DfszEU,371
812
+ mpl_toolkits/axes_grid1/__pycache__/__init__.cpython-312.pyc,,
813
+ mpl_toolkits/axes_grid1/__pycache__/anchored_artists.cpython-312.pyc,,
814
+ mpl_toolkits/axes_grid1/__pycache__/axes_divider.cpython-312.pyc,,
815
+ mpl_toolkits/axes_grid1/__pycache__/axes_grid.cpython-312.pyc,,
816
+ mpl_toolkits/axes_grid1/__pycache__/axes_rgb.cpython-312.pyc,,
817
+ mpl_toolkits/axes_grid1/__pycache__/axes_size.cpython-312.pyc,,
818
+ mpl_toolkits/axes_grid1/__pycache__/inset_locator.cpython-312.pyc,,
819
+ mpl_toolkits/axes_grid1/__pycache__/mpl_axes.cpython-312.pyc,,
820
+ mpl_toolkits/axes_grid1/__pycache__/parasite_axes.cpython-312.pyc,,
821
+ mpl_toolkits/axes_grid1/anchored_artists.py,sha256=ZrOE3RiyT2ryUJ3gVqKxMynwJR28VtOZNKVZLIL29-c,17164
822
+ mpl_toolkits/axes_grid1/axes_divider.py,sha256=1HdcmRGLNJLqzB2P4TnzDLILEgT5OyAE1h0ewLyqrE0,21894
823
+ mpl_toolkits/axes_grid1/axes_grid.py,sha256=-jbfcf4CsKyrDymbkoEO5Nz1J_eytfGjRccD8xfnrU8,22631
824
+ mpl_toolkits/axes_grid1/axes_rgb.py,sha256=pabgaWJuLTCPw2FlT6Zfy5d0_95CEvaLeosWRTElR98,5227
825
+ mpl_toolkits/axes_grid1/axes_size.py,sha256=HRyPYDXlhj426dovCWx6oWng1JJd4t2fpVFN0MLGS2M,7714
826
+ mpl_toolkits/axes_grid1/inset_locator.py,sha256=VzUWJ_CRtx8-tnU0szFzmxoipXS6jr3Aa6F4LlweEVk,19906
827
+ mpl_toolkits/axes_grid1/mpl_axes.py,sha256=vFCttnj9JIgY3Mt2eOi-O_FVvdZ6SW_sBtIBFib6bz4,4251
828
+ mpl_toolkits/axes_grid1/parasite_axes.py,sha256=5X0KNsH2qyquv159imnSqEw_fGUfe2n0L3PZQFK8AMQ,9489
829
+ mpl_toolkits/axes_grid1/tests/__init__.py,sha256=sKLxL9jEJBX7eh5OumtXSOnTriPrJUkujTHFtnJVFrM,365
830
+ mpl_toolkits/axes_grid1/tests/__pycache__/__init__.cpython-312.pyc,,
831
+ mpl_toolkits/axes_grid1/tests/__pycache__/conftest.cpython-312.pyc,,
832
+ mpl_toolkits/axes_grid1/tests/__pycache__/test_axes_grid1.cpython-312.pyc,,
833
+ mpl_toolkits/axes_grid1/tests/conftest.py,sha256=iIRgNlbYBxc9J044HaFllX2eF_usr_K56NRwlLl0fx4,128
834
+ mpl_toolkits/axes_grid1/tests/test_axes_grid1.py,sha256=rTTELyuC4pMYXgTW46tcRto1PAg_LCgP3Vy52G74ETY,29149
835
+ mpl_toolkits/axisartist/__init__.py,sha256=RPaNDl22FbmDP7ZRsku1yCqpoNqcclCk0a3rXj3G7fE,631
836
+ mpl_toolkits/axisartist/__pycache__/__init__.cpython-312.pyc,,
837
+ mpl_toolkits/axisartist/__pycache__/angle_helper.cpython-312.pyc,,
838
+ mpl_toolkits/axisartist/__pycache__/axes_divider.cpython-312.pyc,,
839
+ mpl_toolkits/axisartist/__pycache__/axis_artist.cpython-312.pyc,,
840
+ mpl_toolkits/axisartist/__pycache__/axisline_style.cpython-312.pyc,,
841
+ mpl_toolkits/axisartist/__pycache__/axislines.cpython-312.pyc,,
842
+ mpl_toolkits/axisartist/__pycache__/floating_axes.cpython-312.pyc,,
843
+ mpl_toolkits/axisartist/__pycache__/grid_finder.cpython-312.pyc,,
844
+ mpl_toolkits/axisartist/__pycache__/grid_helper_curvelinear.cpython-312.pyc,,
845
+ mpl_toolkits/axisartist/__pycache__/parasite_axes.cpython-312.pyc,,
846
+ mpl_toolkits/axisartist/angle_helper.py,sha256=XWpJgc2aI5TcfMTe8LXCKQo3itMYrFV-N-OqP9qEDU8,13075
847
+ mpl_toolkits/axisartist/axes_divider.py,sha256=65xSCQ9cHSC3KE7J7HxS4bfsDTAbPmwyz1jJ43BqnBs,122
848
+ mpl_toolkits/axisartist/axis_artist.py,sha256=FKZa4dV2XFRUduHUPDFI1bmD9O-HMHnSgowmFpgCmmI,39652
849
+ mpl_toolkits/axisartist/axisline_style.py,sha256=_M3Y-UdwLMTy25rhMnhFQtPRSf9q4czeSCJnh3d2h5I,6698
850
+ mpl_toolkits/axisartist/axislines.py,sha256=0sNXeYuD5ADSSQH445AwXRnY3sbGAetqJkhZL0O_pT4,16217
851
+ mpl_toolkits/axisartist/floating_axes.py,sha256=uFYqo5KvXwzWn1IT8HDIyjG3hK0R04DVifQCOMeDHYo,9995
852
+ mpl_toolkits/axisartist/grid_finder.py,sha256=oiiDAXGt9OUa_geD1Y9zWaLkok6ABZkT-ZP6kFyLawI,12734
853
+ mpl_toolkits/axisartist/grid_helper_curvelinear.py,sha256=aU65Cnj9vEJylDDFpauYIIIJhaQFg1BGVzSuK6zi7so,13506
854
+ mpl_toolkits/axisartist/parasite_axes.py,sha256=Ydi4-0Lbczr6K7Sz1-fRwK4Tm8KlHrOIumx67Xbo_9c,244
855
+ mpl_toolkits/axisartist/tests/__init__.py,sha256=sKLxL9jEJBX7eh5OumtXSOnTriPrJUkujTHFtnJVFrM,365
856
+ mpl_toolkits/axisartist/tests/__pycache__/__init__.cpython-312.pyc,,
857
+ mpl_toolkits/axisartist/tests/__pycache__/conftest.cpython-312.pyc,,
858
+ mpl_toolkits/axisartist/tests/__pycache__/test_angle_helper.cpython-312.pyc,,
859
+ mpl_toolkits/axisartist/tests/__pycache__/test_axis_artist.cpython-312.pyc,,
860
+ mpl_toolkits/axisartist/tests/__pycache__/test_axislines.cpython-312.pyc,,
861
+ mpl_toolkits/axisartist/tests/__pycache__/test_floating_axes.cpython-312.pyc,,
862
+ mpl_toolkits/axisartist/tests/__pycache__/test_grid_finder.cpython-312.pyc,,
863
+ mpl_toolkits/axisartist/tests/__pycache__/test_grid_helper_curvelinear.cpython-312.pyc,,
864
+ mpl_toolkits/axisartist/tests/conftest.py,sha256=iIRgNlbYBxc9J044HaFllX2eF_usr_K56NRwlLl0fx4,128
865
+ mpl_toolkits/axisartist/tests/test_angle_helper.py,sha256=PwhJwBm2kk4uMyhdO5arQs8IlqSX2vN0hvUzI7YHqrw,5670
866
+ mpl_toolkits/axisartist/tests/test_axis_artist.py,sha256=wXS2DUOvE6KkJeH6ZtMW6zXOiarfy2leqGKD8A-XGfQ,3707
867
+ mpl_toolkits/axisartist/tests/test_axislines.py,sha256=iIYs5evzQ3BwXetimfXNZ5ELjtIsq8HRojYwaZfvRK0,4619
868
+ mpl_toolkits/axisartist/tests/test_floating_axes.py,sha256=LzcunaAVpCqMIUdKDaO2Pzr6S1OPru86t_9zWgSWpy4,4644
869
+ mpl_toolkits/axisartist/tests/test_grid_finder.py,sha256=cwQLDOdcJbAY2E7dr8595yzuNh1_Yh80r_O8WGT2hMY,1156
870
+ mpl_toolkits/axisartist/tests/test_grid_helper_curvelinear.py,sha256=MzJcslJ4fvvWEFjxCzh9s9ur173al_U2-KqEuiax1qw,7255
871
+ mpl_toolkits/mplot3d/__init__.py,sha256=fH9HdMfFMvjbIWqy2gjQnm2m3ae1CvLiuH6LwKHo0kI,49
872
+ mpl_toolkits/mplot3d/__pycache__/__init__.cpython-312.pyc,,
873
+ mpl_toolkits/mplot3d/__pycache__/art3d.cpython-312.pyc,,
874
+ mpl_toolkits/mplot3d/__pycache__/axes3d.cpython-312.pyc,,
875
+ mpl_toolkits/mplot3d/__pycache__/axis3d.cpython-312.pyc,,
876
+ mpl_toolkits/mplot3d/__pycache__/proj3d.cpython-312.pyc,,
877
+ mpl_toolkits/mplot3d/art3d.py,sha256=ren1NFwzxWwMNfRNNHPZPBLVaI5R1YrnNy6aGjzp85Q,62109
878
+ mpl_toolkits/mplot3d/axes3d.py,sha256=aCOw5p_lQlXugt45Ku76xeKBPyMgTuyLGtVAoDV67jU,171222
879
+ mpl_toolkits/mplot3d/axis3d.py,sha256=2wqbeC9cjt-rCVKBPTZOo7qcZABEkaRe2IdsCDHngsg,32006
880
+ mpl_toolkits/mplot3d/proj3d.py,sha256=SlJKkliaUhuAJ4VjDU1xMP8V-JiZbcIs6ugtgQUTRM0,8014
881
+ mpl_toolkits/mplot3d/tests/__init__.py,sha256=sKLxL9jEJBX7eh5OumtXSOnTriPrJUkujTHFtnJVFrM,365
882
+ mpl_toolkits/mplot3d/tests/__pycache__/__init__.cpython-312.pyc,,
883
+ mpl_toolkits/mplot3d/tests/__pycache__/conftest.cpython-312.pyc,,
884
+ mpl_toolkits/mplot3d/tests/__pycache__/test_art3d.cpython-312.pyc,,
885
+ mpl_toolkits/mplot3d/tests/__pycache__/test_axes3d.cpython-312.pyc,,
886
+ mpl_toolkits/mplot3d/tests/__pycache__/test_legend3d.cpython-312.pyc,,
887
+ mpl_toolkits/mplot3d/tests/conftest.py,sha256=iIRgNlbYBxc9J044HaFllX2eF_usr_K56NRwlLl0fx4,128
888
+ mpl_toolkits/mplot3d/tests/test_art3d.py,sha256=oQlgtY24BEIfE4hpD1-O4GaYwW7Zqj2oKrcSMWNAPj8,3768
889
+ mpl_toolkits/mplot3d/tests/test_axes3d.py,sha256=hELj8LOwuZ629nkuym-Tf3QVmi9urfAC6p0JZNBOGXw,114526
890
+ mpl_toolkits/mplot3d/tests/test_legend3d.py,sha256=RxaPp7UlHHm_WUQYmQapktEh7BN4BrP30VmouGcJycU,4421
891
+ pylab.py,sha256=zUXU0l7e7C5jmDSJbM0GLQxBun3xzuXNf1tuoZYA6Xk,110
.venv/lib/python3.12/site-packages/matplotlib-3.11.2.dist-info/WHEEL ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ Wheel-Version: 1.0
2
+ Generator: meson
3
+ Root-Is-Purelib: false
4
+ Tag: cp312-cp312-manylinux_2_17_x86_64
5
+ Tag: cp312-cp312-manylinux2014_x86_64
6
+
.venv/lib/python3.12/site-packages/matplotlib/spines.py ADDED
@@ -0,0 +1,612 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from collections.abc import MutableMapping
2
+ import functools
3
+
4
+ import numpy as np
5
+
6
+ import matplotlib as mpl
7
+ from matplotlib import _api, _docstring
8
+ from matplotlib.artist import allow_rasterization
9
+ import matplotlib.transforms as mtransforms
10
+ import matplotlib.patches as mpatches
11
+ import matplotlib.path as mpath
12
+
13
+
14
+ class Spine(mpatches.Patch):
15
+ """
16
+ An axis spine -- the line noting the data area boundaries.
17
+
18
+ Spines are the lines connecting the axis tick marks and noting the
19
+ boundaries of the data area. They can be placed at arbitrary
20
+ positions. See `~.Spine.set_position` for more information.
21
+
22
+ The default position is ``('outward', 0)``.
23
+
24
+ Spines are subclasses of `.Patch`, and inherit much of their behavior.
25
+
26
+ Spines draw a line, a circle, or an arc depending on if
27
+ `~.Spine.set_patch_line`, `~.Spine.set_patch_circle`, or
28
+ `~.Spine.set_patch_arc` has been called. Line-like is the default.
29
+
30
+ For examples see :ref:`spines_examples`.
31
+ """
32
+ def __str__(self):
33
+ return "Spine"
34
+
35
+ @_docstring.interpd
36
+ def __init__(self, axes, spine_type, path, **kwargs):
37
+ """
38
+ Parameters
39
+ ----------
40
+ axes : `~matplotlib.axes.Axes`
41
+ The `~.axes.Axes` instance containing the spine.
42
+ spine_type : str
43
+ The spine type.
44
+ path : `~matplotlib.path.Path`
45
+ The `.Path` instance used to draw the spine.
46
+
47
+ Other Parameters
48
+ ----------------
49
+ **kwargs
50
+ Valid keyword arguments are:
51
+
52
+ %(Patch:kwdoc)s
53
+ """
54
+ super().__init__(**kwargs)
55
+ self.axes = axes
56
+ self.set_figure(self.axes.get_figure(root=False))
57
+ self.spine_type = spine_type
58
+ self.set_facecolor('none')
59
+ self.set_edgecolor(mpl.rcParams['axes.edgecolor'])
60
+ self.set_linewidth(mpl.rcParams['axes.linewidth'])
61
+ self.set_capstyle('projecting')
62
+ self.axis = None
63
+
64
+ self.set_zorder(2.5)
65
+ self.set_transform(self.axes.transData) # default transform
66
+
67
+ self._bounds = None # default bounds
68
+
69
+ # Defer initial position determination. (Not much support for
70
+ # non-rectangular axes is currently implemented, and this lets
71
+ # them pass through the spines machinery without errors.)
72
+ self._position = None
73
+ _api.check_isinstance(mpath.Path, path=path)
74
+ self._path = path
75
+
76
+ # To support drawing both linear and circular spines, this
77
+ # class implements Patch behavior three ways. If
78
+ # self._patch_type == 'line', behave like a mpatches.PathPatch
79
+ # instance. If self._patch_type == 'circle', behave like a
80
+ # mpatches.Ellipse instance. If self._patch_type == 'arc', behave like
81
+ # a mpatches.Arc instance.
82
+ self._patch_type = 'line'
83
+
84
+ # Behavior copied from mpatches.Ellipse:
85
+ # Note: This cannot be calculated until this is added to an Axes
86
+ self._patch_transform = mtransforms.IdentityTransform()
87
+
88
+ def set_patch_arc(self, center, radius, theta1, theta2):
89
+ """Set the spine to be arc-like."""
90
+ self._patch_type = 'arc'
91
+ self._center = center
92
+ self._width = radius * 2
93
+ self._height = radius * 2
94
+ self._theta1 = theta1
95
+ self._theta2 = theta2
96
+ self._path = mpath.Path.arc(theta1, theta2)
97
+ # arc drawn on axes transform
98
+ self.set_transform(self.axes.transAxes)
99
+ self.stale = True
100
+
101
+ def set_patch_circle(self, center, radius):
102
+ """Set the spine to be circular."""
103
+ self._patch_type = 'circle'
104
+ self._center = center
105
+ self._width = radius * 2
106
+ self._height = radius * 2
107
+ # circle drawn on axes transform
108
+ self.set_transform(self.axes.transAxes)
109
+ self.stale = True
110
+
111
+ def set_patch_line(self):
112
+ """Set the spine to be linear."""
113
+ self._patch_type = 'line'
114
+ self.stale = True
115
+
116
+ # Behavior copied from mpatches.Ellipse:
117
+ def _recompute_transform(self):
118
+ """
119
+ Notes
120
+ -----
121
+ This cannot be called until after this has been added to an Axes,
122
+ otherwise unit conversion will fail. This makes it very important to
123
+ call the accessor method and not directly access the transformation
124
+ member variable.
125
+ """
126
+ assert self._patch_type in ('arc', 'circle')
127
+ center = (self.convert_xunits(self._center[0]),
128
+ self.convert_yunits(self._center[1]))
129
+ width = self.convert_xunits(self._width)
130
+ height = self.convert_yunits(self._height)
131
+ self._patch_transform = mtransforms.Affine2D() \
132
+ .scale(width * 0.5, height * 0.5) \
133
+ .translate(*center)
134
+
135
+ def get_patch_transform(self):
136
+ if self._patch_type in ('arc', 'circle'):
137
+ self._recompute_transform()
138
+ return self._patch_transform
139
+ else:
140
+ return super().get_patch_transform()
141
+
142
+ def get_window_extent(self, renderer=None):
143
+ """
144
+ Return the window extent of the spines in display space, including
145
+ padding for ticks (but not their labels)
146
+
147
+ See Also
148
+ --------
149
+ matplotlib.axes.Axes.get_tightbbox
150
+ matplotlib.axes.Axes.get_window_extent
151
+ """
152
+ # make sure the location is updated so that transforms etc are correct:
153
+ self._adjust_location()
154
+ bb = super().get_window_extent(renderer=renderer)
155
+ if self.axis is None or not self.axis.get_visible():
156
+ return bb
157
+ bboxes = [bb]
158
+ drawn_ticks = self.axis._update_ticks()
159
+
160
+ major_tick = next(iter({*drawn_ticks} & {*self.axis.majorTicks}), None)
161
+ minor_tick = next(iter({*drawn_ticks} & {*self.axis.minorTicks}), None)
162
+ for tick in [major_tick, minor_tick]:
163
+ if tick is None:
164
+ continue
165
+ bb0 = bb.frozen()
166
+ tickl = tick._size
167
+ tickdir = tick._tickdir
168
+ if tickdir == 'out':
169
+ padout = 1
170
+ padin = 0
171
+ elif tickdir == 'in':
172
+ padout = 0
173
+ padin = 1
174
+ else:
175
+ padout = 0.5
176
+ padin = 0.5
177
+ dpi = self.get_figure(root=True).dpi
178
+ padout = padout * tickl / 72 * dpi
179
+ padin = padin * tickl / 72 * dpi
180
+
181
+ if tick.tick1line.get_visible():
182
+ if self.spine_type == 'left':
183
+ bb0.x0 = bb0.x0 - padout
184
+ bb0.x1 = bb0.x1 + padin
185
+ elif self.spine_type == 'bottom':
186
+ bb0.y0 = bb0.y0 - padout
187
+ bb0.y1 = bb0.y1 + padin
188
+
189
+ if tick.tick2line.get_visible():
190
+ if self.spine_type == 'right':
191
+ bb0.x1 = bb0.x1 + padout
192
+ bb0.x0 = bb0.x0 - padin
193
+ elif self.spine_type == 'top':
194
+ bb0.y1 = bb0.y1 + padout
195
+ bb0.y0 = bb0.y0 - padout
196
+ bboxes.append(bb0)
197
+
198
+ return mtransforms.Bbox.union(bboxes)
199
+
200
+ def get_path(self):
201
+ return self._path
202
+
203
+ def _ensure_position_is_set(self):
204
+ if self._position is None:
205
+ # default position
206
+ self._position = ('outward', 0.0) # in points
207
+ self.set_position(self._position)
208
+
209
+ def register_axis(self, axis):
210
+ """
211
+ Register an axis.
212
+
213
+ An axis should be registered with its corresponding spine from
214
+ the Axes instance. This allows the spine to clear any axis
215
+ properties when needed.
216
+ """
217
+ self.axis = axis
218
+ self.stale = True
219
+
220
+ def clear(self):
221
+ """Clear the current spine."""
222
+ self._clear()
223
+ if self.axis is not None:
224
+ self.axis.clear()
225
+
226
+ def _clear(self):
227
+ """
228
+ Clear things directly related to the spine.
229
+
230
+ In this way it is possible to avoid clearing the Axis as well when calling
231
+ from library code where it is known that the Axis is cleared separately.
232
+ """
233
+ self._position = None # clear position
234
+
235
+ def _get_bounds_or_viewLim(self):
236
+ """
237
+ Get the bounds of the spine.
238
+
239
+ If self._bounds is None, return self.axes.viewLim.intervalx
240
+ or self.axes.viewLim.intervaly based on self.spine_type
241
+ """
242
+ if self._bounds is not None:
243
+ low, high = self._bounds
244
+ elif self.spine_type in ('left', 'right'):
245
+ low, high = self.axes.viewLim.intervaly
246
+ elif self.spine_type in ('top', 'bottom'):
247
+ low, high = self.axes.viewLim.intervalx
248
+ else:
249
+ raise ValueError(f'spine_type: {self.spine_type} not supported')
250
+ return low, high
251
+
252
+ def _adjust_location(self):
253
+ """Automatically set spine bounds to the view interval."""
254
+
255
+ if self.spine_type == 'circle':
256
+ return
257
+
258
+ low, high = self._get_bounds_or_viewLim()
259
+
260
+ if self._patch_type == 'arc':
261
+ if self.spine_type in ('bottom', 'top'):
262
+ try:
263
+ direction = self.axes.get_theta_direction()
264
+ except AttributeError:
265
+ direction = 1
266
+ try:
267
+ offset = self.axes.get_theta_offset()
268
+ except AttributeError:
269
+ offset = 0
270
+ low = low * direction + offset
271
+ high = high * direction + offset
272
+ if low > high:
273
+ low, high = high, low
274
+
275
+ self._path = mpath.Path.arc(np.rad2deg(low), np.rad2deg(high))
276
+
277
+ if self.spine_type == 'bottom':
278
+ if self.axis is None:
279
+ tr = mtransforms.IdentityTransform()
280
+ else:
281
+ tr = self.axis.get_transform()
282
+ rmin, rmax = tr.transform(self.axes.viewLim.intervaly)
283
+ try:
284
+ rorigin = self.axes.get_rorigin()
285
+ except AttributeError:
286
+ rorigin = rmin
287
+ else:
288
+ rorigin = tr.transform(rorigin)
289
+ scaled_diameter = (rmin - rorigin) / (rmax - rorigin)
290
+ self._height = scaled_diameter
291
+ self._width = scaled_diameter
292
+
293
+ else:
294
+ raise ValueError('unable to set bounds for spine "%s"' %
295
+ self.spine_type)
296
+ else:
297
+ v1 = self._path.vertices
298
+ assert v1.shape == (2, 2), 'unexpected vertices shape'
299
+ if self.spine_type in ['left', 'right']:
300
+ v1[0, 1] = low
301
+ v1[1, 1] = high
302
+ elif self.spine_type in ['bottom', 'top']:
303
+ v1[0, 0] = low
304
+ v1[1, 0] = high
305
+ else:
306
+ raise ValueError('unable to set bounds for spine "%s"' %
307
+ self.spine_type)
308
+
309
+ @allow_rasterization
310
+ def draw(self, renderer):
311
+ self._adjust_location()
312
+ ret = super().draw(renderer)
313
+ self.stale = False
314
+ return ret
315
+
316
+ def set_position(self, position):
317
+ """
318
+ Set the position of the spine.
319
+
320
+ Spine position is specified by a 2 tuple of (position type,
321
+ amount). The position types are:
322
+
323
+ * 'outward': place the spine out from the data area by the specified
324
+ number of points. (Negative values place the spine inwards.)
325
+ * 'axes': place the spine at the specified Axes coordinate (0 to 1).
326
+ * 'data': place the spine at the specified data coordinate.
327
+
328
+ Additionally, shorthand notations define a special positions:
329
+
330
+ * 'center' -> ``('axes', 0.5)``
331
+ * 'zero' -> ``('data', 0.0)``
332
+
333
+ Examples
334
+ --------
335
+ :doc:`/gallery/spines/spine_placement_demo`
336
+ """
337
+ if position in ('center', 'zero'): # special positions
338
+ pass
339
+ else:
340
+ if len(position) != 2:
341
+ raise ValueError("position should be 'center' or 2-tuple")
342
+ if position[0] not in ['outward', 'axes', 'data']:
343
+ raise ValueError("position[0] should be one of 'outward', "
344
+ "'axes', or 'data' ")
345
+ self._position = position
346
+ self.set_transform(self.get_spine_transform())
347
+ if self.axis is not None:
348
+ self.axis.reset_ticks()
349
+ self.stale = True
350
+
351
+ def get_position(self):
352
+ """Return the spine position."""
353
+ self._ensure_position_is_set()
354
+ return self._position
355
+
356
+ def get_spine_transform(self):
357
+ """Return the spine transform."""
358
+ self._ensure_position_is_set()
359
+
360
+ position = self._position
361
+ if isinstance(position, str):
362
+ if position == 'center':
363
+ position = ('axes', 0.5)
364
+ elif position == 'zero':
365
+ position = ('data', 0)
366
+ assert len(position) == 2, 'position should be 2-tuple'
367
+ position_type, amount = position
368
+ _api.check_in_list(['axes', 'outward', 'data'],
369
+ position_type=position_type)
370
+ if self.spine_type in ['left', 'right']:
371
+ base_transform = self.axes.get_yaxis_transform(which='grid')
372
+ elif self.spine_type in ['top', 'bottom']:
373
+ base_transform = self.axes.get_xaxis_transform(which='grid')
374
+ else:
375
+ raise ValueError(f'unknown spine spine_type: {self.spine_type!r}')
376
+
377
+ if position_type == 'outward':
378
+ if amount == 0: # short circuit commonest case
379
+ return base_transform
380
+ else:
381
+ offset_vec = {'left': (-1, 0), 'right': (1, 0),
382
+ 'bottom': (0, -1), 'top': (0, 1),
383
+ }[self.spine_type]
384
+ # calculate x and y offset in dots
385
+ offset_dots = amount * np.array(offset_vec) / 72
386
+ return (base_transform
387
+ + mtransforms.ScaledTranslation(
388
+ *offset_dots, self.get_figure(root=False).dpi_scale_trans))
389
+ elif position_type == 'axes':
390
+ if self.spine_type in ['left', 'right']:
391
+ # keep y unchanged, fix x at amount
392
+ return (mtransforms.Affine2D.from_values(0, 0, 0, 1, amount, 0)
393
+ + base_transform)
394
+ elif self.spine_type in ['bottom', 'top']:
395
+ # keep x unchanged, fix y at amount
396
+ return (mtransforms.Affine2D.from_values(1, 0, 0, 0, 0, amount)
397
+ + base_transform)
398
+ elif position_type == 'data':
399
+ if self.spine_type in ('right', 'top'):
400
+ # The right and top spines have a default position of 1 in
401
+ # axes coordinates. When specifying the position in data
402
+ # coordinates, we need to calculate the position relative to 0.
403
+ amount -= 1
404
+ if self.spine_type in ('left', 'right'):
405
+ return mtransforms.blended_transform_factory(
406
+ mtransforms.Affine2D().translate(amount, 0)
407
+ + self.axes.transData,
408
+ self.axes.transData)
409
+ elif self.spine_type in ('bottom', 'top'):
410
+ return mtransforms.blended_transform_factory(
411
+ self.axes.transData,
412
+ mtransforms.Affine2D().translate(0, amount)
413
+ + self.axes.transData)
414
+
415
+ def set_bounds(self, low=None, high=None):
416
+ """
417
+ Set the spine bounds.
418
+
419
+ Parameters
420
+ ----------
421
+ low : float or None, optional
422
+ The lower spine bound. Passing *None* leaves the limit unchanged.
423
+
424
+ The bounds may also be passed as the tuple (*low*, *high*) as the
425
+ first positional argument.
426
+
427
+ .. ACCEPTS: (low: float, high: float)
428
+
429
+ high : float or None, optional
430
+ The higher spine bound. Passing *None* leaves the limit unchanged.
431
+ """
432
+ if self.spine_type == 'circle':
433
+ raise ValueError(
434
+ 'set_bounds() method incompatible with circular spines')
435
+ if high is None and np.iterable(low):
436
+ low, high = low
437
+ old_low, old_high = self._get_bounds_or_viewLim()
438
+ if low is None:
439
+ low = old_low
440
+ if high is None:
441
+ high = old_high
442
+ self._bounds = (low, high)
443
+ self.stale = True
444
+
445
+ def get_bounds(self):
446
+ """Get the bounds of the spine."""
447
+ return self._bounds
448
+
449
+ @classmethod
450
+ def linear_spine(cls, axes, spine_type, **kwargs):
451
+ """Create and return a linear `Spine`."""
452
+ # all values of 0.999 get replaced upon call to set_bounds()
453
+ if spine_type == 'left':
454
+ path = mpath.Path([(0.0, 0.999), (0.0, 0.999)])
455
+ elif spine_type == 'right':
456
+ path = mpath.Path([(1.0, 0.999), (1.0, 0.999)])
457
+ elif spine_type == 'bottom':
458
+ path = mpath.Path([(0.999, 0.0), (0.999, 0.0)])
459
+ elif spine_type == 'top':
460
+ path = mpath.Path([(0.999, 1.0), (0.999, 1.0)])
461
+ else:
462
+ raise ValueError('unable to make path for spine "%s"' % spine_type)
463
+ result = cls(axes, spine_type, path, **kwargs)
464
+ result.set_visible(mpl.rcParams[f'axes.spines.{spine_type}'])
465
+
466
+ return result
467
+
468
+ @classmethod
469
+ def arc_spine(cls, axes, spine_type, center, radius, theta1, theta2,
470
+ **kwargs):
471
+ """Create and return an arc `Spine`."""
472
+ path = mpath.Path.arc(theta1, theta2)
473
+ result = cls(axes, spine_type, path, **kwargs)
474
+ result.set_patch_arc(center, radius, theta1, theta2)
475
+ return result
476
+
477
+ @classmethod
478
+ def circular_spine(cls, axes, center, radius, **kwargs):
479
+ """Create and return a circular `Spine`."""
480
+ path = mpath.Path.unit_circle()
481
+ spine_type = 'circle'
482
+ result = cls(axes, spine_type, path, **kwargs)
483
+ result.set_patch_circle(center, radius)
484
+ return result
485
+
486
+ def set_color(self, c):
487
+ """
488
+ Set the edgecolor.
489
+
490
+ Parameters
491
+ ----------
492
+ c : :mpltype:`color`
493
+
494
+ Notes
495
+ -----
496
+ This method does not modify the facecolor (which defaults to "none"),
497
+ unlike the `.Patch.set_color` method defined in the parent class. Use
498
+ `.Patch.set_facecolor` to set the facecolor.
499
+ """
500
+ self.set_edgecolor(c)
501
+ self.stale = True
502
+
503
+
504
+ class SpinesProxy:
505
+ """
506
+ A proxy to broadcast ``set_*()`` and ``set()`` method calls to contained `.Spines`.
507
+
508
+ The proxy cannot be used for any other operations on its members.
509
+
510
+ The supported methods are determined dynamically based on the contained
511
+ spines. If not all spines support a given method, it's executed only on
512
+ the subset of spines that support it.
513
+ """
514
+ def __init__(self, spine_dict):
515
+ self._spine_dict = spine_dict
516
+
517
+ def __getattr__(self, name):
518
+ broadcast_targets = [spine for spine in self._spine_dict.values()
519
+ if hasattr(spine, name)]
520
+ if (name != 'set' and not name.startswith('set_')) or not broadcast_targets:
521
+ raise AttributeError(
522
+ f"'SpinesProxy' object has no attribute '{name}'")
523
+
524
+ def x(_targets, _funcname, *args, **kwargs):
525
+ for spine in _targets:
526
+ getattr(spine, _funcname)(*args, **kwargs)
527
+ x = functools.partial(x, broadcast_targets, name)
528
+ x.__doc__ = broadcast_targets[0].__doc__
529
+ return x
530
+
531
+ def __dir__(self):
532
+ names = []
533
+ for spine in self._spine_dict.values():
534
+ names.extend(name
535
+ for name in dir(spine) if name.startswith('set_'))
536
+ return list(sorted(set(names)))
537
+
538
+
539
+ class Spines(MutableMapping):
540
+ r"""
541
+ The container of all `.Spine`\s in an Axes.
542
+
543
+ The interface is dict-like mapping names (e.g. 'left') to `.Spine` objects.
544
+ Additionally, it implements some pandas.Series-like features like accessing
545
+ elements by attribute::
546
+
547
+ spines['top'].set_visible(False)
548
+ spines.top.set_visible(False)
549
+
550
+ Multiple spines can be addressed simultaneously by passing a list::
551
+
552
+ spines[['top', 'right']].set_visible(False)
553
+
554
+ Use an open slice to address all spines::
555
+
556
+ spines[:].set_visible(False)
557
+
558
+ The latter two indexing methods will return a `SpinesProxy` that broadcasts all
559
+ ``set_*()`` and ``set()`` calls to its members, but cannot be used for any other
560
+ operation.
561
+ """
562
+ def __init__(self, **kwargs):
563
+ self._dict = kwargs
564
+
565
+ @classmethod
566
+ def from_dict(cls, d):
567
+ return cls(**d)
568
+
569
+ def __getstate__(self):
570
+ return self._dict
571
+
572
+ def __setstate__(self, state):
573
+ self.__init__(**state)
574
+
575
+ def __getattr__(self, name):
576
+ try:
577
+ return self._dict[name]
578
+ except KeyError:
579
+ raise AttributeError(
580
+ f"'Spines' object does not contain a '{name}' spine")
581
+
582
+ def __getitem__(self, key):
583
+ if isinstance(key, list):
584
+ unknown_keys = [k for k in key if k not in self._dict]
585
+ if unknown_keys:
586
+ raise KeyError(', '.join(unknown_keys))
587
+ return SpinesProxy({k: v for k, v in self._dict.items()
588
+ if k in key})
589
+ if isinstance(key, tuple):
590
+ raise ValueError('Multiple spines must be passed as a single list')
591
+ if isinstance(key, slice):
592
+ if key.start is None and key.stop is None and key.step is None:
593
+ return SpinesProxy(self._dict)
594
+ else:
595
+ raise ValueError(
596
+ 'Spines does not support slicing except for the fully '
597
+ 'open slice [:] to access all spines.')
598
+ return self._dict[key]
599
+
600
+ def __setitem__(self, key, value):
601
+ # TODO: Do we want to deprecate adding spines?
602
+ self._dict[key] = value
603
+
604
+ def __delitem__(self, key):
605
+ # TODO: Do we want to deprecate deleting spines?
606
+ del self._dict[key]
607
+
608
+ def __iter__(self):
609
+ return iter(self._dict)
610
+
611
+ def __len__(self):
612
+ return len(self._dict)
.venv/lib/python3.12/site-packages/matplotlib/spines.pyi ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from collections.abc import Callable, Iterator, MutableMapping
2
+ from typing import Literal, TypeVar, overload
3
+
4
+ import matplotlib.patches as mpatches
5
+ from matplotlib.axes import Axes
6
+ from matplotlib.axis import Axis
7
+ from matplotlib.path import Path
8
+ from matplotlib.transforms import Transform
9
+ from matplotlib.typing import ColorType
10
+
11
+ class Spine(mpatches.Patch):
12
+ axes: Axes
13
+ spine_type: str
14
+ axis: Axis | None
15
+ def __init__(self, axes: Axes, spine_type: str, path: Path, **kwargs) -> None: ...
16
+ def set_patch_arc(
17
+ self, center: tuple[float, float], radius: float, theta1: float, theta2: float
18
+ ) -> None: ...
19
+ def set_patch_circle(self, center: tuple[float, float], radius: float) -> None: ...
20
+ def set_patch_line(self) -> None: ...
21
+ def get_patch_transform(self) -> Transform: ...
22
+ def get_path(self) -> Path: ...
23
+ def register_axis(self, axis: Axis) -> None: ...
24
+ def clear(self) -> None: ...
25
+ def set_position(
26
+ self,
27
+ position: Literal["center", "zero"]
28
+ | tuple[Literal["outward", "axes", "data"], float],
29
+ ) -> None: ...
30
+ def get_position(
31
+ self,
32
+ ) -> Literal["center", "zero"] | tuple[
33
+ Literal["outward", "axes", "data"], float
34
+ ]: ...
35
+ def get_spine_transform(self) -> Transform: ...
36
+ def set_bounds(self, low: float | None = ..., high: float | None = ...) -> None: ...
37
+ def get_bounds(self) -> tuple[float, float]: ...
38
+
39
+ _T = TypeVar("_T", bound=Spine)
40
+ @classmethod
41
+ def linear_spine(
42
+ cls: type[_T],
43
+ axes: Axes,
44
+ spine_type: Literal["left", "right", "bottom", "top"],
45
+ **kwargs
46
+ ) -> _T: ...
47
+ @classmethod
48
+ def arc_spine(
49
+ cls: type[_T],
50
+ axes: Axes,
51
+ spine_type: Literal["left", "right", "bottom", "top"],
52
+ center: tuple[float, float],
53
+ radius: float,
54
+ theta1: float,
55
+ theta2: float,
56
+ **kwargs
57
+ ) -> _T: ...
58
+ @classmethod
59
+ def circular_spine(
60
+ cls: type[_T], axes: Axes, center: tuple[float, float], radius: float, **kwargs
61
+ ) -> _T: ...
62
+ def set_color(self, c: ColorType | None) -> None: ...
63
+
64
+ class SpinesProxy:
65
+ def __init__(self, spine_dict: dict[str, Spine]) -> None: ...
66
+ def __getattr__(self, name: str) -> Callable[..., None]: ...
67
+ def __dir__(self) -> list[str]: ...
68
+
69
+ class Spines(MutableMapping[str, Spine]):
70
+ def __init__(self, **kwargs: Spine) -> None: ...
71
+ @classmethod
72
+ def from_dict(cls, d: dict[str, Spine]) -> Spines: ...
73
+ def __getattr__(self, name: str) -> Spine: ...
74
+ @overload
75
+ def __getitem__(self, key: str) -> Spine: ...
76
+ @overload
77
+ def __getitem__(self, key: list[str]) -> SpinesProxy: ...
78
+ @overload
79
+ def __getitem__(self, key: slice) -> SpinesProxy: ...
80
+ def __setitem__(self, key: str, value: Spine) -> None: ...
81
+ def __delitem__(self, key: str) -> None: ...
82
+ def __iter__(self) -> Iterator[str]: ...
83
+ def __len__(self) -> int: ...
.venv/lib/python3.12/site-packages/matplotlib/stackplot.py ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ Stacked area plot for 1D arrays inspired by Douglas Y'barbo's stackoverflow
3
+ answer:
4
+ https://stackoverflow.com/q/2225995/
5
+
6
+ (https://stackoverflow.com/users/66549/doug)
7
+ """
8
+
9
+
10
+ import numpy as np
11
+
12
+ from matplotlib import cbook, collections, _api, _style_helpers
13
+
14
+ __all__ = ['stackplot']
15
+
16
+
17
+ def stackplot(axes, x, *args,
18
+ labels=(), colors=None, baseline='zero',
19
+ **kwargs):
20
+ """
21
+ Draw a stacked area plot or a streamgraph.
22
+
23
+ Parameters
24
+ ----------
25
+ x : (N,) array-like
26
+
27
+ y : (M, N) array-like
28
+ The data can be either stacked or unstacked. Each of the following
29
+ calls is legal::
30
+
31
+ stackplot(x, y) # where y has shape (M, N) e.g. y = [y1, y2, y3, y4]
32
+ stackplot(x, y1, y2, y3, y4) # where y1, y2, y3, y4 have length N
33
+
34
+ baseline : {'zero', 'sym', 'wiggle', 'weighted_wiggle'}
35
+ Method used to calculate the baseline:
36
+
37
+ - ``'zero'``: Constant zero baseline, i.e. a simple stacked plot.
38
+ - ``'sym'``: Symmetric around zero and is sometimes called
39
+ 'ThemeRiver'.
40
+ - ``'wiggle'``: Minimizes the sum of the squared slopes.
41
+ - ``'weighted_wiggle'``: Does the same but weights to account for
42
+ size of each layer. It is also called 'Streamgraph'-layout. More
43
+ details can be found at http://leebyron.com/streamgraph/.
44
+
45
+ labels : list of str, optional
46
+ A sequence of labels to assign to each data series. If unspecified,
47
+ then no labels will be applied to artists.
48
+
49
+ colors : list of :mpltype:`color`, optional
50
+ A sequence of colors to be cycled through and used to color the stacked
51
+ areas. The sequence need not be exactly the same length as the number
52
+ of provided *y*, in which case the colors will repeat from the
53
+ beginning.
54
+
55
+ If not specified, the colors from the Axes property cycle will be used.
56
+
57
+ data : indexable object, optional
58
+ DATA_PARAMETER_PLACEHOLDER
59
+
60
+ **kwargs
61
+ All other keyword arguments are passed to `.Axes.fill_between`. The
62
+ following parameters additionally accept a sequence of values
63
+ corresponding to the *y* datasets:
64
+
65
+ - *hatch*
66
+ - *edgecolor*
67
+ - *facecolor*
68
+ - *linewidth*
69
+ - *linestyle*
70
+
71
+ .. versionadded:: 3.9
72
+ Allowing a sequence of strings for *hatch*.
73
+
74
+ .. versionadded:: 3.11
75
+ Allowing sequences of values in above listed `.Axes.fill_between`
76
+ parameters.
77
+
78
+ Returns
79
+ -------
80
+ list of `.PolyCollection`
81
+ A list of `.PolyCollection` instances, one for each element in the
82
+ stacked area plot.
83
+ """
84
+
85
+ y = np.vstack(args)
86
+
87
+ labels = iter(labels)
88
+ if colors is None:
89
+ colors = [axes._get_lines.get_next_color() for _ in y]
90
+
91
+ kwargs = cbook.normalize_kwargs(kwargs, collections.PolyCollection)
92
+ kwargs.setdefault('facecolor', colors)
93
+
94
+ kwargs, style_gen = _style_helpers.style_generator(kwargs)
95
+
96
+ # Assume data passed has not been 'stacked', so stack it here.
97
+ # We'll need a float buffer for the upcoming calculations.
98
+ stack = np.cumsum(y, axis=0, dtype=np.promote_types(y.dtype, np.float32))
99
+
100
+ _api.check_in_list(['zero', 'sym', 'wiggle', 'weighted_wiggle'],
101
+ baseline=baseline)
102
+ if baseline == 'zero':
103
+ first_line = 0.
104
+
105
+ elif baseline == 'sym':
106
+ first_line = -np.sum(y, 0) * 0.5
107
+ stack += first_line[None, :]
108
+
109
+ elif baseline == 'wiggle':
110
+ m = y.shape[0]
111
+ first_line = (y * (m - 0.5 - np.arange(m)[:, None])).sum(0)
112
+ first_line /= -m
113
+ stack += first_line
114
+
115
+ elif baseline == 'weighted_wiggle':
116
+ total = np.sum(y, 0)
117
+ # multiply by 1/total (or zero) to avoid infinities in the division:
118
+ inv_total = np.zeros_like(total)
119
+ mask = total > 0
120
+ inv_total[mask] = 1.0 / total[mask]
121
+ increase = np.hstack((y[:, 0:1], np.diff(y)))
122
+ below_size = total - stack
123
+ below_size += 0.5 * y
124
+ move_up = below_size * inv_total
125
+ move_up[:, 0] = 0.5
126
+ center = (move_up - 0.5) * increase
127
+ center = np.cumsum(center.sum(0))
128
+ first_line = center - 0.5 * total
129
+ stack += first_line
130
+
131
+ # Color between x = 0 and the first array.
132
+ coll = axes.fill_between(x, first_line, stack[0, :],
133
+ label=next(labels, None),
134
+ **next(style_gen), **kwargs)
135
+ coll.sticky_edges.y[:] = [0]
136
+ r = [coll]
137
+
138
+ # Color between array i-1 and array i
139
+ for i in range(len(y) - 1):
140
+ r.append(axes.fill_between(x, stack[i, :], stack[i + 1, :],
141
+ label=next(labels, None),
142
+ **next(style_gen), **kwargs))
143
+ return r
.venv/lib/python3.12/site-packages/matplotlib/stackplot.pyi ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from matplotlib.axes import Axes
2
+ from matplotlib.collections import PolyCollection
3
+
4
+ from collections.abc import Iterable
5
+ from typing import Literal
6
+ from numpy.typing import ArrayLike
7
+ from matplotlib.typing import ColorType
8
+
9
+ def stackplot(
10
+ axes: Axes,
11
+ x: ArrayLike,
12
+ *args: ArrayLike,
13
+ labels: Iterable[str] = ...,
14
+ colors: Iterable[ColorType] | None = ...,
15
+ hatch: Iterable[str] | str | None = ...,
16
+ baseline: Literal["zero", "sym", "wiggle", "weighted_wiggle"] = ...,
17
+ **kwargs
18
+ ) -> list[PolyCollection]: ...
19
+
20
+ __all__ = ['stackplot']
.venv/lib/python3.12/site-packages/matplotlib/streamplot.py ADDED
@@ -0,0 +1,767 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ Streamline plotting for 2D vector fields.
3
+
4
+ """
5
+
6
+ import numpy as np
7
+
8
+ import matplotlib as mpl
9
+ from matplotlib import _api, colorizer, patches
10
+ import matplotlib.colors as mcolors
11
+ import matplotlib.collections as mcollections
12
+ import matplotlib.lines as mlines
13
+
14
+
15
+ __all__ = ['streamplot']
16
+
17
+
18
+ def streamplot(axes, x, y, u, v, density=1, linewidth=None, color=None,
19
+ cmap=None, norm=None, arrowsize=1, arrowstyle='-|>',
20
+ minlength=0.1, transform=None, zorder=None, start_points=None,
21
+ maxlength=4.0, integration_direction='both',
22
+ broken_streamlines=True, *, integration_max_step_scale=1.0,
23
+ integration_max_error_scale=1.0, num_arrows=1):
24
+ """
25
+ Draw streamlines of a vector flow.
26
+
27
+ Parameters
28
+ ----------
29
+ x, y : 1D/2D arrays
30
+ Evenly spaced strictly increasing arrays to make a grid. If 2D, all
31
+ rows of *x* must be equal and all columns of *y* must be equal; i.e.,
32
+ they must be as if generated by ``np.meshgrid(x_1d, y_1d)``.
33
+ u, v : 2D arrays
34
+ *x* and *y*-velocities. The number of rows and columns must match
35
+ the length of *y* and *x*, respectively.
36
+ density : float or (float, float)
37
+ Controls the closeness of streamlines. When ``density = 1``, the domain
38
+ is divided into a 30x30 grid. *density* linearly scales this grid.
39
+ Each cell in the grid can have, at most, one traversing streamline.
40
+ For different densities in each direction, use a tuple
41
+ (density_x, density_y).
42
+ linewidth : float or 2D array
43
+ The width of the streamlines. With a 2D array the line width can be
44
+ varied across the grid. The array must have the same shape as *u*
45
+ and *v*.
46
+ color : :mpltype:`color` or 2D array
47
+ The streamline color. If given an array, its values are converted to
48
+ colors using *cmap* and *norm*. The array must have the same shape
49
+ as *u* and *v*.
50
+ cmap, norm
51
+ Data normalization and colormapping parameters for *color*; only used
52
+ if *color* is an array of floats. See `~.Axes.imshow` for a detailed
53
+ description.
54
+ arrowsize : float
55
+ Scaling factor for the arrow size.
56
+ arrowstyle : str
57
+ Arrow style specification.
58
+ See `~matplotlib.patches.FancyArrowPatch`.
59
+ minlength : float
60
+ Minimum length of streamline in axes coordinates.
61
+ start_points : (N, 2) array
62
+ Coordinates of starting points for the streamlines in data coordinates
63
+ (the same coordinates as the *x* and *y* arrays).
64
+ zorder : float
65
+ The zorder of the streamlines and arrows.
66
+ Artists with lower zorder values are drawn first.
67
+ maxlength : float
68
+ Maximum length of streamline in axes coordinates.
69
+ integration_direction : {'forward', 'backward', 'both'}, default: 'both'
70
+ Integrate the streamline in forward, backward or both directions.
71
+ data : indexable object, optional
72
+ DATA_PARAMETER_PLACEHOLDER
73
+ broken_streamlines : boolean, default: True
74
+ If False, forces streamlines to continue until they
75
+ leave the plot domain. If True, they may be terminated if they
76
+ come too close to another streamline.
77
+ integration_max_step_scale : float, default: 1.0
78
+ Multiplier on the maximum allowable step in the streamline integration routine.
79
+ A value between zero and one results in a max integration step smaller than
80
+ the default max step, resulting in more accurate streamlines at the cost
81
+ of greater computation time; a value greater than one does the converse. Must be
82
+ greater than zero.
83
+
84
+ .. versionadded:: 3.11
85
+
86
+ integration_max_error_scale : float, default: 1.0
87
+ Multiplier on the maximum allowable error in the streamline integration routine.
88
+ A value between zero and one results in a tighter max integration error than
89
+ the default max error, resulting in more accurate streamlines at the cost
90
+ of greater computation time; a value greater than one does the converse. Must be
91
+ greater than zero.
92
+
93
+ .. versionadded:: 3.11
94
+
95
+ num_arrows : int
96
+ Number of arrows per streamline. The arrows are spaced equally along the steps
97
+ each streamline takes. Note that this can be different to being spaced equally
98
+ along the distance of the streamline.
99
+
100
+
101
+ Returns
102
+ -------
103
+ StreamplotSet
104
+ Container object with attributes
105
+
106
+ - ``lines``: `.LineCollection` of streamlines
107
+
108
+ - ``arrows``: `.PatchCollection` containing `.FancyArrowPatch`
109
+ objects representing the arrows half-way along streamlines.
110
+
111
+ This container will probably change in the future to allow changes
112
+ to the colormap, alpha, etc. for both lines and arrows, but these
113
+ changes should be backward compatible.
114
+ """
115
+ grid = Grid(x, y)
116
+ mask = StreamMask(density)
117
+ dmap = DomainMap(grid, mask)
118
+
119
+ if integration_max_step_scale <= 0.0:
120
+ raise ValueError(
121
+ "The value of integration_max_step_scale must be > 0, " +
122
+ f"got {integration_max_step_scale}"
123
+ )
124
+
125
+ if integration_max_error_scale <= 0.0:
126
+ raise ValueError(
127
+ "The value of integration_max_error_scale must be > 0, " +
128
+ f"got {integration_max_error_scale}"
129
+ )
130
+
131
+ if num_arrows < 0:
132
+ raise ValueError(f"The value of num_arrows must be >= 0, got {num_arrows=}")
133
+
134
+ if zorder is None:
135
+ zorder = mlines.Line2D.zorder
136
+
137
+ # default to data coordinates
138
+ if transform is None:
139
+ transform = axes.transData
140
+
141
+ if color is None:
142
+ color = axes._get_lines.get_next_color()
143
+
144
+ linewidth = mpl._val_or_rc(linewidth, 'lines.linewidth')
145
+
146
+ line_kw = {}
147
+ arrow_kw = dict(arrowstyle=arrowstyle, mutation_scale=10 * arrowsize)
148
+
149
+ _api.check_in_list(['both', 'forward', 'backward'],
150
+ integration_direction=integration_direction)
151
+
152
+ if integration_direction == 'both':
153
+ maxlength /= 2.
154
+
155
+ use_multicolor_lines = isinstance(color, np.ndarray)
156
+ if use_multicolor_lines:
157
+ if color.shape != grid.shape:
158
+ raise ValueError("If 'color' is given, it must match the shape of "
159
+ "the (x, y) grid")
160
+ line_colors = [[]] # Empty entry allows concatenation of zero arrays.
161
+ color = np.ma.masked_invalid(color)
162
+ else:
163
+ line_kw['color'] = color
164
+ arrow_kw['color'] = color
165
+
166
+ if isinstance(linewidth, np.ndarray):
167
+ if linewidth.shape != grid.shape:
168
+ raise ValueError("If 'linewidth' is given, it must match the "
169
+ "shape of the (x, y) grid")
170
+ line_kw['linewidth'] = []
171
+ else:
172
+ line_kw['linewidth'] = linewidth
173
+ arrow_kw['linewidth'] = linewidth
174
+
175
+ line_kw['zorder'] = zorder
176
+ arrow_kw['zorder'] = zorder
177
+
178
+ # Sanity checks.
179
+ if u.shape != grid.shape or v.shape != grid.shape:
180
+ raise ValueError("'u' and 'v' must match the shape of the (x, y) grid")
181
+
182
+ u = np.ma.masked_invalid(u)
183
+ v = np.ma.masked_invalid(v)
184
+
185
+ integrate = _get_integrator(u, v, dmap, minlength, maxlength,
186
+ integration_direction)
187
+
188
+ trajectories = []
189
+ if start_points is None:
190
+ for xm, ym in _gen_starting_points(mask.shape):
191
+ if mask[ym, xm] == 0:
192
+ xg, yg = dmap.mask2grid(xm, ym)
193
+ t = integrate(xg, yg, broken_streamlines,
194
+ integration_max_step_scale,
195
+ integration_max_error_scale)
196
+ if t is not None:
197
+ trajectories.append(t)
198
+ else:
199
+ sp2 = np.asanyarray(start_points, dtype=float).copy()
200
+
201
+ # Check if start_points are outside the data boundaries
202
+ for xs, ys in sp2:
203
+ if not (grid.x_origin <= xs <= grid.x_origin + grid.width and
204
+ grid.y_origin <= ys <= grid.y_origin + grid.height):
205
+ raise ValueError(f"Starting point ({xs}, {ys}) outside of "
206
+ "data boundaries")
207
+
208
+ # Convert start_points from data to array coords
209
+ # Shift the seed points from the bottom left of the data so that
210
+ # data2grid works properly.
211
+ sp2[:, 0] -= grid.x_origin
212
+ sp2[:, 1] -= grid.y_origin
213
+
214
+ for xs, ys in sp2:
215
+ xg, yg = dmap.data2grid(xs, ys)
216
+ # Floating point issues can cause xg, yg to be slightly out of
217
+ # bounds for xs, ys on the upper boundaries. Because we have
218
+ # already checked that the starting points are within the original
219
+ # grid, clip the xg, yg to the grid to work around this issue
220
+ xg = np.clip(xg, 0, grid.nx - 1)
221
+ yg = np.clip(yg, 0, grid.ny - 1)
222
+
223
+ t = integrate(xg, yg, broken_streamlines, integration_max_step_scale,
224
+ integration_max_error_scale)
225
+ if t is not None:
226
+ trajectories.append(t)
227
+
228
+ if use_multicolor_lines:
229
+ if norm is None:
230
+ norm = mcolors.Normalize(color.min(), color.max())
231
+ cmap = colorizer._ensure_cmap(cmap)
232
+
233
+ streamlines = []
234
+ arrows = []
235
+ for t in trajectories:
236
+ tgx, tgy = t.T
237
+ # Rescale from grid-coordinates to data-coordinates.
238
+ tx, ty = dmap.grid2data(tgx, tgy)
239
+ tx += grid.x_origin
240
+ ty += grid.y_origin
241
+
242
+ # Create multiple tiny segments if varying width or color is given
243
+ if isinstance(linewidth, np.ndarray) or use_multicolor_lines:
244
+ points = np.transpose([tx, ty]).reshape(-1, 1, 2)
245
+ streamlines.extend(np.hstack([points[:-1], points[1:]]))
246
+ else:
247
+ points = np.transpose([tx, ty])
248
+ streamlines.append(points)
249
+
250
+ # Distance along streamline
251
+ s = np.cumsum(np.hypot(np.diff(tx), np.diff(ty)))
252
+ if isinstance(linewidth, np.ndarray):
253
+ line_widths = interpgrid(linewidth, tgx, tgy)[:-1]
254
+ line_kw['linewidth'].extend(line_widths)
255
+ if use_multicolor_lines:
256
+ color_values = interpgrid(color, tgx, tgy)[:-1]
257
+ line_colors.append(color_values)
258
+
259
+ # Add arrows along each trajectory.
260
+ for x in range(1, num_arrows+1):
261
+ # Get index of distance along streamline to place arrow
262
+ idx = np.searchsorted(s, s[-1] * (x/(num_arrows+1)))
263
+ arrow_tail = (tx[idx], ty[idx])
264
+ arrow_head = (np.mean(tx[idx:idx + 2]), np.mean(ty[idx:idx + 2]))
265
+
266
+ if isinstance(linewidth, np.ndarray):
267
+ arrow_kw['linewidth'] = line_widths[idx]
268
+
269
+ if use_multicolor_lines:
270
+ arrow_kw['color'] = cmap(norm(color_values[idx]))
271
+
272
+ p = patches.FancyArrowPatch(
273
+ arrow_tail, arrow_head, transform=transform, **arrow_kw)
274
+ arrows.append(p)
275
+
276
+ lc = mcollections.LineCollection(
277
+ streamlines, transform=transform, **line_kw)
278
+ lc.sticky_edges.x[:] = [grid.x_origin, grid.x_origin + grid.width]
279
+ lc.sticky_edges.y[:] = [grid.y_origin, grid.y_origin + grid.height]
280
+ if use_multicolor_lines:
281
+ lc.set_array(np.ma.hstack(line_colors))
282
+ lc.set_cmap(cmap)
283
+ lc.set_norm(norm)
284
+ axes.add_collection(lc)
285
+
286
+ ac = mcollections.PatchCollection(arrows)
287
+ # Adding the collection itself is broken; see #2341.
288
+ for p in arrows:
289
+ axes.add_patch(p)
290
+
291
+ axes.autoscale_view()
292
+ stream_container = StreamplotSet(lc, ac)
293
+ return stream_container
294
+
295
+
296
+ class StreamplotSet:
297
+
298
+ def __init__(self, lines, arrows):
299
+ self.lines = lines
300
+ self.arrows = arrows
301
+
302
+
303
+ # Coordinate definitions
304
+ # ========================
305
+
306
+ class DomainMap:
307
+ """
308
+ Map representing different coordinate systems.
309
+
310
+ Coordinate definitions:
311
+
312
+ * axes-coordinates goes from 0 to 1 in the domain.
313
+ * data-coordinates are specified by the input x-y coordinates.
314
+ * grid-coordinates goes from 0 to N and 0 to M for an N x M grid,
315
+ where N and M match the shape of the input data.
316
+ * mask-coordinates goes from 0 to N and 0 to M for an N x M mask,
317
+ where N and M are user-specified to control the density of streamlines.
318
+
319
+ This class also has methods for adding trajectories to the StreamMask.
320
+ Before adding a trajectory, run `start_trajectory` to keep track of regions
321
+ crossed by a given trajectory. Later, if you decide the trajectory is bad
322
+ (e.g., if the trajectory is very short) just call `undo_trajectory`.
323
+ """
324
+
325
+ def __init__(self, grid, mask):
326
+ self.grid = grid
327
+ self.mask = mask
328
+ # Constants for conversion between grid- and mask-coordinates
329
+ self.x_grid2mask = (mask.nx - 1) / (grid.nx - 1)
330
+ self.y_grid2mask = (mask.ny - 1) / (grid.ny - 1)
331
+
332
+ self.x_mask2grid = 1. / self.x_grid2mask
333
+ self.y_mask2grid = 1. / self.y_grid2mask
334
+
335
+ self.x_data2grid = 1. / grid.dx
336
+ self.y_data2grid = 1. / grid.dy
337
+
338
+ def grid2mask(self, xi, yi):
339
+ """Return nearest space in mask-coords from given grid-coords."""
340
+ return round(xi * self.x_grid2mask), round(yi * self.y_grid2mask)
341
+
342
+ def mask2grid(self, xm, ym):
343
+ return xm * self.x_mask2grid, ym * self.y_mask2grid
344
+
345
+ def data2grid(self, xd, yd):
346
+ return xd * self.x_data2grid, yd * self.y_data2grid
347
+
348
+ def grid2data(self, xg, yg):
349
+ return xg / self.x_data2grid, yg / self.y_data2grid
350
+
351
+ def start_trajectory(self, xg, yg, broken_streamlines=True):
352
+ xm, ym = self.grid2mask(xg, yg)
353
+ self.mask._start_trajectory(xm, ym, broken_streamlines)
354
+
355
+ def reset_start_point(self, xg, yg):
356
+ xm, ym = self.grid2mask(xg, yg)
357
+ self.mask._current_xy = (xm, ym)
358
+
359
+ def update_trajectory(self, xg, yg, broken_streamlines=True):
360
+ if not self.grid.within_grid(xg, yg):
361
+ raise InvalidIndexError
362
+ xm, ym = self.grid2mask(xg, yg)
363
+ self.mask._update_trajectory(xm, ym, broken_streamlines)
364
+
365
+ def undo_trajectory(self):
366
+ self.mask._undo_trajectory()
367
+
368
+
369
+ class Grid:
370
+ """Grid of data."""
371
+ def __init__(self, x, y):
372
+
373
+ if np.ndim(x) == 1:
374
+ pass
375
+ elif np.ndim(x) == 2:
376
+ x_row = x[0]
377
+ if not np.allclose(x_row, x):
378
+ raise ValueError("The rows of 'x' must be equal")
379
+ x = x_row
380
+ else:
381
+ raise ValueError("'x' can have at maximum 2 dimensions")
382
+
383
+ if np.ndim(y) == 1:
384
+ pass
385
+ elif np.ndim(y) == 2:
386
+ yt = np.transpose(y) # Also works for nested lists.
387
+ y_col = yt[0]
388
+ if not np.allclose(y_col, yt):
389
+ raise ValueError("The columns of 'y' must be equal")
390
+ y = y_col
391
+ else:
392
+ raise ValueError("'y' can have at maximum 2 dimensions")
393
+
394
+ if not (np.diff(x) > 0).all():
395
+ raise ValueError("'x' must be strictly increasing")
396
+ if not (np.diff(y) > 0).all():
397
+ raise ValueError("'y' must be strictly increasing")
398
+
399
+ self.nx = len(x)
400
+ self.ny = len(y)
401
+
402
+ self.dx = x[1] - x[0]
403
+ self.dy = y[1] - y[0]
404
+
405
+ self.x_origin = x[0]
406
+ self.y_origin = y[0]
407
+
408
+ self.width = x[-1] - x[0]
409
+ self.height = y[-1] - y[0]
410
+
411
+ if not np.allclose(np.diff(x), self.width / (self.nx - 1)):
412
+ raise ValueError("'x' values must be equally spaced")
413
+ if not np.allclose(np.diff(y), self.height / (self.ny - 1)):
414
+ raise ValueError("'y' values must be equally spaced")
415
+
416
+ @property
417
+ def shape(self):
418
+ return self.ny, self.nx
419
+
420
+ def within_grid(self, xi, yi):
421
+ """Return whether (*xi*, *yi*) is a valid index of the grid."""
422
+ # Note that xi/yi can be floats; so, for example, we can't simply check
423
+ # `xi < self.nx` since *xi* can be `self.nx - 1 < xi < self.nx`
424
+ return 0 <= xi <= self.nx - 1 and 0 <= yi <= self.ny - 1
425
+
426
+
427
+ class StreamMask:
428
+ """
429
+ Mask to keep track of discrete regions crossed by streamlines.
430
+
431
+ The resolution of this grid determines the approximate spacing between
432
+ trajectories. Streamlines are only allowed to pass through zeroed cells:
433
+ When a streamline enters a cell, that cell is set to 1, and no new
434
+ streamlines are allowed to enter.
435
+ """
436
+
437
+ def __init__(self, density):
438
+ try:
439
+ self.nx, self.ny = (30 * np.broadcast_to(density, 2)).astype(int)
440
+ except ValueError as err:
441
+ raise ValueError("'density' must be a scalar or be of length "
442
+ "2") from err
443
+ if self.nx < 0 or self.ny < 0:
444
+ raise ValueError("'density' must be positive")
445
+ self._mask = np.zeros((self.ny, self.nx))
446
+ self.shape = self._mask.shape
447
+
448
+ self._current_xy = None
449
+
450
+ def __getitem__(self, args):
451
+ return self._mask[args]
452
+
453
+ def _start_trajectory(self, xm, ym, broken_streamlines=True):
454
+ """Start recording streamline trajectory"""
455
+ self._traj = []
456
+ self._update_trajectory(xm, ym, broken_streamlines)
457
+
458
+ def _undo_trajectory(self):
459
+ """Remove current trajectory from mask"""
460
+ for t in self._traj:
461
+ self._mask[t] = 0
462
+
463
+ def _update_trajectory(self, xm, ym, broken_streamlines=True):
464
+ """
465
+ Update current trajectory position in mask.
466
+
467
+ If the new position has already been filled, raise `InvalidIndexError`.
468
+ """
469
+ if self._current_xy != (xm, ym):
470
+ if self[ym, xm] == 0:
471
+ self._traj.append((ym, xm))
472
+ self._mask[ym, xm] = 1
473
+ self._current_xy = (xm, ym)
474
+ else:
475
+ if broken_streamlines:
476
+ raise InvalidIndexError
477
+ else:
478
+ pass
479
+
480
+
481
+ class InvalidIndexError(Exception):
482
+ pass
483
+
484
+
485
+ class TerminateTrajectory(Exception):
486
+ pass
487
+
488
+
489
+ # Integrator definitions
490
+ # =======================
491
+
492
+ def _get_integrator(u, v, dmap, minlength, maxlength, integration_direction):
493
+
494
+ # rescale velocity onto grid-coordinates for integrations.
495
+ u, v = dmap.data2grid(u, v)
496
+
497
+ # speed (path length) will be in axes-coordinates
498
+ u_ax = u / (dmap.grid.nx - 1)
499
+ v_ax = v / (dmap.grid.ny - 1)
500
+ speed = np.ma.sqrt(u_ax ** 2 + v_ax ** 2)
501
+
502
+ def forward_time(xi, yi):
503
+ if not dmap.grid.within_grid(xi, yi):
504
+ raise OutOfBounds
505
+ ds_dt = interpgrid(speed, xi, yi)
506
+ if ds_dt == 0:
507
+ raise TerminateTrajectory()
508
+ dt_ds = 1. / ds_dt
509
+ ui = interpgrid(u, xi, yi)
510
+ vi = interpgrid(v, xi, yi)
511
+ return ui * dt_ds, vi * dt_ds
512
+
513
+ def backward_time(xi, yi):
514
+ dxi, dyi = forward_time(xi, yi)
515
+ return -dxi, -dyi
516
+
517
+ def integrate(x0, y0, broken_streamlines=True, integration_max_step_scale=1.0,
518
+ integration_max_error_scale=1.0):
519
+ """
520
+ Return x, y grid-coordinates of trajectory based on starting point.
521
+
522
+ Integrate both forward and backward in time from starting point in
523
+ grid coordinates.
524
+
525
+ Integration is terminated when a trajectory reaches a domain boundary
526
+ or when it crosses into an already occupied cell in the StreamMask. The
527
+ resulting trajectory is None if it is shorter than `minlength`.
528
+ """
529
+
530
+ stotal, xy_traj = 0., []
531
+
532
+ try:
533
+ dmap.start_trajectory(x0, y0, broken_streamlines)
534
+ except InvalidIndexError:
535
+ return None
536
+ if integration_direction in ['both', 'backward']:
537
+ s, xyt = _integrate_rk12(x0, y0, dmap, backward_time, maxlength,
538
+ broken_streamlines,
539
+ integration_max_step_scale,
540
+ integration_max_error_scale)
541
+ stotal += s
542
+ xy_traj += xyt[::-1]
543
+
544
+ if integration_direction in ['both', 'forward']:
545
+ dmap.reset_start_point(x0, y0)
546
+ s, xyt = _integrate_rk12(x0, y0, dmap, forward_time, maxlength,
547
+ broken_streamlines,
548
+ integration_max_step_scale,
549
+ integration_max_error_scale)
550
+ stotal += s
551
+ xy_traj += xyt[1:]
552
+
553
+ if stotal > minlength:
554
+ return np.broadcast_arrays(xy_traj, np.empty((1, 2)))[0]
555
+ else: # reject short trajectories
556
+ dmap.undo_trajectory()
557
+ return None
558
+
559
+ return integrate
560
+
561
+
562
+ class OutOfBounds(IndexError):
563
+ pass
564
+
565
+
566
+ def _integrate_rk12(x0, y0, dmap, f, maxlength, broken_streamlines=True,
567
+ integration_max_step_scale=1.0,
568
+ integration_max_error_scale=1.0):
569
+ """
570
+ 2nd-order Runge-Kutta algorithm with adaptive step size.
571
+
572
+ This method is also referred to as the improved Euler's method, or Heun's
573
+ method. This method is favored over higher-order methods because:
574
+
575
+ 1. To get decent looking trajectories and to sample every mask cell
576
+ on the trajectory we need a small timestep, so a lower order
577
+ solver doesn't hurt us unless the data is *very* high resolution.
578
+ In fact, for cases where the user inputs
579
+ data smaller or of similar grid size to the mask grid, the higher
580
+ order corrections are negligible because of the very fast linear
581
+ interpolation used in `interpgrid`.
582
+
583
+ 2. For high resolution input data (i.e. beyond the mask
584
+ resolution), we must reduce the timestep. Therefore, an adaptive
585
+ timestep is more suited to the problem as this would be very hard
586
+ to judge automatically otherwise.
587
+
588
+ This integrator is about 1.5 - 2x as fast as RK4 and RK45 solvers (using
589
+ similar Python implementations) in most setups.
590
+ """
591
+ # This error is below that needed to match the RK4 integrator. It
592
+ # is set for visual reasons -- too low and corners start
593
+ # appearing ugly and jagged. Can be tuned.
594
+ maxerror = 0.003 * integration_max_error_scale
595
+
596
+ # This limit is important (for all integrators) to avoid the
597
+ # trajectory skipping some mask cells. We could relax this
598
+ # condition if we use the code which is commented out below to
599
+ # increment the location gradually. However, due to the efficient
600
+ # nature of the interpolation, this doesn't boost speed by much
601
+ # for quite a bit of complexity.
602
+ maxds = min(1. / dmap.mask.nx, 1. / dmap.mask.ny, 0.1)
603
+ maxds *= integration_max_step_scale
604
+
605
+ ds = maxds
606
+ stotal = 0
607
+ xi = x0
608
+ yi = y0
609
+ xyf_traj = []
610
+
611
+ while True:
612
+ try:
613
+ if dmap.grid.within_grid(xi, yi):
614
+ xyf_traj.append((xi, yi))
615
+ else:
616
+ raise OutOfBounds
617
+
618
+ # Compute the two intermediate gradients.
619
+ # f should raise OutOfBounds if the locations given are
620
+ # outside the grid.
621
+ k1x, k1y = f(xi, yi)
622
+ k2x, k2y = f(xi + ds * k1x, yi + ds * k1y)
623
+
624
+ except OutOfBounds:
625
+ # Out of the domain during this step.
626
+ # Take an Euler step to the boundary to improve neatness
627
+ # unless the trajectory is currently empty.
628
+ if xyf_traj:
629
+ ds, xyf_traj = _euler_step(xyf_traj, dmap, f)
630
+ stotal += ds
631
+ break
632
+ except TerminateTrajectory:
633
+ break
634
+
635
+ dx1 = ds * k1x
636
+ dy1 = ds * k1y
637
+ dx2 = ds * 0.5 * (k1x + k2x)
638
+ dy2 = ds * 0.5 * (k1y + k2y)
639
+
640
+ ny, nx = dmap.grid.shape
641
+ # Error is normalized to the axes coordinates
642
+ error = np.hypot((dx2 - dx1) / (nx - 1), (dy2 - dy1) / (ny - 1))
643
+
644
+ # Only save step if within error tolerance
645
+ if error < maxerror:
646
+ xi += dx2
647
+ yi += dy2
648
+ try:
649
+ dmap.update_trajectory(xi, yi, broken_streamlines)
650
+ except InvalidIndexError:
651
+ break
652
+ if stotal + ds > maxlength:
653
+ break
654
+ stotal += ds
655
+
656
+ # recalculate stepsize based on step error
657
+ if error == 0:
658
+ ds = maxds
659
+ else:
660
+ ds = min(maxds, 0.85 * ds * (maxerror / error) ** 0.5)
661
+
662
+ return stotal, xyf_traj
663
+
664
+
665
+ def _euler_step(xyf_traj, dmap, f):
666
+ """Simple Euler integration step that extends streamline to boundary."""
667
+ ny, nx = dmap.grid.shape
668
+ xi, yi = xyf_traj[-1]
669
+ cx, cy = f(xi, yi)
670
+ if cx == 0:
671
+ dsx = np.inf
672
+ elif cx < 0:
673
+ dsx = xi / -cx
674
+ else:
675
+ dsx = (nx - 1 - xi) / cx
676
+ if cy == 0:
677
+ dsy = np.inf
678
+ elif cy < 0:
679
+ dsy = yi / -cy
680
+ else:
681
+ dsy = (ny - 1 - yi) / cy
682
+ ds = min(dsx, dsy)
683
+ xyf_traj.append((xi + cx * ds, yi + cy * ds))
684
+ return ds, xyf_traj
685
+
686
+
687
+ # Utility functions
688
+ # ========================
689
+
690
+ def interpgrid(a, xi, yi):
691
+ """Fast 2D, linear interpolation on an integer grid"""
692
+
693
+ Ny, Nx = np.shape(a)
694
+ if isinstance(xi, np.ndarray):
695
+ x = xi.astype(int)
696
+ y = yi.astype(int)
697
+ # Check that xn, yn don't exceed max index
698
+ xn = np.clip(x + 1, 0, Nx - 1)
699
+ yn = np.clip(y + 1, 0, Ny - 1)
700
+ else:
701
+ x = int(xi)
702
+ y = int(yi)
703
+ # conditional is faster than clipping for integers
704
+ if x == (Nx - 1):
705
+ xn = x
706
+ else:
707
+ xn = x + 1
708
+ if y == (Ny - 1):
709
+ yn = y
710
+ else:
711
+ yn = y + 1
712
+
713
+ a00 = a[y, x]
714
+ a01 = a[y, xn]
715
+ a10 = a[yn, x]
716
+ a11 = a[yn, xn]
717
+ xt = xi - x
718
+ yt = yi - y
719
+ a0 = a00 * (1 - xt) + a01 * xt
720
+ a1 = a10 * (1 - xt) + a11 * xt
721
+ ai = a0 * (1 - yt) + a1 * yt
722
+
723
+ if not isinstance(xi, np.ndarray):
724
+ if np.ma.is_masked(ai):
725
+ raise TerminateTrajectory
726
+
727
+ return ai
728
+
729
+
730
+ def _gen_starting_points(shape):
731
+ """
732
+ Yield starting points for streamlines.
733
+
734
+ Trying points on the boundary first gives higher quality streamlines.
735
+ This algorithm starts with a point on the mask corner and spirals inward.
736
+ This algorithm is inefficient, but fast compared to rest of streamplot.
737
+ """
738
+ ny, nx = shape
739
+ xfirst = 0
740
+ yfirst = 1
741
+ xlast = nx - 1
742
+ ylast = ny - 1
743
+ x, y = 0, 0
744
+ direction = 'right'
745
+ for i in range(nx * ny):
746
+ yield x, y
747
+
748
+ if direction == 'right':
749
+ x += 1
750
+ if x >= xlast:
751
+ xlast -= 1
752
+ direction = 'up'
753
+ elif direction == 'up':
754
+ y += 1
755
+ if y >= ylast:
756
+ ylast -= 1
757
+ direction = 'left'
758
+ elif direction == 'left':
759
+ x -= 1
760
+ if x <= xfirst:
761
+ xfirst += 1
762
+ direction = 'down'
763
+ elif direction == 'down':
764
+ y -= 1
765
+ if y <= yfirst:
766
+ yfirst += 1
767
+ direction = 'right'
.venv/lib/python3.12/site-packages/matplotlib/streamplot.pyi ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from matplotlib.axes import Axes
2
+ from matplotlib.colors import Normalize, Colormap
3
+ from matplotlib.collections import LineCollection, PatchCollection
4
+ from matplotlib.patches import ArrowStyle
5
+ from matplotlib.transforms import Transform
6
+
7
+ from typing import Literal
8
+ from numpy.typing import ArrayLike
9
+ from .typing import ColorType
10
+
11
+ def streamplot(
12
+ axes: Axes,
13
+ x: ArrayLike,
14
+ y: ArrayLike,
15
+ u: ArrayLike,
16
+ v: ArrayLike,
17
+ density: float | tuple[float, float] = ...,
18
+ linewidth: float | ArrayLike | None = ...,
19
+ color: ColorType | ArrayLike | None = ...,
20
+ cmap: str | Colormap | None = ...,
21
+ norm: str | Normalize | None = ...,
22
+ arrowsize: float = ...,
23
+ arrowstyle: str | ArrowStyle = ...,
24
+ minlength: float = ...,
25
+ transform: Transform | None = ...,
26
+ zorder: float | None = ...,
27
+ start_points: ArrayLike | None = ...,
28
+ maxlength: float = ...,
29
+ integration_direction: Literal["forward", "backward", "both"] = ...,
30
+ broken_streamlines: bool = ...,
31
+ *,
32
+ integration_max_step_scale: float = ...,
33
+ integration_max_error_scale: float = ...,
34
+ num_arrows: int = ...,
35
+ ) -> StreamplotSet: ...
36
+
37
+ class StreamplotSet:
38
+ lines: LineCollection
39
+ arrows: PatchCollection
40
+ def __init__(self, lines: LineCollection, arrows: PatchCollection) -> None: ...
41
+
42
+ class DomainMap:
43
+ grid: Grid
44
+ mask: StreamMask
45
+ x_grid2mask: float
46
+ y_grid2mask: float
47
+ x_mask2grid: float
48
+ y_mask2grid: float
49
+ x_data2grid: float
50
+ y_data2grid: float
51
+ def __init__(self, grid: Grid, mask: StreamMask) -> None: ...
52
+ def grid2mask(self, xi: float, yi: float) -> tuple[int, int]: ...
53
+ def mask2grid(self, xm: float, ym: float) -> tuple[float, float]: ...
54
+ def data2grid(self, xd: float, yd: float) -> tuple[float, float]: ...
55
+ def grid2data(self, xg: float, yg: float) -> tuple[float, float]: ...
56
+ def start_trajectory(
57
+ self, xg: float, yg: float, broken_streamlines: bool = ...
58
+ ) -> None: ...
59
+ def reset_start_point(self, xg: float, yg: float) -> None: ...
60
+ def update_trajectory(self, xg, yg, broken_streamlines: bool = ...) -> None: ...
61
+ def undo_trajectory(self) -> None: ...
62
+
63
+ class Grid:
64
+ nx: int
65
+ ny: int
66
+ dx: float
67
+ dy: float
68
+ x_origin: float
69
+ y_origin: float
70
+ width: float
71
+ height: float
72
+ def __init__(self, x: ArrayLike, y: ArrayLike) -> None: ...
73
+ @property
74
+ def shape(self) -> tuple[int, int]: ...
75
+ def within_grid(self, xi: float, yi: float) -> bool: ...
76
+
77
+ class StreamMask:
78
+ nx: int
79
+ ny: int
80
+ shape: tuple[int, int]
81
+ def __init__(self, density: float | tuple[float, float]) -> None: ...
82
+ def __getitem__(self, args): ...
83
+
84
+ class InvalidIndexError(Exception): ...
85
+ class TerminateTrajectory(Exception): ...
86
+ class OutOfBounds(IndexError): ...
87
+
88
+ __all__ = ['streamplot']
.venv/lib/python3.12/site-packages/matplotlib/style/__init__.py ADDED
@@ -0,0 +1,253 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ Core functions and attributes for the matplotlib style library:
3
+
4
+ ``use``
5
+ Select style sheet to override the current matplotlib settings.
6
+ ``context``
7
+ Context manager to use a style sheet temporarily.
8
+ ``available``
9
+ List available style sheets. Underscore-prefixed names are considered private and
10
+ not listed, though may still be accessed directly from ``library``.
11
+ ``library``
12
+ A dictionary of style names and matplotlib settings.
13
+ """
14
+
15
+ import contextlib
16
+ import importlib.resources
17
+ import logging
18
+ import os
19
+ from pathlib import Path
20
+ import warnings
21
+
22
+ import matplotlib as mpl
23
+ from matplotlib import _api, _docstring, rc_params_from_file, rcParamsDefault
24
+
25
+ _log = logging.getLogger(__name__)
26
+
27
+ __all__ = ['use', 'context', 'available', 'library', 'reload_library']
28
+
29
+
30
+ _BASE_LIBRARY_PATH = os.path.join(mpl.get_data_path(), 'stylelib')
31
+ # Users may want multiple library paths, so store a list of paths.
32
+ USER_LIBRARY_PATHS = [os.path.join(mpl.get_configdir(), 'stylelib')]
33
+ _STYLE_EXTENSION = 'mplstyle'
34
+ # A list of rcParams that should not be applied from styles
35
+ _STYLE_BLACKLIST = {
36
+ 'interactive', 'backend', 'webagg.port', 'webagg.address',
37
+ 'webagg.port_retries', 'webagg.open_in_browser', 'backend_fallback',
38
+ 'toolbar', 'timezone', 'figure.max_open_warning',
39
+ 'figure.raise_window', 'savefig.directory', 'tk.window_focus',
40
+ 'docstring.hardcopy', 'date.epoch'}
41
+
42
+
43
+ @_docstring.Substitution(
44
+ "\n".join(map("- {}".format, sorted(_STYLE_BLACKLIST, key=str.lower)))
45
+ )
46
+ def use(style):
47
+ """
48
+ Use Matplotlib style settings from a style specification.
49
+
50
+ The style name of 'default' is reserved for reverting back to
51
+ the default style settings.
52
+
53
+ .. note::
54
+
55
+ This updates the `.rcParams` with the settings from the style.
56
+ `.rcParams` not defined in the style are kept.
57
+
58
+ Parameters
59
+ ----------
60
+ style : str, dict, Path or list
61
+
62
+ A style specification. Valid options are:
63
+
64
+ str
65
+ - One of the style names in `.style.available` (a builtin style or
66
+ a style installed in the user library path).
67
+
68
+ - A dotted name of the form "package.style_name"; in that case,
69
+ "package" should be an importable Python package name, e.g. at
70
+ ``/path/to/package/__init__.py``; the loaded style file is
71
+ ``/path/to/package/style_name.mplstyle``. (Style files in
72
+ subpackages are likewise supported.)
73
+
74
+ - The path or URL to a style file, which gets loaded by
75
+ `.rc_params_from_file`.
76
+
77
+ dict
78
+ A mapping of key/value pairs for `matplotlib.rcParams`.
79
+
80
+ Path
81
+ The path to a style file, which gets loaded by
82
+ `.rc_params_from_file`.
83
+
84
+ list
85
+ A list of style specifiers (str, Path or dict), which are applied
86
+ from first to last in the list.
87
+
88
+ Notes
89
+ -----
90
+ The following `.rcParams` are not related to style and will be ignored if
91
+ found in a style specification:
92
+
93
+ %s
94
+ """
95
+ if isinstance(style, (str, Path)) or hasattr(style, 'keys'):
96
+ # If name is a single str, Path or dict, make it a single element list.
97
+ styles = [style]
98
+ else:
99
+ styles = style
100
+
101
+ style_alias = {'mpl20': 'default', 'mpl15': 'classic'}
102
+
103
+ for style in styles:
104
+ if isinstance(style, str):
105
+ style = style_alias.get(style, style)
106
+ if style == "default":
107
+ # Deprecation warnings were already handled when creating
108
+ # rcParamsDefault, no need to reemit them here.
109
+ with _api.suppress_matplotlib_deprecation_warning():
110
+ # don't trigger RcParams.__getitem__('backend')
111
+ style = {k: rcParamsDefault[k] for k in rcParamsDefault
112
+ if k not in _STYLE_BLACKLIST}
113
+ elif style in library:
114
+ style = library[style]
115
+ elif "." in style:
116
+ pkg, _, name = style.rpartition(".")
117
+ try:
118
+ path = importlib.resources.files(pkg) / f"{name}.{_STYLE_EXTENSION}"
119
+ style = rc_params_from_file(path, use_default_template=False)
120
+ except (ModuleNotFoundError, OSError, TypeError) as exc:
121
+ # There is an ambiguity whether a dotted name refers to a
122
+ # package.style_name or to a dotted file path. Currently,
123
+ # we silently try the first form and then the second one;
124
+ # in the future, we may consider forcing file paths to
125
+ # either use Path objects or be prepended with "./" and use
126
+ # the slash as marker for file paths.
127
+ pass
128
+ if isinstance(style, (str, Path)):
129
+ try:
130
+ style = rc_params_from_file(style, use_default_template=False)
131
+ except OSError as err:
132
+ raise OSError(
133
+ f"{style!r} is not a valid package style, path of style "
134
+ f"file, URL of style file, or library style name (library "
135
+ f"styles are listed in `style.available`)") from err
136
+ filtered = {}
137
+ for k in style: # don't trigger RcParams.__getitem__('backend')
138
+ if k in _STYLE_BLACKLIST:
139
+ _api.warn_external(
140
+ f"Style includes a parameter, {k!r}, that is not "
141
+ f"related to style. Ignoring this parameter.")
142
+ else:
143
+ filtered[k] = style[k]
144
+ mpl.rcParams.update(filtered)
145
+
146
+
147
+ @contextlib.contextmanager
148
+ def context(style, after_reset=False):
149
+ """
150
+ Context manager for using style settings temporarily.
151
+
152
+ Parameters
153
+ ----------
154
+ style : str, dict, Path or list
155
+ A style specification. Valid options are:
156
+
157
+ str
158
+ - One of the style names in `.style.available` (a builtin style or
159
+ a style installed in the user library path).
160
+
161
+ - A dotted name of the form "package.style_name"; in that case,
162
+ "package" should be an importable Python package name, e.g. at
163
+ ``/path/to/package/__init__.py``; the loaded style file is
164
+ ``/path/to/package/style_name.mplstyle``. (Style files in
165
+ subpackages are likewise supported.)
166
+
167
+ - The path or URL to a style file, which gets loaded by
168
+ `.rc_params_from_file`.
169
+ dict
170
+ A mapping of key/value pairs for `matplotlib.rcParams`.
171
+
172
+ Path
173
+ The path to a style file, which gets loaded by
174
+ `.rc_params_from_file`.
175
+
176
+ list
177
+ A list of style specifiers (str, Path or dict), which are applied
178
+ from first to last in the list.
179
+
180
+ after_reset : bool
181
+ If True, apply style after resetting settings to their defaults;
182
+ otherwise, apply style on top of the current settings.
183
+ """
184
+ with mpl.rc_context():
185
+ if after_reset:
186
+ mpl.rcdefaults()
187
+ use(style)
188
+ yield
189
+
190
+
191
+ def _update_user_library(library):
192
+ """Update style library with user-defined rc files."""
193
+ for stylelib_path in map(os.path.expanduser, USER_LIBRARY_PATHS):
194
+ styles = _read_style_directory(stylelib_path)
195
+ _update_nested_dict(library, styles)
196
+ return library
197
+
198
+
199
+ @_api.deprecated("3.11")
200
+ def update_user_library(library):
201
+ return _update_user_library(library)
202
+
203
+
204
+ def _read_style_directory(style_dir):
205
+ """Return dictionary of styles defined in *style_dir*."""
206
+ styles = dict()
207
+ for path in Path(style_dir).glob(f"*.{_STYLE_EXTENSION}"):
208
+ with warnings.catch_warnings(record=True) as warns:
209
+ styles[path.stem] = rc_params_from_file(path, use_default_template=False)
210
+ for w in warns:
211
+ _log.warning('In %s: %s', path, w.message)
212
+ return styles
213
+
214
+
215
+ @_api.deprecated("3.11")
216
+ def read_style_directory(style_dir):
217
+ return _read_style_directory(style_dir)
218
+
219
+
220
+ def _update_nested_dict(main_dict, new_dict):
221
+ """
222
+ Update nested dict (only level of nesting) with new values.
223
+
224
+ Unlike `dict.update`, this assumes that the values of the parent dict are
225
+ dicts (or dict-like), so you shouldn't replace the nested dict if it
226
+ already exists. Instead you should update the sub-dict.
227
+ """
228
+ # update named styles specified by user
229
+ for name, rc_dict in new_dict.items():
230
+ main_dict.setdefault(name, {}).update(rc_dict)
231
+ return main_dict
232
+
233
+
234
+ @_api.deprecated("3.11")
235
+ def update_nested_dict(main_dict, new_dict):
236
+ return _update_nested_dict(main_dict, new_dict)
237
+
238
+
239
+ # Load style library
240
+ # ==================
241
+ _base_library = _read_style_directory(_BASE_LIBRARY_PATH)
242
+ library = {}
243
+ available = []
244
+
245
+
246
+ def reload_library():
247
+ """Reload the style library."""
248
+ library.clear()
249
+ library.update(_update_user_library(_base_library.copy()))
250
+ available[:] = sorted(name for name in library if not name.startswith('_'))
251
+
252
+
253
+ reload_library()
.venv/lib/python3.12/site-packages/matplotlib/style/__init__.pyi ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from collections.abc import Generator
2
+ import contextlib
3
+
4
+ from matplotlib import RcParams
5
+ from matplotlib.typing import RcStyleType
6
+
7
+ USER_LIBRARY_PATHS: list[str] = ...
8
+
9
+ def use(style: RcStyleType) -> None: ...
10
+ @contextlib.contextmanager
11
+ def context(
12
+ style: RcStyleType, after_reset: bool = ...
13
+ ) -> Generator[None, None, None]: ...
14
+
15
+ library: dict[str, RcParams]
16
+ available: list[str]
17
+
18
+ def reload_library() -> None: ...
19
+
20
+ __all__ = ['use', 'context', 'available', 'library', 'reload_library']
.venv/lib/python3.12/site-packages/matplotlib/style/__pycache__/__init__.cpython-312.pyc ADDED
Binary file (10.8 kB). View file
 
.venv/lib/python3.12/site-packages/matplotlib/style/__pycache__/core.cpython-312.pyc ADDED
Binary file (1.05 kB). View file
 
.venv/lib/python3.12/site-packages/matplotlib/style/core.py ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ Core functions and attributes for the matplotlib style library:
3
+
4
+ ``use``
5
+ Select style sheet to override the current matplotlib settings.
6
+ ``context``
7
+ Context manager to use a style sheet temporarily.
8
+ ``available``
9
+ List available style sheets.
10
+ ``library``
11
+ A dictionary of style names and matplotlib settings.
12
+ """
13
+
14
+ from .. import _api
15
+ from . import (
16
+ use, context, available, library, reload_library, USER_LIBRARY_PATHS,
17
+ _BASE_LIBRARY_PATH as BASE_LIBRARY_PATH,
18
+ _STYLE_EXTENSION as STYLE_EXTENSION,
19
+ _STYLE_BLACKLIST as STYLE_BLACKLIST,
20
+ )
21
+
22
+ __all__ = [
23
+ "use", "context", "available", "library", "reload_library",
24
+ "USER_LIBRARY_PATHS", "BASE_LIBRARY_PATH", "STYLE_EXTENSION", "STYLE_BLACKLIST",
25
+ ]
26
+
27
+ _api.warn_deprecated("3.11", name=__name__, obj_type="module")
.venv/lib/python3.12/site-packages/matplotlib/style/core.pyi ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from collections.abc import Generator
2
+ import contextlib
3
+
4
+ from matplotlib import RcParams
5
+ from matplotlib.typing import RcStyleType
6
+
7
+ USER_LIBRARY_PATHS: list[str] = ...
8
+ BASE_LIBRARY_PATH: str = ...
9
+ STYLE_EXTENSION: str = ...
10
+ STYLE_BLACKLIST: set[str] = ...
11
+
12
+ def use(style: RcStyleType) -> None: ...
13
+ @contextlib.contextmanager
14
+ def context(
15
+ style: RcStyleType, after_reset: bool = ...
16
+ ) -> Generator[None, None, None]: ...
17
+
18
+ library: dict[str, RcParams]
19
+ available: list[str]
20
+
21
+ def reload_library() -> None: ...
22
+
23
+ __all__ = [
24
+ "use", "context", "available", "library", "reload_library",
25
+ "USER_LIBRARY_PATHS", "BASE_LIBRARY_PATH", "STYLE_EXTENSION", "STYLE_BLACKLIST",
26
+ ]
.venv/lib/python3.12/site-packages/matplotlib/table.py ADDED
@@ -0,0 +1,859 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Original code by:
2
+ # John Gill <jng@europe.renre.com>
3
+ # Copyright 2004 John Gill and John Hunter
4
+ #
5
+ # Subsequent changes:
6
+ # The Matplotlib development team
7
+ # Copyright The Matplotlib development team
8
+
9
+ """
10
+ Tables drawing.
11
+
12
+ .. note::
13
+ The table implementation in Matplotlib is lightly maintained. For a more
14
+ featureful table implementation, you may wish to try `blume
15
+ <https://github.com/swfiua/blume>`_.
16
+
17
+ Use the factory function `~matplotlib.table.table` to create a ready-made
18
+ table from texts. If you need more control, use the `.Table` class and its
19
+ methods.
20
+
21
+ The table consists of a grid of cells, which are indexed by (row, column).
22
+ The cell (0, 0) is positioned at the top left.
23
+
24
+ Thanks to John Gill for providing the class and table.
25
+ """
26
+
27
+ import numpy as np
28
+
29
+ from . import _api, _docstring
30
+ from .artist import Artist, allow_rasterization
31
+ from .patches import Rectangle
32
+ from .text import Text
33
+ from .transforms import Bbox
34
+ from .path import Path
35
+
36
+ from .cbook import _is_pandas_dataframe
37
+
38
+
39
+ class Cell(Rectangle):
40
+ """
41
+ A cell is a `.Rectangle` with some associated `.Text`.
42
+
43
+ As a user, you'll most likely not creates cells yourself. Instead, you
44
+ should use either the `~matplotlib.table.table` factory function or
45
+ `.Table.add_cell`.
46
+ """
47
+
48
+ PAD = 0.1
49
+ """Padding between text and rectangle."""
50
+
51
+ _edges = 'BRTL'
52
+ _edge_aliases = {'open': '',
53
+ 'closed': _edges, # default
54
+ 'horizontal': 'BT',
55
+ 'vertical': 'RL'
56
+ }
57
+
58
+ def __init__(self, xy, width, height, *,
59
+ edgecolor='k', facecolor='w',
60
+ fill=True,
61
+ text='',
62
+ loc='right',
63
+ fontproperties=None,
64
+ visible_edges='closed',
65
+ ):
66
+ """
67
+ Parameters
68
+ ----------
69
+ xy : 2-tuple
70
+ The position of the bottom left corner of the cell.
71
+ width : float
72
+ The cell width.
73
+ height : float
74
+ The cell height.
75
+ edgecolor : :mpltype:`color`, default: 'k'
76
+ The color of the cell border.
77
+ facecolor : :mpltype:`color`, default: 'w'
78
+ The cell facecolor.
79
+ fill : bool, default: True
80
+ Whether the cell background is filled.
81
+ text : str, optional
82
+ The cell text.
83
+ loc : {'right', 'center', 'left'}
84
+ The alignment of the text within the cell.
85
+ fontproperties : dict, optional
86
+ A dict defining the font properties of the text. Supported keys and
87
+ values are the keyword arguments accepted by `.FontProperties`.
88
+ visible_edges : {'closed', 'open', 'horizontal', 'vertical'} or \
89
+ substring of 'BRTL'
90
+ The cell edges to be drawn with a line: a substring of 'BRTL'
91
+ (bottom, right, top, left), or one of 'open' (no edges drawn),
92
+ 'closed' (all edges drawn), 'horizontal' (bottom and top),
93
+ 'vertical' (right and left).
94
+ """
95
+
96
+ # Call base
97
+ super().__init__(xy, width=width, height=height, fill=fill,
98
+ edgecolor=edgecolor, facecolor=facecolor)
99
+ self.set_clip_on(False)
100
+ self.visible_edges = visible_edges
101
+
102
+ # Create text object
103
+ self._loc = loc
104
+ self._text = Text(x=xy[0], y=xy[1], clip_on=False,
105
+ text=text, fontproperties=fontproperties,
106
+ horizontalalignment=loc, verticalalignment='center')
107
+
108
+ def set_transform(self, t):
109
+ super().set_transform(t)
110
+ # the text does not get the transform!
111
+ self.stale = True
112
+
113
+ def set_figure(self, fig):
114
+ super().set_figure(fig)
115
+ self._text.set_figure(fig)
116
+
117
+ def get_text(self):
118
+ """Return the cell `.Text` instance."""
119
+ return self._text
120
+
121
+ def set_fontsize(self, size):
122
+ """Set the text fontsize."""
123
+ self._text.set_fontsize(size)
124
+ self.stale = True
125
+
126
+ def get_fontsize(self):
127
+ """Return the cell fontsize."""
128
+ return self._text.get_fontsize()
129
+
130
+ def auto_set_font_size(self, renderer):
131
+ """Shrink font size until the text fits into the cell width."""
132
+ fontsize = self.get_fontsize()
133
+ required = self.get_required_width(renderer)
134
+ while fontsize > 1 and required > self.get_width():
135
+ fontsize -= 1
136
+ self.set_fontsize(fontsize)
137
+ required = self.get_required_width(renderer)
138
+
139
+ return fontsize
140
+
141
+ @allow_rasterization
142
+ def draw(self, renderer):
143
+ if not self.get_visible():
144
+ return
145
+ # draw the rectangle
146
+ super().draw(renderer)
147
+ # position the text
148
+ self._set_text_position(renderer)
149
+ self._text.draw(renderer)
150
+ self.stale = False
151
+
152
+ def _set_text_position(self, renderer):
153
+ """Set text up so it is drawn in the right place."""
154
+ bbox = self.get_window_extent(renderer)
155
+ # center vertically
156
+ y = bbox.y0 + bbox.height / 2
157
+ # position horizontally
158
+ loc = self._text.get_horizontalalignment()
159
+ if loc == 'center':
160
+ x = bbox.x0 + bbox.width / 2
161
+ elif loc == 'left':
162
+ x = bbox.x0 + bbox.width * self.PAD
163
+ else: # right.
164
+ x = bbox.x0 + bbox.width * (1 - self.PAD)
165
+ self._text.set_position((x, y))
166
+
167
+ def get_text_bounds(self, renderer):
168
+ """
169
+ Return the text bounds as *(x, y, width, height)* in table coordinates.
170
+ """
171
+ return (self._text.get_window_extent(renderer)
172
+ .transformed(self.get_data_transform().inverted())
173
+ .bounds)
174
+
175
+ def get_required_width(self, renderer):
176
+ """Return the minimal required width for the cell."""
177
+ l, b, w, h = self.get_text_bounds(renderer)
178
+ return w * (1.0 + (2.0 * self.PAD))
179
+
180
+ @_docstring.interpd
181
+ def set_text_props(self, **kwargs):
182
+ """
183
+ Update the text properties.
184
+
185
+ Valid keyword arguments are:
186
+
187
+ %(Text:kwdoc)s
188
+ """
189
+ self._text._internal_update(kwargs)
190
+ self.stale = True
191
+
192
+ @property
193
+ def visible_edges(self):
194
+ """
195
+ The cell edges to be drawn with a line.
196
+
197
+ Reading this property returns a substring of 'BRTL' (bottom, right,
198
+ top, left').
199
+
200
+ When setting this property, you can use a substring of 'BRTL' or one
201
+ of {'open', 'closed', 'horizontal', 'vertical'}.
202
+ """
203
+ return self._visible_edges
204
+
205
+ @visible_edges.setter
206
+ def visible_edges(self, value):
207
+ if value is None:
208
+ self._visible_edges = self._edges
209
+ elif value in self._edge_aliases:
210
+ self._visible_edges = self._edge_aliases[value]
211
+ else:
212
+ if any(edge not in self._edges for edge in value):
213
+ raise ValueError('Invalid edge param {}, must only be one of '
214
+ '{} or string of {}'.format(
215
+ value,
216
+ ", ".join(self._edge_aliases),
217
+ ", ".join(self._edges)))
218
+ self._visible_edges = value
219
+ self.stale = True
220
+
221
+ def get_path(self):
222
+ """Return a `.Path` for the `.visible_edges`."""
223
+ codes = [Path.MOVETO]
224
+ codes.extend(
225
+ Path.LINETO if edge in self._visible_edges else Path.MOVETO
226
+ for edge in self._edges)
227
+ if Path.MOVETO not in codes[1:]: # All sides are visible
228
+ codes[-1] = Path.CLOSEPOLY
229
+ return Path(
230
+ [[0.0, 0.0], [1.0, 0.0], [1.0, 1.0], [0.0, 1.0], [0.0, 0.0]],
231
+ codes,
232
+ readonly=True
233
+ )
234
+
235
+
236
+ CustomCell = Cell # Backcompat. alias.
237
+
238
+
239
+ class Table(Artist):
240
+ """
241
+ A table of cells.
242
+
243
+ .. note::
244
+
245
+ ``table()`` has some fundamental design limitations and will not be
246
+ developed further. If you need more functionality, consider
247
+ `blume <https://github.com/swfiua/blume>`__.
248
+
249
+
250
+ The table consists of a grid of cells, which are indexed by (row, column).
251
+
252
+ For a simple table, you'll have a full grid of cells with indices from
253
+ (0, 0) to (num_rows-1, num_cols-1), in which the cell (0, 0) is positioned
254
+ at the top left. However, you can also add cells with negative indices.
255
+ You don't have to add a cell to every grid position, so you can create
256
+ tables that have holes.
257
+
258
+ *Note*: You'll usually not create an empty table from scratch. Instead use
259
+ `~matplotlib.table.table` to create a table from data.
260
+ """
261
+ codes = {'best': 0,
262
+ 'upper right': 1, # default
263
+ 'upper left': 2,
264
+ 'lower left': 3,
265
+ 'lower right': 4,
266
+ 'center left': 5,
267
+ 'center right': 6,
268
+ 'lower center': 7,
269
+ 'upper center': 8,
270
+ 'center': 9,
271
+ 'top right': 10,
272
+ 'top left': 11,
273
+ 'bottom left': 12,
274
+ 'bottom right': 13,
275
+ 'right': 14,
276
+ 'left': 15,
277
+ 'top': 16,
278
+ 'bottom': 17,
279
+ }
280
+ """Possible values where to place the table relative to the Axes."""
281
+
282
+ FONTSIZE = 10
283
+
284
+ AXESPAD = 0.02
285
+ """The border between the Axes and the table edge in Axes units."""
286
+
287
+ def __init__(self, ax, loc=None, bbox=None, **kwargs):
288
+ """
289
+ Parameters
290
+ ----------
291
+ ax : `~matplotlib.axes.Axes`
292
+ The `~.axes.Axes` to plot the table into.
293
+ loc : str, optional
294
+ The position of the cell with respect to *ax*. This must be one of
295
+ the `~.Table.codes`.
296
+ bbox : `.Bbox` or [xmin, ymin, width, height], optional
297
+ A bounding box to draw the table into. If this is not *None*, this
298
+ overrides *loc*.
299
+
300
+ Other Parameters
301
+ ----------------
302
+ **kwargs
303
+ `.Artist` properties.
304
+ """
305
+
306
+ super().__init__()
307
+
308
+ if isinstance(loc, str):
309
+ if loc not in self.codes:
310
+ raise ValueError(
311
+ "Unrecognized location {!r}. Valid locations are\n\t{}"
312
+ .format(loc, '\n\t'.join(self.codes)))
313
+ loc = self.codes[loc]
314
+ self.set_figure(ax.get_figure(root=False))
315
+ self._axes = ax
316
+ self._loc = loc
317
+ self._bbox = bbox
318
+
319
+ # use axes coords
320
+ ax._unstale_viewLim()
321
+ self.set_transform(ax.transAxes)
322
+
323
+ self._cells = {}
324
+ self._edges = None
325
+ self._autoColumns = []
326
+ self._autoFontsize = True
327
+ self._internal_update(kwargs)
328
+
329
+ self.set_clip_on(False)
330
+
331
+ def add_cell(self, row, col, *args, **kwargs):
332
+ """
333
+ Create a cell and add it to the table.
334
+
335
+ Parameters
336
+ ----------
337
+ row : int
338
+ Row index.
339
+ col : int
340
+ Column index.
341
+ *args, **kwargs
342
+ All other parameters are passed on to `Cell`.
343
+
344
+ Returns
345
+ -------
346
+ `.Cell`
347
+ The created cell.
348
+
349
+ """
350
+ xy = (0, 0)
351
+ cell = Cell(xy, visible_edges=self.edges, *args, **kwargs)
352
+ self[row, col] = cell
353
+ return cell
354
+
355
+ def __setitem__(self, position, cell):
356
+ """
357
+ Set a custom cell in a given position.
358
+ """
359
+ _api.check_isinstance(Cell, cell=cell)
360
+ try:
361
+ row, col = position[0], position[1]
362
+ except Exception as err:
363
+ raise KeyError('Only tuples length 2 are accepted as '
364
+ 'coordinates') from err
365
+ cell.set_figure(self.get_figure(root=False))
366
+ cell.set_transform(self.get_transform())
367
+ cell.set_clip_on(False)
368
+ self._cells[row, col] = cell
369
+ self.stale = True
370
+
371
+ def __getitem__(self, position):
372
+ """Retrieve a custom cell from a given position."""
373
+ return self._cells[position]
374
+
375
+ @property
376
+ def edges(self):
377
+ """
378
+ The default value of `~.Cell.visible_edges` for newly added
379
+ cells using `.add_cell`.
380
+
381
+ Notes
382
+ -----
383
+ This setting does currently only affect newly created cells using
384
+ `.add_cell`.
385
+
386
+ To change existing cells, you have to set their edges explicitly::
387
+
388
+ for c in tab.get_celld().values():
389
+ c.visible_edges = 'horizontal'
390
+
391
+ """
392
+ return self._edges
393
+
394
+ @edges.setter
395
+ def edges(self, value):
396
+ self._edges = value
397
+ self.stale = True
398
+
399
+ def _approx_text_height(self):
400
+ return (self.FONTSIZE / 72.0 * self.get_figure(root=True).dpi /
401
+ self._axes.bbox.height * 1.2)
402
+
403
+ @allow_rasterization
404
+ def draw(self, renderer):
405
+ # docstring inherited
406
+
407
+ # Need a renderer to do hit tests on mouseevent; assume the last one
408
+ # will do
409
+ if renderer is None:
410
+ renderer = self.get_figure(root=True)._get_renderer()
411
+ if renderer is None:
412
+ raise RuntimeError('No renderer defined')
413
+
414
+ if not self.get_visible():
415
+ return
416
+ renderer.open_group('table', gid=self.get_gid())
417
+ self._update_positions(renderer)
418
+
419
+ for key in sorted(self._cells):
420
+ self._cells[key].draw(renderer)
421
+
422
+ renderer.close_group('table')
423
+ self.stale = False
424
+
425
+ def _get_grid_bbox(self, renderer):
426
+ """
427
+ Get a bbox, in axes coordinates for the cells.
428
+
429
+ Only include those in the range (0, 0) to (maxRow, maxCol).
430
+ """
431
+ boxes = [cell.get_window_extent(renderer)
432
+ for (row, col), cell in self._cells.items()
433
+ if row >= 0 and col >= 0]
434
+ bbox = Bbox.union(boxes)
435
+ return bbox.transformed(self.get_transform().inverted())
436
+
437
+ def contains(self, mouseevent):
438
+ # docstring inherited
439
+ if self._different_canvas(mouseevent):
440
+ return False, {}
441
+ # TODO: Return index of the cell containing the cursor so that the user
442
+ # doesn't have to bind to each one individually.
443
+ renderer = self.get_figure(root=True)._get_renderer()
444
+ if renderer is not None:
445
+ boxes = [cell.get_window_extent(renderer)
446
+ for (row, col), cell in self._cells.items()
447
+ if row >= 0 and col >= 0]
448
+ bbox = Bbox.union(boxes)
449
+ return bbox.contains(mouseevent.x, mouseevent.y), {}
450
+ else:
451
+ return False, {}
452
+
453
+ def get_children(self):
454
+ """Return the Artists contained by the table."""
455
+ return list(self._cells.values())
456
+
457
+ def get_window_extent(self, renderer=None):
458
+ # docstring inherited
459
+ if renderer is None:
460
+ renderer = self.get_figure(root=True)._get_renderer()
461
+ self._update_positions(renderer)
462
+ boxes = [cell.get_window_extent(renderer)
463
+ for cell in self._cells.values()]
464
+ return Bbox.union(boxes)
465
+
466
+ def _do_cell_alignment(self):
467
+ """
468
+ Calculate row heights and column widths; position cells accordingly.
469
+ """
470
+ # Calculate row/column widths
471
+ widths = {}
472
+ heights = {}
473
+ for (row, col), cell in self._cells.items():
474
+ height = heights.setdefault(row, 0.0)
475
+ heights[row] = max(height, cell.get_height())
476
+ width = widths.setdefault(col, 0.0)
477
+ widths[col] = max(width, cell.get_width())
478
+
479
+ # work out left position for each column
480
+ xpos = 0
481
+ lefts = {}
482
+ for col in sorted(widths):
483
+ lefts[col] = xpos
484
+ xpos += widths[col]
485
+
486
+ ypos = 0
487
+ bottoms = {}
488
+ for row in sorted(heights, reverse=True):
489
+ bottoms[row] = ypos
490
+ ypos += heights[row]
491
+
492
+ # set cell positions
493
+ for (row, col), cell in self._cells.items():
494
+ cell.set_x(lefts[col])
495
+ cell.set_y(bottoms[row])
496
+
497
+ def auto_set_column_width(self, col):
498
+ """
499
+ Automatically set the widths of given columns to optimal sizes.
500
+
501
+ Parameters
502
+ ----------
503
+ col : int or sequence of ints
504
+ The indices of the columns to auto-scale.
505
+ """
506
+ col1d = np.atleast_1d(col)
507
+ if not np.issubdtype(col1d.dtype, np.integer):
508
+ raise TypeError("col must be an int or sequence of ints.")
509
+ for cell in col1d:
510
+ self._autoColumns.append(cell)
511
+
512
+ self.stale = True
513
+
514
+ def _auto_set_column_width(self, col, renderer):
515
+ """Automatically set width for column."""
516
+ cells = [cell for key, cell in self._cells.items() if key[1] == col]
517
+ max_width = max((cell.get_required_width(renderer) for cell in cells),
518
+ default=0)
519
+ for cell in cells:
520
+ cell.set_width(max_width)
521
+
522
+ def auto_set_font_size(self, value=True):
523
+ """Automatically set font size."""
524
+ self._autoFontsize = value
525
+ self.stale = True
526
+
527
+ def _auto_set_font_size(self, renderer):
528
+
529
+ if len(self._cells) == 0:
530
+ return
531
+ fontsize = next(iter(self._cells.values())).get_fontsize()
532
+ cells = []
533
+ for key, cell in self._cells.items():
534
+ # ignore auto-sized columns
535
+ if key[1] in self._autoColumns:
536
+ continue
537
+ size = cell.auto_set_font_size(renderer)
538
+ fontsize = min(fontsize, size)
539
+ cells.append(cell)
540
+
541
+ # now set all fontsizes equal
542
+ for cell in self._cells.values():
543
+ cell.set_fontsize(fontsize)
544
+
545
+ def scale(self, xscale, yscale):
546
+ """Scale column widths by *xscale* and row heights by *yscale*."""
547
+ for c in self._cells.values():
548
+ c.set_width(c.get_width() * xscale)
549
+ c.set_height(c.get_height() * yscale)
550
+
551
+ def set_fontsize(self, size):
552
+ """
553
+ Set the font size, in points, of the cell text.
554
+
555
+ Parameters
556
+ ----------
557
+ size : float
558
+
559
+ Notes
560
+ -----
561
+ As long as auto font size has not been disabled, the value will be
562
+ clipped such that the text fits horizontally into the cell.
563
+
564
+ You can disable this behavior using `.auto_set_font_size`.
565
+
566
+ >>> the_table.auto_set_font_size(False)
567
+ >>> the_table.set_fontsize(20)
568
+
569
+ However, there is no automatic scaling of the row height so that the
570
+ text may exceed the cell boundary.
571
+ """
572
+ for cell in self._cells.values():
573
+ cell.set_fontsize(size)
574
+ self.stale = True
575
+
576
+ def _offset(self, ox, oy):
577
+ """Move all the artists by ox, oy (axes coords)."""
578
+ for c in self._cells.values():
579
+ x, y = c.get_x(), c.get_y()
580
+ c.set_x(x + ox)
581
+ c.set_y(y + oy)
582
+
583
+ def _update_positions(self, renderer):
584
+ # called from renderer to allow more precise estimates of
585
+ # widths and heights with get_window_extent
586
+
587
+ # Do any auto width setting
588
+ for col in self._autoColumns:
589
+ self._auto_set_column_width(col, renderer)
590
+
591
+ if self._autoFontsize:
592
+ self._auto_set_font_size(renderer)
593
+
594
+ # Align all the cells
595
+ self._do_cell_alignment()
596
+
597
+ bbox = self._get_grid_bbox(renderer)
598
+ l, b, w, h = bbox.bounds
599
+
600
+ if self._bbox is not None:
601
+ # Position according to bbox
602
+ if isinstance(self._bbox, Bbox):
603
+ rl, rb, rw, rh = self._bbox.bounds
604
+ else:
605
+ rl, rb, rw, rh = self._bbox
606
+ self.scale(rw / w, rh / h)
607
+ ox = rl - l
608
+ oy = rb - b
609
+ self._do_cell_alignment()
610
+ else:
611
+ # Position using loc
612
+ (BEST, UR, UL, LL, LR, CL, CR, LC, UC, C,
613
+ TR, TL, BL, BR, R, L, T, B) = range(len(self.codes))
614
+ # defaults for center
615
+ ox = (0.5 - w / 2) - l
616
+ oy = (0.5 - h / 2) - b
617
+ if self._loc in (UL, LL, CL): # left
618
+ ox = self.AXESPAD - l
619
+ if self._loc in (BEST, UR, LR, R, CR): # right
620
+ ox = 1 - (l + w + self.AXESPAD)
621
+ if self._loc in (BEST, UR, UL, UC): # upper
622
+ oy = 1 - (b + h + self.AXESPAD)
623
+ if self._loc in (LL, LR, LC): # lower
624
+ oy = self.AXESPAD - b
625
+ if self._loc in (LC, UC, C): # center x
626
+ ox = (0.5 - w / 2) - l
627
+ if self._loc in (CL, CR, C): # center y
628
+ oy = (0.5 - h / 2) - b
629
+
630
+ if self._loc in (TL, BL, L): # out left
631
+ ox = - (l + w)
632
+ if self._loc in (TR, BR, R): # out right
633
+ ox = 1.0 - l
634
+ if self._loc in (TR, TL, T): # out top
635
+ oy = 1.0 - b
636
+ if self._loc in (BL, BR, B): # out bottom
637
+ oy = - (b + h)
638
+
639
+ self._offset(ox, oy)
640
+
641
+ def get_celld(self):
642
+ r"""
643
+ Return a dict of cells in the table mapping *(row, column)* to
644
+ `.Cell`\s.
645
+
646
+ Notes
647
+ -----
648
+ You can also directly index into the Table object to access individual
649
+ cells::
650
+
651
+ cell = table[row, col]
652
+
653
+ """
654
+ return self._cells
655
+
656
+
657
+ @_docstring.interpd
658
+ def table(ax,
659
+ cellText=None, cellColours=None,
660
+ cellLoc='right', colWidths=None,
661
+ rowLabels=None, rowColours=None, rowLoc='left',
662
+ colLabels=None, colColours=None, colLoc='center',
663
+ loc='bottom', bbox=None, edges='closed',
664
+ **kwargs):
665
+ """
666
+ Add a table to an `~.axes.Axes`.
667
+
668
+ .. note::
669
+
670
+ ``table()`` has some fundamental design limitations and will not be
671
+ developed further. If you need more functionality, consider
672
+ `blume <https://github.com/swfiua/blume>`__.
673
+
674
+ At least one of *cellText* or *cellColours* must be specified. These
675
+ parameters must be 2D lists, in which the outer lists define the rows and
676
+ the inner list define the column values per row. Each row must have the
677
+ same number of elements.
678
+
679
+ The table can optionally have row and column headers, which are configured
680
+ using *rowLabels*, *rowColours*, *rowLoc* and *colLabels*, *colColours*,
681
+ *colLoc* respectively.
682
+
683
+ For finer grained control over tables, use the `.Table` class and add it to
684
+ the Axes with `.Axes.add_table`.
685
+
686
+ Parameters
687
+ ----------
688
+ cellText : 2D list of str or pandas.DataFrame, optional
689
+ The texts to place into the table cells.
690
+
691
+ *Note*: Line breaks in the strings are currently not accounted for and
692
+ will result in the text exceeding the cell boundaries.
693
+
694
+ cellColours : 2D list of :mpltype:`color`, optional
695
+ The background colors of the cells.
696
+
697
+ cellLoc : {'right', 'center', 'left'}
698
+ The alignment of the text within the cells.
699
+
700
+ colWidths : list of float, optional
701
+ The column widths in units of the axes. If not given, all columns will
702
+ have a width of *1 / ncols*.
703
+
704
+ rowLabels : list of str, optional
705
+ The text of the row header cells.
706
+
707
+ rowColours : list of :mpltype:`color`, optional
708
+ The colors of the row header cells.
709
+
710
+ rowLoc : {'left', 'center', 'right'}
711
+ The text alignment of the row header cells.
712
+
713
+ colLabels : list of str, optional
714
+ The text of the column header cells.
715
+
716
+ colColours : list of :mpltype:`color`, optional
717
+ The colors of the column header cells.
718
+
719
+ colLoc : {'center', 'left', 'right'}
720
+ The text alignment of the column header cells.
721
+
722
+ loc : str, default: 'bottom'
723
+ The position of the cell with respect to *ax*. This must be one of
724
+ the `~.Table.codes`.
725
+
726
+ bbox : `.Bbox` or [xmin, ymin, width, height], optional
727
+ A bounding box to draw the table into. If this is not *None*, this
728
+ overrides *loc*.
729
+
730
+ edges : {'closed', 'open', 'horizontal', 'vertical'} or substring of 'BRTL'
731
+ The cell edges to be drawn with a line. See also
732
+ `~.Cell.visible_edges`.
733
+
734
+ Returns
735
+ -------
736
+ `~matplotlib.table.Table`
737
+ The created table.
738
+
739
+ Other Parameters
740
+ ----------------
741
+ **kwargs
742
+ `.Table` properties.
743
+
744
+ %(Table:kwdoc)s
745
+ """
746
+
747
+ if cellColours is None and cellText is None:
748
+ raise ValueError('At least one argument from "cellColours" or '
749
+ '"cellText" must be provided to create a table.')
750
+
751
+ # Check we have some cellText
752
+ if cellText is None:
753
+ # assume just colours are needed
754
+ rows = len(cellColours)
755
+ cols = len(cellColours[0])
756
+ cellText = [[''] * cols] * rows
757
+
758
+ # Check if we have a Pandas DataFrame
759
+ if _is_pandas_dataframe(cellText):
760
+ # if rowLabels/colLabels are empty, use DataFrame entries.
761
+ # Otherwise, throw an error.
762
+ if rowLabels is None:
763
+ rowLabels = cellText.index
764
+ else:
765
+ raise ValueError("rowLabels cannot be used alongside Pandas DataFrame")
766
+ if colLabels is None:
767
+ colLabels = cellText.columns
768
+ else:
769
+ raise ValueError("colLabels cannot be used alongside Pandas DataFrame")
770
+ # Update cellText with only values
771
+ cellText = cellText.values
772
+
773
+ rows = len(cellText)
774
+ cols = len(cellText[0])
775
+ for row in cellText:
776
+ if len(row) != cols:
777
+ raise ValueError(f"Each row in 'cellText' must have {cols} "
778
+ "columns")
779
+
780
+ if cellColours is not None:
781
+ if len(cellColours) != rows:
782
+ raise ValueError(f"'cellColours' must have {rows} rows")
783
+ for row in cellColours:
784
+ if len(row) != cols:
785
+ raise ValueError("Each row in 'cellColours' must have "
786
+ f"{cols} columns")
787
+ else:
788
+ cellColours = ['w' * cols] * rows
789
+
790
+ # Set colwidths if not given
791
+ if colWidths is None:
792
+ colWidths = [1.0 / cols] * cols
793
+
794
+ # Fill in missing information for column
795
+ # and row labels
796
+ rowLabelWidth = 0
797
+ if rowLabels is None:
798
+ if rowColours is not None:
799
+ rowLabels = [''] * rows
800
+ rowLabelWidth = colWidths[0]
801
+ elif rowColours is None:
802
+ rowColours = 'w' * rows
803
+
804
+ if rowLabels is not None:
805
+ if len(rowLabels) != rows:
806
+ raise ValueError(f"'rowLabels' must be of length {rows}")
807
+
808
+ # If we have column labels, need to shift
809
+ # the text and colour arrays down 1 row
810
+ offset = 1
811
+ if colLabels is None:
812
+ if colColours is not None:
813
+ colLabels = [''] * cols
814
+ else:
815
+ offset = 0
816
+ elif colColours is None:
817
+ colColours = 'w' * cols
818
+
819
+ # Set up cell colours if not given
820
+ if cellColours is None:
821
+ cellColours = ['w' * cols] * rows
822
+
823
+ # Now create the table
824
+ table = Table(ax, loc, bbox, **kwargs)
825
+ table.edges = edges
826
+ height = table._approx_text_height()
827
+
828
+ # Add the cells
829
+ for row in range(rows):
830
+ for col in range(cols):
831
+ table.add_cell(row + offset, col,
832
+ width=colWidths[col], height=height,
833
+ text=cellText[row][col],
834
+ facecolor=cellColours[row][col],
835
+ loc=cellLoc)
836
+ # Do column labels
837
+ if colLabels is not None:
838
+ for col in range(cols):
839
+ table.add_cell(0, col,
840
+ width=colWidths[col], height=height,
841
+ text=colLabels[col], facecolor=colColours[col],
842
+ loc=colLoc)
843
+
844
+ # Do row labels
845
+ if rowLabels is not None:
846
+ for row in range(rows):
847
+ table.add_cell(row + offset, -1,
848
+ width=rowLabelWidth or 1e-15, height=height,
849
+ text=rowLabels[row], facecolor=rowColours[row],
850
+ loc=rowLoc)
851
+ if rowLabelWidth == 0:
852
+ table.auto_set_column_width(-1)
853
+
854
+ # set_fontsize is only effective after cells are added
855
+ if "fontsize" in kwargs:
856
+ table.set_fontsize(kwargs["fontsize"])
857
+
858
+ ax.add_table(table)
859
+ return table
.venv/lib/python3.12/site-packages/matplotlib/table.pyi ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from .artist import Artist
2
+ from .axes import Axes
3
+ from .backend_bases import RendererBase
4
+ from .patches import Rectangle
5
+ from .path import Path
6
+ from .text import Text
7
+ from .transforms import Bbox
8
+ from .typing import ColorType
9
+
10
+ from collections.abc import Sequence
11
+ from typing import Any, Literal
12
+
13
+ from pandas import DataFrame
14
+
15
+ class Cell(Rectangle):
16
+ PAD: float
17
+ def __init__(
18
+ self,
19
+ xy: tuple[float, float],
20
+ width: float,
21
+ height: float,
22
+ *,
23
+ edgecolor: ColorType = ...,
24
+ facecolor: ColorType = ...,
25
+ fill: bool = ...,
26
+ text: str = ...,
27
+ loc: Literal["left", "center", "right"] = ...,
28
+ fontproperties: dict[str, Any] | None = ...,
29
+ visible_edges: str | None = ...
30
+ ) -> None: ...
31
+ def get_text(self) -> Text: ...
32
+ def set_fontsize(self, size: float) -> None: ...
33
+ def get_fontsize(self) -> float: ...
34
+ def auto_set_font_size(self, renderer: RendererBase) -> float: ...
35
+ def get_text_bounds(
36
+ self, renderer: RendererBase
37
+ ) -> tuple[float, float, float, float]: ...
38
+ def get_required_width(self, renderer: RendererBase) -> float: ...
39
+ def set_text_props(self, **kwargs) -> None: ...
40
+ @property
41
+ def visible_edges(self) -> str: ...
42
+ @visible_edges.setter
43
+ def visible_edges(self, value: str | None) -> None: ...
44
+ def get_path(self) -> Path: ...
45
+
46
+ CustomCell = Cell
47
+
48
+ class Table(Artist):
49
+ codes: dict[str, int]
50
+ FONTSIZE: float
51
+ AXESPAD: float
52
+ def __init__(
53
+ self, ax: Axes, loc: str | None = ..., bbox: Bbox | None = ..., **kwargs
54
+ ) -> None: ...
55
+ def add_cell(self, row: int, col: int, *args, **kwargs) -> Cell: ...
56
+ def __setitem__(self, position: tuple[int, int], cell: Cell) -> None: ...
57
+ def __getitem__(self, position: tuple[int, int]) -> Cell: ...
58
+ @property
59
+ def edges(self) -> str | None: ...
60
+ @edges.setter
61
+ def edges(self, value: str | None) -> None: ...
62
+ def draw(self, renderer) -> None: ...
63
+ def get_children(self) -> list[Artist]: ...
64
+ def get_window_extent(self, renderer: RendererBase | None = ...) -> Bbox: ...
65
+ def auto_set_column_width(self, col: int | Sequence[int]) -> None: ...
66
+ def auto_set_font_size(self, value: bool = ...) -> None: ...
67
+ def scale(self, xscale: float, yscale: float) -> None: ...
68
+ def set_fontsize(self, size: float) -> None: ...
69
+ def get_celld(self) -> dict[tuple[int, int], Cell]: ...
70
+
71
+ def table(
72
+ ax: Axes,
73
+ cellText: Sequence[Sequence[str]] | DataFrame | None = ...,
74
+ cellColours: Sequence[Sequence[ColorType]] | None = ...,
75
+ cellLoc: Literal["left", "center", "right"] = ...,
76
+ colWidths: Sequence[float] | None = ...,
77
+ rowLabels: Sequence[str] | None = ...,
78
+ rowColours: Sequence[ColorType] | None = ...,
79
+ rowLoc: Literal["left", "center", "right"] = ...,
80
+ colLabels: Sequence[str] | None = ...,
81
+ colColours: Sequence[ColorType] | None = ...,
82
+ colLoc: Literal["left", "center", "right"] = ...,
83
+ loc: str = ...,
84
+ bbox: Bbox | None = ...,
85
+ edges: str = ...,
86
+ **kwargs
87
+ ) -> Table: ...
.venv/lib/python3.12/site-packages/matplotlib/testing/__init__.py ADDED
@@ -0,0 +1,317 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ Helper functions for testing.
3
+ """
4
+ import itertools
5
+ import locale
6
+ import logging
7
+ import os
8
+ from pathlib import Path
9
+ import string
10
+ import subprocess
11
+ import sys
12
+ from tempfile import TemporaryDirectory
13
+
14
+ import matplotlib as mpl
15
+ from matplotlib import _api
16
+
17
+ _log = logging.getLogger(__name__)
18
+
19
+
20
+ def set_font_settings_for_testing():
21
+ mpl.rcParams['font.family'] = 'DejaVu Sans'
22
+ mpl.rcParams['text.hinting'] = 'default'
23
+
24
+
25
+ def set_reproducibility_for_testing():
26
+ mpl.rcParams['svg.hashsalt'] = 'matplotlib'
27
+
28
+
29
+ def setup():
30
+ # The baseline images are created in this locale, so we should use
31
+ # it during all of the tests.
32
+
33
+ try:
34
+ locale.setlocale(locale.LC_ALL, 'en_US.UTF-8')
35
+ except locale.Error:
36
+ try:
37
+ locale.setlocale(locale.LC_ALL, 'English_United States.1252')
38
+ except locale.Error:
39
+ _log.warning(
40
+ "Could not set locale to English/United States. "
41
+ "Some date-related tests may fail.")
42
+
43
+ mpl.use('Agg')
44
+
45
+ with _api.suppress_matplotlib_deprecation_warning():
46
+ mpl.rcdefaults() # Start with all defaults
47
+
48
+ # These settings *must* be hardcoded for running the comparison tests and
49
+ # are not necessarily the default values as specified in rcsetup.py.
50
+ set_font_settings_for_testing()
51
+ set_reproducibility_for_testing()
52
+
53
+
54
+ def subprocess_run_for_testing(command, env=None, timeout=60, stdout=None,
55
+ stderr=None, check=False, text=True,
56
+ capture_output=False, **kwargs):
57
+ """
58
+ Create and run a subprocess.
59
+
60
+ Thin wrapper around `subprocess.run`, intended for testing. Will
61
+ mark fork() failures on Cygwin as expected failures: not a
62
+ success, but not indicating a problem with the code either.
63
+
64
+ Parameters
65
+ ----------
66
+ args : list of str
67
+ env : dict[str, str]
68
+ timeout : float
69
+ stdout, stderr
70
+ check : bool
71
+ text : bool
72
+ Also called ``universal_newlines`` in subprocess. I chose this
73
+ name since the main effect is returning bytes (`False`) vs. str
74
+ (`True`), though it also tries to normalize newlines across
75
+ platforms.
76
+ capture_output : bool
77
+ Set stdout and stderr to subprocess.PIPE
78
+
79
+ Returns
80
+ -------
81
+ proc : subprocess.Popen
82
+
83
+ See Also
84
+ --------
85
+ subprocess.run
86
+
87
+ Raises
88
+ ------
89
+ pytest.skip
90
+ If running on emscripten, which does not support subprocesses.
91
+ pytest.xfail
92
+ If platform is Cygwin and subprocess reports a fork() failure.
93
+ """
94
+ if sys.platform == 'emscripten':
95
+ import pytest
96
+ pytest.skip('emscripten does not support subprocesses')
97
+ if capture_output:
98
+ stdout = stderr = subprocess.PIPE
99
+ # Add CREATE_NO_WINDOW flag on Windows to prevent console window overhead
100
+ # This is added in an attempt to fix flaky timeouts of subprocesses on Windows
101
+ if sys.platform == 'win32':
102
+ if 'creationflags' not in kwargs:
103
+ kwargs['creationflags'] = subprocess.CREATE_NO_WINDOW
104
+ else:
105
+ kwargs['creationflags'] |= subprocess.CREATE_NO_WINDOW
106
+ try:
107
+ proc = subprocess.run(
108
+ command, env=env,
109
+ timeout=timeout, check=check,
110
+ stdout=stdout, stderr=stderr,
111
+ text=text, **kwargs
112
+ )
113
+ except BlockingIOError:
114
+ if sys.platform == "cygwin":
115
+ # Might want to make this more specific
116
+ import pytest
117
+ pytest.xfail("Fork failure")
118
+ raise
119
+ except subprocess.CalledProcessError as e:
120
+ if e.stdout:
121
+ _log.error(f"Subprocess output:\n{e.stdout}")
122
+ if e.stderr:
123
+ _log.error(f"Subprocess error:\n{e.stderr}")
124
+ raise e
125
+ if proc.stdout:
126
+ _log.debug(f"Subprocess output:\n{proc.stdout}")
127
+ if proc.stderr:
128
+ _log.debug(f"Subprocess error:\n{proc.stderr}")
129
+ return proc
130
+
131
+
132
+ def subprocess_run_helper(func, *args, timeout, extra_env=None):
133
+ """
134
+ Run a function in a sub-process.
135
+
136
+ Parameters
137
+ ----------
138
+ func : function
139
+ The function to be run. It must be in a module that is importable.
140
+ *args : str
141
+ Any additional command line arguments to be passed in
142
+ the first argument to ``subprocess.run``.
143
+ extra_env : dict[str, str]
144
+ Any additional environment variables to be set for the subprocess.
145
+ """
146
+ if is_ci_environment():
147
+ timeout *= 6
148
+ target = func.__name__
149
+ module = func.__module__
150
+ file = func.__code__.co_filename
151
+ proc = subprocess_run_for_testing(
152
+ [
153
+ sys.executable,
154
+ "-c",
155
+ f"import importlib.util;"
156
+ f"_spec = importlib.util.spec_from_file_location({module!r}, {file!r});"
157
+ f"_module = importlib.util.module_from_spec(_spec);"
158
+ f"_spec.loader.exec_module(_module);"
159
+ f"_module.{target}()",
160
+ *args,
161
+ ],
162
+ env={
163
+ **os.environ,
164
+ "SOURCE_DATE_EPOCH": "0",
165
+ # subprocess_run_helper sets SOURCE_DATE_EPOCH=0 above, so for a dirty tree,
166
+ # the version will have the date 19700101 which breaks pickle tests with a
167
+ # warning if the working tree is dirty.
168
+ #
169
+ # This will also avoid at least one additional subprocess call for
170
+ # setuptools-scm query git, so we tell the subprocess what version
171
+ # to report as the test process.
172
+ "SETUPTOOLS_SCM_PRETEND_VERSION_FOR_MATPLOTLIB": mpl.__version__,
173
+ **(extra_env or {}),
174
+ },
175
+ timeout=timeout,
176
+ check=True,
177
+ stdout=subprocess.PIPE,
178
+ stderr=subprocess.PIPE,
179
+ text=True,
180
+ )
181
+ return proc
182
+
183
+
184
+ def _check_for_pgf(texsystem):
185
+ """
186
+ Check if a given TeX system + pgf is available
187
+
188
+ Parameters
189
+ ----------
190
+ texsystem : str
191
+ The executable name to check
192
+ """
193
+ with TemporaryDirectory() as tmpdir:
194
+ tex_path = Path(tmpdir, "test.tex")
195
+ tex_path.write_text(r"""
196
+ \documentclass{article}
197
+ \usepackage{pgf}
198
+ \begin{document}
199
+ \typeout{pgfversion=\pgfversion}
200
+ \makeatletter
201
+ \@@end
202
+ """, encoding="utf-8")
203
+ try:
204
+ subprocess.check_call(
205
+ [texsystem, "-halt-on-error", "-no-shell-escape",
206
+ str(tex_path)], cwd=tmpdir,
207
+ stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
208
+ except (OSError, subprocess.CalledProcessError):
209
+ return False
210
+ return True
211
+
212
+
213
+ def _has_tex_package(package):
214
+ try:
215
+ mpl.dviread.find_tex_file(f"{package}.sty")
216
+ return True
217
+ except (FileNotFoundError, OSError):
218
+ return False
219
+
220
+
221
+ def ipython_in_subprocess(requested_backend_or_gui_framework, all_expected_backends):
222
+ import pytest
223
+ IPython = pytest.importorskip("IPython")
224
+
225
+ if sys.platform == "win32":
226
+ pytest.skip("Cannot change backend running IPython in subprocess on Windows")
227
+
228
+ if (IPython.version_info[:3] == (8, 24, 0) and
229
+ requested_backend_or_gui_framework == "osx"):
230
+ pytest.skip("Bug using macosx backend in IPython 8.24.0 fixed in 8.24.1")
231
+
232
+ # This code can be removed when Python 3.12, the latest version supported
233
+ # by IPython < 8.24, reaches end-of-life in late 2028.
234
+ for min_version, backend in all_expected_backends.items():
235
+ if IPython.version_info[:2] >= min_version:
236
+ expected_backend = backend
237
+ break
238
+
239
+ code = ("import matplotlib as mpl, matplotlib.pyplot as plt;"
240
+ "fig, ax=plt.subplots(); ax.plot([1, 3, 2]); mpl.get_backend()")
241
+ proc = subprocess_run_for_testing(
242
+ [
243
+ "ipython",
244
+ "--no-simple-prompt",
245
+ f"--matplotlib={requested_backend_or_gui_framework}",
246
+ "-c", code,
247
+ ],
248
+ check=True,
249
+ capture_output=True,
250
+ )
251
+
252
+ assert proc.stdout.strip().endswith(f"'{expected_backend}'")
253
+
254
+
255
+ def is_ci_environment():
256
+ # Common CI variables
257
+ ci_environment_variables = [
258
+ 'CI', # Generic CI environment variable
259
+ 'CONTINUOUS_INTEGRATION', # Generic CI environment variable
260
+ 'TRAVIS', # Travis CI
261
+ 'CIRCLECI', # CircleCI
262
+ 'JENKINS', # Jenkins
263
+ 'GITLAB_CI', # GitLab CI
264
+ 'GITHUB_ACTIONS', # GitHub Actions
265
+ 'TEAMCITY_VERSION', # TeamCity
266
+ 'TF_BUILD', # Azure Pipelines
267
+ # Add other CI environment variables as needed
268
+ ]
269
+
270
+ for env_var in ci_environment_variables:
271
+ if os.getenv(env_var):
272
+ return True
273
+
274
+ return False
275
+
276
+
277
+ def _gen_multi_font_text():
278
+ """
279
+ Generate text intended for use with multiple fonts to exercise font fallbacks.
280
+
281
+ Returns
282
+ -------
283
+ fonts : list of str
284
+ The names of the fonts used to render the test string, sorted by intended
285
+ priority. This should be set as the font family for the Figure or Text artist.
286
+ text : str
287
+ The test string.
288
+ """
289
+ # These fonts are serif and sans-serif, and would not normally be combined, but that
290
+ # should make it easier to see which glyph is from which font.
291
+ fonts = ['cmr10', 'DejaVu Sans']
292
+ # cmr10 does not contain accented characters, so they should fall back to DejaVu
293
+ # Sans. However, some accented capital A versions *are* in cmr10 with non-standard
294
+ # glyph shapes, so don't test those (otherwise this Latin1 supplement group would
295
+ # start at 0xA0.)
296
+ start = 0xC5
297
+ latin1_supplement = [chr(x) for x in range(start, 0xFF+1)]
298
+ latin_extended_A = [chr(x) for x in range(0x100, 0x17F+1)]
299
+ latin_extended_B = [chr(x) for x in range(0x180, 0x24F+1)]
300
+ non_basic_multilingual_plane = [chr(x) for x in range(0x1F600, 0x1F610)]
301
+ count = itertools.count(start - 0xA0)
302
+ non_basic_characters = '\n'.join(
303
+ ''.join(line)
304
+ for _, line in itertools.groupby( # Replace with itertools.batched for Py3.12+.
305
+ [*latin1_supplement, *latin_extended_A, *latin_extended_B,
306
+ *non_basic_multilingual_plane],
307
+ key=lambda x: next(count) // 32) # 32 characters per line.
308
+ )
309
+ test_str = f"""There are basic characters
310
+ {string.ascii_uppercase} {string.ascii_lowercase}
311
+ {string.digits} {string.punctuation}
312
+ and accented characters
313
+ {non_basic_characters}
314
+ in between!"""
315
+ # The resulting string contains 491 unique characters. Some file formats use 8-bit
316
+ # tables, which the large number of characters exercises twice over.
317
+ return fonts, test_str
.venv/lib/python3.12/site-packages/matplotlib/testing/__init__.pyi ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from collections.abc import Callable
2
+ import subprocess
3
+ from typing import Any, IO, Literal, overload
4
+
5
+ def set_font_settings_for_testing() -> None: ...
6
+ def set_reproducibility_for_testing() -> None: ...
7
+ def setup() -> None: ...
8
+ @overload
9
+ def subprocess_run_for_testing(
10
+ command: list[str],
11
+ env: dict[str, str] | None = ...,
12
+ timeout: float | None = ...,
13
+ stdout: int | IO[Any] | None = ...,
14
+ stderr: int | IO[Any] | None = ...,
15
+ check: bool = ...,
16
+ *,
17
+ text: Literal[True],
18
+ capture_output: bool = ...,
19
+ **kwargs,
20
+ ) -> subprocess.CompletedProcess[str]: ...
21
+ @overload
22
+ def subprocess_run_for_testing(
23
+ command: list[str],
24
+ env: dict[str, str] | None = ...,
25
+ timeout: float | None = ...,
26
+ stdout: int | IO[Any] | None = ...,
27
+ stderr: int | IO[Any] | None = ...,
28
+ check: bool = ...,
29
+ text: Literal[False] = ...,
30
+ capture_output: bool = ...,
31
+ **kwargs,
32
+ ) -> subprocess.CompletedProcess[bytes]: ...
33
+ @overload
34
+ def subprocess_run_for_testing(
35
+ command: list[str],
36
+ env: dict[str, str] | None = ...,
37
+ timeout: float | None = ...,
38
+ stdout: int | IO[Any] | None = ...,
39
+ stderr: int | IO[Any] | None = ...,
40
+ check: bool = ...,
41
+ text: bool = ...,
42
+ capture_output: bool = ...,
43
+ **kwargs,
44
+ ) -> subprocess.CompletedProcess[bytes] | subprocess.CompletedProcess[str]: ...
45
+ def subprocess_run_helper(
46
+ func: Callable[[], None],
47
+ *args: Any,
48
+ timeout: float,
49
+ extra_env: dict[str, str] | None = ...,
50
+ ) -> subprocess.CompletedProcess[str]: ...
51
+ def _check_for_pgf(texsystem: str) -> bool: ...
52
+ def _has_tex_package(package: str) -> bool: ...
53
+ def ipython_in_subprocess(
54
+ requested_backend_or_gui_framework: str,
55
+ all_expected_backends: dict[tuple[int, int], str],
56
+ ) -> None: ...
57
+ def is_ci_environment() -> bool: ...
58
+ def _gen_multi_font_text() -> tuple[list[str], str]: ...
.venv/lib/python3.12/site-packages/matplotlib/testing/__pycache__/__init__.cpython-312.pyc ADDED
Binary file (12 kB). View file
 
.venv/lib/python3.12/site-packages/matplotlib/testing/__pycache__/_markers.cpython-312.pyc ADDED
Binary file (2.43 kB). View file
 
.venv/lib/python3.12/site-packages/matplotlib/testing/__pycache__/compare.cpython-312.pyc ADDED
Binary file (25.8 kB). View file
 
.venv/lib/python3.12/site-packages/matplotlib/testing/__pycache__/conftest.cpython-312.pyc ADDED
Binary file (9.03 kB). View file
 
.venv/lib/python3.12/site-packages/matplotlib/testing/__pycache__/decorators.cpython-312.pyc ADDED
Binary file (23.8 kB). View file
 
.venv/lib/python3.12/site-packages/matplotlib/testing/__pycache__/exceptions.cpython-312.pyc ADDED
Binary file (497 Bytes). View file
 
.venv/lib/python3.12/site-packages/matplotlib/testing/__pycache__/widgets.cpython-312.pyc ADDED
Binary file (5.11 kB). View file
 
.venv/lib/python3.12/site-packages/matplotlib/testing/_markers.py ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ pytest markers for the internal Matplotlib test suite.
3
+ """
4
+
5
+ import logging
6
+ import shutil
7
+
8
+ import pytest
9
+
10
+ import matplotlib.testing
11
+ import matplotlib.testing.compare
12
+ from matplotlib import _get_executable_info, ExecutableNotFoundError
13
+
14
+
15
+ _log = logging.getLogger(__name__)
16
+
17
+
18
+ def _checkdep_usetex() -> bool:
19
+ if not shutil.which("tex"):
20
+ _log.warning("usetex mode requires TeX.")
21
+ return False
22
+ try:
23
+ _get_executable_info("dvipng")
24
+ except ExecutableNotFoundError:
25
+ _log.warning("usetex mode requires dvipng.")
26
+ return False
27
+ try:
28
+ _get_executable_info("gs")
29
+ except ExecutableNotFoundError:
30
+ _log.warning("usetex mode requires ghostscript.")
31
+ return False
32
+ return True
33
+
34
+
35
+ needs_ghostscript = pytest.mark.skipif(
36
+ "eps" not in matplotlib.testing.compare.converter,
37
+ reason="This test needs a ghostscript installation")
38
+ needs_pgf_lualatex = pytest.mark.skipif(
39
+ not matplotlib.testing._check_for_pgf('lualatex'),
40
+ reason='lualatex + pgf is required')
41
+ needs_pgf_pdflatex = pytest.mark.skipif(
42
+ not matplotlib.testing._check_for_pgf('pdflatex'),
43
+ reason='pdflatex + pgf is required')
44
+ needs_pgf_xelatex = pytest.mark.skipif(
45
+ not matplotlib.testing._check_for_pgf('xelatex'),
46
+ reason='xelatex + pgf is required')
47
+ needs_usetex = pytest.mark.skipif(
48
+ not _checkdep_usetex(),
49
+ reason="This test needs a TeX installation")
.venv/lib/python3.12/site-packages/matplotlib/testing/compare.py ADDED
@@ -0,0 +1,546 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ Utilities for comparing image results.
3
+ """
4
+
5
+ import atexit
6
+ import functools
7
+ import hashlib
8
+ import logging
9
+ import os
10
+ from pathlib import Path
11
+ import shutil
12
+ import subprocess
13
+ import sys
14
+ from tempfile import TemporaryDirectory, TemporaryFile
15
+ import weakref
16
+ import re
17
+
18
+ import numpy as np
19
+ from PIL import Image
20
+
21
+ import matplotlib as mpl
22
+ from matplotlib import cbook, _image
23
+ from matplotlib.testing.exceptions import ImageComparisonFailure
24
+
25
+ _log = logging.getLogger(__name__)
26
+
27
+ __all__ = ['calculate_rms', 'comparable_formats', 'compare_images']
28
+
29
+
30
+ def make_test_filename(fname, purpose):
31
+ """
32
+ Make a new filename by inserting *purpose* before the file's extension.
33
+ """
34
+ base, ext = os.path.splitext(fname)
35
+ return f'{base}-{purpose}{ext}'
36
+
37
+
38
+ def _get_cache_path():
39
+ cache_dir = Path(mpl.get_cachedir(), 'test_cache')
40
+ cache_dir.mkdir(parents=True, exist_ok=True)
41
+ return cache_dir
42
+
43
+
44
+ def get_cache_dir():
45
+ return str(_get_cache_path())
46
+
47
+
48
+ def get_file_hash(path, block_size=2 ** 20):
49
+ sha256 = hashlib.sha256(usedforsecurity=False)
50
+ with open(path, 'rb') as fd:
51
+ while True:
52
+ data = fd.read(block_size)
53
+ if not data:
54
+ break
55
+ sha256.update(data)
56
+
57
+ if Path(path).suffix == '.pdf':
58
+ sha256.update(str(mpl._get_executable_info("gs").version).encode('utf-8'))
59
+ elif Path(path).suffix == '.svg':
60
+ sha256.update(str(mpl._get_executable_info("inkscape").version).encode('utf-8'))
61
+
62
+ return sha256.hexdigest()
63
+
64
+
65
+ class _ConverterError(Exception):
66
+ pass
67
+
68
+
69
+ class _Converter:
70
+ def __init__(self):
71
+ self._proc = None
72
+ # Explicitly register deletion from an atexit handler because if we
73
+ # wait until the object is GC'd (which occurs later), then some module
74
+ # globals (e.g. signal.SIGKILL) has already been set to None, and
75
+ # kill() doesn't work anymore...
76
+ atexit.register(self.__del__)
77
+
78
+ def __del__(self):
79
+ if self._proc:
80
+ self._proc.kill()
81
+ self._proc.wait()
82
+ for stream in filter(None, [self._proc.stdin,
83
+ self._proc.stdout,
84
+ self._proc.stderr]):
85
+ stream.close()
86
+ self._proc = None
87
+
88
+ def _read_until(self, terminator):
89
+ """Read until the prompt is reached."""
90
+ buf = bytearray()
91
+ while True:
92
+ c = self._proc.stdout.read(1)
93
+ if not c:
94
+ raise _ConverterError(os.fsdecode(bytes(buf)))
95
+ buf.extend(c)
96
+ if buf.endswith(terminator):
97
+ return bytes(buf)
98
+
99
+
100
+ class _MagickConverter:
101
+ def __call__(self, orig, dest):
102
+ try:
103
+ # ImageMagick may not be permitted to follow a symlink, so resolve it
104
+ if orig.is_symlink():
105
+ orig = orig.resolve()
106
+ subprocess.run(
107
+ [mpl._get_executable_info("magick").executable, orig, dest],
108
+ check=True)
109
+ except subprocess.CalledProcessError as e:
110
+ raise _ConverterError() from e
111
+
112
+
113
+ class _GSConverter(_Converter):
114
+ def __call__(self, orig, dest):
115
+ if not self._proc:
116
+ self._proc = subprocess.Popen(
117
+ [mpl._get_executable_info("gs").executable,
118
+ "-dNOSAFER", "-dNOPAUSE", "-dEPSCrop", "-sDEVICE=png16m"],
119
+ # As far as I can see, ghostscript never outputs to stderr.
120
+ stdin=subprocess.PIPE, stdout=subprocess.PIPE)
121
+ try:
122
+ self._read_until(b"\nGS")
123
+ except _ConverterError as e:
124
+ raise OSError(f"Failed to start Ghostscript:\n\n{e.args[0]}") from None
125
+
126
+ def encode_and_escape(name):
127
+ return (os.fsencode(name)
128
+ .replace(b"\\", b"\\\\")
129
+ .replace(b"(", br"\(")
130
+ .replace(b")", br"\)"))
131
+
132
+ self._proc.stdin.write(
133
+ b"<< /OutputFile ("
134
+ + encode_and_escape(dest)
135
+ + b") >> setpagedevice ("
136
+ + encode_and_escape(orig)
137
+ + b") run flush\n")
138
+ self._proc.stdin.flush()
139
+ # GS> if nothing left on the stack; GS<n> if n items left on the stack.
140
+ err = self._read_until((b"GS<", b"GS>"))
141
+ stack = self._read_until(b">") if err.endswith(b"GS<") else b""
142
+ if stack or not os.path.exists(dest):
143
+ stack_size = int(stack[:-1]) if stack else 0
144
+ self._proc.stdin.write(b"pop\n" * stack_size)
145
+ # Using the systemencoding should at least get the filenames right.
146
+ raise ImageComparisonFailure(
147
+ (err + stack).decode(sys.getfilesystemencoding(), "replace"))
148
+
149
+
150
+ class _SVGConverter(_Converter):
151
+ def __call__(self, orig, dest):
152
+ old_inkscape = mpl._get_executable_info("inkscape").version.major < 1
153
+ terminator = b"\n>" if old_inkscape else b"> "
154
+ if not hasattr(self, "_tmpdir"):
155
+ self._tmpdir = TemporaryDirectory()
156
+ # On Windows, we must make sure that self._proc has terminated
157
+ # (which __del__ does) before clearing _tmpdir.
158
+ weakref.finalize(self._tmpdir, self.__del__)
159
+ if (not self._proc # First run.
160
+ or self._proc.poll() is not None): # Inkscape terminated.
161
+ if self._proc is not None and self._proc.poll() is not None:
162
+ for stream in filter(None, [self._proc.stdin,
163
+ self._proc.stdout,
164
+ self._proc.stderr]):
165
+ stream.close()
166
+ env = {
167
+ **os.environ,
168
+ # If one passes e.g. a png file to Inkscape, it will try to
169
+ # query the user for conversion options via a GUI (even with
170
+ # `--without-gui`). Unsetting `DISPLAY` prevents this (and
171
+ # causes GTK to crash and Inkscape to terminate, but that'll
172
+ # just be reported as a regular exception below).
173
+ "DISPLAY": "",
174
+ # Do not load any user options.
175
+ "INKSCAPE_PROFILE_DIR": self._tmpdir.name,
176
+ }
177
+ # Old versions of Inkscape (e.g. 0.48.3.1) seem to sometimes
178
+ # deadlock when stderr is redirected to a pipe, so we redirect it
179
+ # to a temporary file instead. This is not necessary anymore as of
180
+ # Inkscape 0.92.1.
181
+ stderr = TemporaryFile()
182
+ self._proc = subprocess.Popen(
183
+ ["inkscape", "--without-gui", "--shell"] if old_inkscape else
184
+ ["inkscape", "--shell"],
185
+ stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=stderr,
186
+ env=env, cwd=self._tmpdir.name)
187
+ # Slight abuse, but makes shutdown handling easier.
188
+ self._proc.stderr = stderr
189
+ try:
190
+ self._read_until(terminator)
191
+ except _ConverterError as err:
192
+ raise OSError(
193
+ "Failed to start Inkscape in interactive mode:\n\n"
194
+ + err.args[0]) from err
195
+
196
+ # Inkscape's shell mode does not support escaping metacharacters in the
197
+ # filename ("\n", and ":;" for inkscape>=1). Avoid any problems by
198
+ # running from a temporary directory and using fixed filenames.
199
+ inkscape_orig = Path(self._tmpdir.name, os.fsdecode(b"f.svg"))
200
+ inkscape_dest = Path(self._tmpdir.name, os.fsdecode(b"f.png"))
201
+ try:
202
+ inkscape_orig.symlink_to(Path(orig).resolve())
203
+ except OSError:
204
+ shutil.copyfile(orig, inkscape_orig)
205
+ self._proc.stdin.write(
206
+ b"f.svg --export-png=f.png\n" if old_inkscape else
207
+ b"file-open:f.svg;export-filename:f.png;export-do;file-close\n")
208
+ self._proc.stdin.flush()
209
+ try:
210
+ self._read_until(terminator)
211
+ except _ConverterError as err:
212
+ # Inkscape's output is not localized but gtk's is, so the output
213
+ # stream probably has a mixed encoding. Using the filesystem
214
+ # encoding should at least get the filenames right...
215
+ self._proc.stderr.seek(0)
216
+ raise ImageComparisonFailure(
217
+ self._proc.stderr.read().decode(
218
+ sys.getfilesystemencoding(), "replace")) from err
219
+ os.remove(inkscape_orig)
220
+ shutil.move(inkscape_dest, dest)
221
+
222
+ def __del__(self):
223
+ super().__del__()
224
+ if hasattr(self, "_tmpdir"):
225
+ self._tmpdir.cleanup()
226
+
227
+
228
+ class _SVGWithMatplotlibFontsConverter(_SVGConverter):
229
+ """
230
+ An SVG converter which explicitly adds the fonts shipped by Matplotlib to
231
+ Inkspace's font search path, to better support `svg.fonttype = "none"`
232
+ (which is in particular used by certain mathtext tests).
233
+ """
234
+
235
+ def __call__(self, orig, dest):
236
+ if not hasattr(self, "_tmpdir"):
237
+ self._tmpdir = TemporaryDirectory()
238
+ shutil.copytree(cbook._get_data_path("fonts/ttf"),
239
+ Path(self._tmpdir.name, "fonts"))
240
+ return super().__call__(orig, dest)
241
+
242
+
243
+ def _update_converter():
244
+ try:
245
+ mpl._get_executable_info("magick")
246
+ except mpl.ExecutableNotFoundError:
247
+ pass
248
+ else:
249
+ converter['gif'] = _MagickConverter()
250
+ try:
251
+ mpl._get_executable_info("gs")
252
+ except mpl.ExecutableNotFoundError:
253
+ pass
254
+ else:
255
+ converter['pdf'] = converter['eps'] = _GSConverter()
256
+ try:
257
+ mpl._get_executable_info("inkscape")
258
+ except mpl.ExecutableNotFoundError:
259
+ pass
260
+ else:
261
+ converter['svg'] = _SVGConverter()
262
+
263
+
264
+ #: A dictionary that maps filename extensions to functions which themselves
265
+ #: convert between arguments `old` and `new` (filenames).
266
+ converter = {}
267
+ _update_converter()
268
+ _svg_with_matplotlib_fonts_converter = _SVGWithMatplotlibFontsConverter()
269
+
270
+
271
+ def comparable_formats():
272
+ """
273
+ Return the list of file formats that `.compare_images` can compare
274
+ on this system.
275
+
276
+ Returns
277
+ -------
278
+ list of str
279
+ E.g. ``['png', 'pdf', 'svg', 'eps']``.
280
+
281
+ """
282
+ return ['png', *converter]
283
+
284
+
285
+ def convert(filename, cache):
286
+ """
287
+ Convert the named file to png; return the name of the created file.
288
+
289
+ If *cache* is True, the result of the conversion is cached in
290
+ `matplotlib.get_cachedir() + '/test_cache/'`. The caching is based on a
291
+ hash of the exact contents of the input file. Old cache entries are
292
+ automatically deleted as needed to keep the size of the cache capped to
293
+ twice the size of all baseline images.
294
+ """
295
+ path = Path(filename)
296
+ if not path.exists():
297
+ raise OSError(f"{path} does not exist")
298
+ if path.suffix[1:] not in converter:
299
+ import pytest
300
+ pytest.skip(f"Don't know how to convert {path.suffix} files to png")
301
+ newpath = path.parent / f"{path.stem}_{path.suffix[1:]}.png"
302
+
303
+ # Only convert the file if the destination doesn't already exist or
304
+ # is out of date.
305
+ if not newpath.exists() or newpath.stat().st_mtime < path.stat().st_mtime:
306
+ cache_dir = _get_cache_path() if cache else None
307
+
308
+ if cache_dir is not None:
309
+ _register_conversion_cache_cleaner_once()
310
+ hash_value = get_file_hash(path)
311
+ cached_path = cache_dir / (hash_value + newpath.suffix)
312
+ if cached_path.exists():
313
+ _log.debug("For %s: reusing cached conversion.", filename)
314
+ shutil.copyfile(cached_path, newpath)
315
+ return str(newpath)
316
+
317
+ _log.debug("For %s: converting to png.", filename)
318
+ convert = converter[path.suffix[1:]]
319
+ if path.suffix == ".svg":
320
+ contents = path.read_text(encoding="utf-8")
321
+ # NOTE: This check should be kept in sync with font styling in
322
+ # `lib/matplotlib/backends/backend_svg.py`. If it changes, then be sure to
323
+ # re-generate any SVG test files using this mode, or else such tests will
324
+ # fail to use the converter for the expected images (but will for the
325
+ # results), and the tests will fail strangely.
326
+ if re.search(
327
+ # searches for attributes :
328
+ # style=[font|font-size|font-weight|
329
+ # font-family|font-variant|font-style]
330
+ # taking care of the possibility of multiple style attributes
331
+ # before the font styling (i.e. opacity)
332
+ r'style="[^"]*font(|-size|-weight|-family|-variant|-style):',
333
+ contents # raw contents of the svg file
334
+ ):
335
+ # for svg.fonttype = none, we explicitly patch the font search
336
+ # path so that fonts shipped by Matplotlib are found.
337
+ convert = _svg_with_matplotlib_fonts_converter
338
+ convert(path, newpath)
339
+
340
+ if cache_dir is not None:
341
+ _log.debug("For %s: caching conversion result.", filename)
342
+ shutil.copyfile(newpath, cached_path)
343
+
344
+ return str(newpath)
345
+
346
+
347
+ def _clean_conversion_cache():
348
+ # This will actually ignore mpl_toolkits baseline images, but they're
349
+ # relatively small.
350
+ baseline_images_size = sum(
351
+ path.stat().st_size
352
+ for path in Path(mpl.__file__).parent.glob("**/baseline_images/**/*"))
353
+ # 2x: one full copy of baselines, and one full copy of test results
354
+ # (actually an overestimate: we don't convert png baselines and results).
355
+ max_cache_size = 2 * baseline_images_size
356
+ # Reduce cache until it fits.
357
+ with cbook._lock_path(_get_cache_path()):
358
+ cache_stat = {
359
+ path: path.stat() for path in _get_cache_path().glob("*")}
360
+ cache_size = sum(stat.st_size for stat in cache_stat.values())
361
+ paths_by_atime = sorted( # Oldest at the end.
362
+ cache_stat, key=lambda path: cache_stat[path].st_atime,
363
+ reverse=True)
364
+ while cache_size > max_cache_size:
365
+ path = paths_by_atime.pop()
366
+ cache_size -= cache_stat[path].st_size
367
+ path.unlink()
368
+
369
+
370
+ @functools.cache # Ensure this is only registered once.
371
+ def _register_conversion_cache_cleaner_once():
372
+ atexit.register(_clean_conversion_cache)
373
+
374
+
375
+ def crop_to_same(actual_path, actual_image, expected_path, expected_image):
376
+ # clip the images to the same size -- this is useful only when
377
+ # comparing eps to pdf
378
+ if actual_path[-7:-4] == 'eps' and expected_path[-7:-4] == 'pdf':
379
+ aw, ah, ad = actual_image.shape
380
+ ew, eh, ed = expected_image.shape
381
+ actual_image = actual_image[int(aw / 2 - ew / 2):int(
382
+ aw / 2 + ew / 2), int(ah / 2 - eh / 2):int(ah / 2 + eh / 2)]
383
+ return actual_image, expected_image
384
+
385
+
386
+ def calculate_rms(expected_image, actual_image):
387
+ """
388
+ Calculate the per-pixel errors, then compute the root mean square error.
389
+ """
390
+ if expected_image.shape != actual_image.shape:
391
+ raise ImageComparisonFailure(
392
+ f"Image sizes do not match expected size: {expected_image.shape} "
393
+ f"actual size {actual_image.shape}")
394
+ # Convert to float to avoid overflowing finite integer types.
395
+ return np.sqrt(((expected_image - actual_image).astype(float) ** 2).mean())
396
+
397
+
398
+ # NOTE: compare_image and save_diff_image assume that the image does not have
399
+ # 16-bit depth, as Pillow converts these to RGB incorrectly.
400
+
401
+
402
+ def _load_image(path):
403
+ img = Image.open(path)
404
+ if img.mode != "RGB":
405
+ # If we have anything other than RGB(A) (e.g., a paletted image), convert it
406
+ # to RGBA.
407
+ if img.mode != "RGBA":
408
+ img = img.convert("RGBA")
409
+ # In an RGBA image, if the smallest value in the alpha channel is 255, all
410
+ # values in it must be 255, meaning that the image is opaque. If so, discard the
411
+ # alpha channel so that it may compare equal to an RGB image.
412
+ if img.getextrema()[3][0] == 255:
413
+ img = img.convert("RGB")
414
+ return np.asarray(img)
415
+
416
+
417
+ def compare_images(expected, actual, tol, in_decorator=False):
418
+ """
419
+ Compare two "image" files checking differences within a tolerance.
420
+
421
+ The two given filenames may point to files which are convertible to
422
+ PNG via the `!converter` dictionary. The underlying RMS is calculated
423
+ in a similar way to the `.calculate_rms` function.
424
+
425
+ Parameters
426
+ ----------
427
+ expected : str
428
+ The filename of the expected image.
429
+ actual : str
430
+ The filename of the actual image.
431
+ tol : float
432
+ The tolerance (a color value difference, where 255 is the
433
+ maximal difference). The test fails if the average pixel
434
+ difference is greater than this value.
435
+ in_decorator : bool
436
+ Determines the output format. If called from image_comparison
437
+ decorator, this should be True. (default=False)
438
+
439
+ Returns
440
+ -------
441
+ None or dict or str
442
+ Return *None* if the images are equal within the given tolerance.
443
+
444
+ If the images differ, the return value depends on *in_decorator*.
445
+ If *in_decorator* is true, a dict with the following entries is
446
+ returned:
447
+
448
+ - *rms*: The RMS of the image difference.
449
+ - *expected*: The filename of the expected image.
450
+ - *actual*: The filename of the actual image.
451
+ - *diff_image*: The filename of the difference image.
452
+ - *tol*: The comparison tolerance.
453
+
454
+ Otherwise, a human-readable multi-line string representation of this
455
+ information is returned.
456
+
457
+ Examples
458
+ --------
459
+ ::
460
+
461
+ img1 = "./baseline/plot.png"
462
+ img2 = "./output/plot.png"
463
+ compare_images(img1, img2, 0.001)
464
+
465
+ """
466
+ actual = os.fspath(actual)
467
+ if not os.path.exists(actual):
468
+ raise Exception(f"Output image {actual} does not exist.")
469
+ if os.stat(actual).st_size == 0:
470
+ raise Exception(f"Output image file {actual} is empty.")
471
+
472
+ # Convert the image to png
473
+ expected = os.fspath(expected)
474
+ if not os.path.exists(expected):
475
+ raise OSError(f'Baseline image {expected!r} does not exist.')
476
+ extension = expected.split('.')[-1]
477
+ if extension != 'png':
478
+ actual = convert(actual, cache=True)
479
+ expected = convert(expected, cache=True)
480
+
481
+ # open the image files
482
+ expected_image = _load_image(expected)
483
+ actual_image = _load_image(actual)
484
+
485
+ actual_image, expected_image = crop_to_same(
486
+ actual, actual_image, expected, expected_image)
487
+
488
+ diff_image = make_test_filename(actual, 'failed-diff')
489
+
490
+ if tol <= 0:
491
+ if np.array_equal(expected_image, actual_image):
492
+ return None
493
+
494
+ rms, abs_diff = _image.calculate_rms_and_diff(expected_image, actual_image)
495
+
496
+ if rms <= tol:
497
+ return None
498
+
499
+ Image.fromarray(abs_diff).save(diff_image, format="png")
500
+
501
+ results = dict(rms=rms, expected=str(expected),
502
+ actual=str(actual), diff=str(diff_image), tol=tol)
503
+
504
+ if not in_decorator:
505
+ # Then the results should be a string suitable for stdout.
506
+ template = ['Error: Image files did not match.',
507
+ 'RMS Value: {rms}',
508
+ 'Expected: \n {expected}',
509
+ 'Actual: \n {actual}',
510
+ 'Difference:\n {diff}',
511
+ 'Tolerance: \n {tol}', ]
512
+ results = '\n '.join([line.format(**results) for line in template])
513
+ return results
514
+
515
+
516
+ def save_diff_image(expected, actual, output):
517
+ """
518
+ Parameters
519
+ ----------
520
+ expected : str
521
+ File path of expected image.
522
+ actual : str
523
+ File path of actual image.
524
+ output : str
525
+ File path to save difference image to.
526
+ """
527
+ expected_image = _load_image(expected)
528
+ actual_image = _load_image(actual)
529
+ actual_image, expected_image = crop_to_same(
530
+ actual, actual_image, expected, expected_image)
531
+ expected_image = np.array(expected_image, float)
532
+ actual_image = np.array(actual_image, float)
533
+ if expected_image.shape != actual_image.shape:
534
+ raise ImageComparisonFailure(
535
+ f"Image sizes do not match expected size: {expected_image.shape} "
536
+ f"actual size {actual_image.shape}")
537
+ abs_diff = np.abs(expected_image - actual_image)
538
+
539
+ # expand differences in luminance domain
540
+ abs_diff *= 10
541
+ abs_diff = np.clip(abs_diff, 0, 255).astype(np.uint8)
542
+
543
+ if abs_diff.shape[2] == 4: # Hard-code the alpha channel to fully solid
544
+ abs_diff[:, :, 3] = 255
545
+
546
+ Image.fromarray(abs_diff).save(output, format="png")
.venv/lib/python3.12/site-packages/matplotlib/testing/compare.pyi ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from collections.abc import Callable
2
+ from os import PathLike
3
+ from typing import Literal, overload
4
+
5
+ from numpy.typing import NDArray
6
+
7
+ __all__ = ["calculate_rms", "comparable_formats", "compare_images"]
8
+
9
+ def make_test_filename(fname: str | PathLike, purpose: str) -> str: ...
10
+ def get_cache_dir() -> str: ...
11
+ def get_file_hash(path: str, block_size: int = ...) -> str: ...
12
+
13
+ converter: dict[str, Callable[[str, str], None]] = {}
14
+
15
+ def comparable_formats() -> list[str]: ...
16
+ def convert(filename: str | PathLike, cache: bool) -> str: ...
17
+ def crop_to_same(
18
+ actual_path: str, actual_image: NDArray, expected_path: str, expected_image: NDArray
19
+ ) -> tuple[NDArray, NDArray]: ...
20
+ def calculate_rms(expected_image: NDArray, actual_image: NDArray) -> float: ...
21
+ @overload
22
+ def compare_images(
23
+ expected: str, actual: str, tol: float, in_decorator: Literal[True]
24
+ ) -> None | dict[str, float | str]: ...
25
+ @overload
26
+ def compare_images(
27
+ expected: str, actual: str, tol: float, in_decorator: Literal[False]
28
+ ) -> None | str: ...
29
+ @overload
30
+ def compare_images(
31
+ expected: str, actual: str, tol: float, in_decorator: bool = ...
32
+ ) -> None | str | dict[str, float | str]: ...
33
+ def save_diff_image(expected: str, actual: str, output: str) -> None: ...
.venv/lib/python3.12/site-packages/matplotlib/testing/conftest.py ADDED
@@ -0,0 +1,199 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ import sys
3
+
4
+ import pytest
5
+
6
+ import matplotlib
7
+ from matplotlib import _api
8
+
9
+
10
+ def pytest_configure(config):
11
+ # config is initialized here rather than in pytest.ini so that `pytest
12
+ # --pyargs matplotlib` (which would not find pytest.ini) works. The only
13
+ # entries in pytest.ini set minversion (which is checked earlier),
14
+ # testpaths/python_files, as they are required to properly find the tests
15
+ for key, value in [
16
+ ("markers", "flaky: (Provided by pytest-rerunfailures.)"),
17
+ ("markers", "timeout: (Provided by pytest-timeout.)"),
18
+ ("markers", "backend: Set alternate Matplotlib backend temporarily."),
19
+ ("markers", "baseline_images: Compare output against references."),
20
+ ("markers", "pytz: Tests that require pytz to be installed."),
21
+ ("filterwarnings", "error"),
22
+ ("filterwarnings",
23
+ "ignore:.*The py23 module has been deprecated:DeprecationWarning"),
24
+ ("filterwarnings",
25
+ r"ignore:DynamicImporter.find_spec\(\) not found; "
26
+ r"falling back to find_module\(\):ImportWarning"),
27
+ ]:
28
+ config.addinivalue_line(key, value)
29
+
30
+ matplotlib.use('agg', force=True)
31
+ matplotlib._called_from_pytest = True
32
+ matplotlib._init_tests()
33
+
34
+
35
+ def pytest_unconfigure(config):
36
+ matplotlib._called_from_pytest = False
37
+
38
+
39
+ @pytest.fixture(autouse=True)
40
+ def mpl_test_settings(request):
41
+ from matplotlib.testing.decorators import _cleanup_cm
42
+
43
+ with _cleanup_cm():
44
+
45
+ backend = None
46
+ backend_marker = request.node.get_closest_marker('backend')
47
+ prev_backend = matplotlib.get_backend()
48
+ if backend_marker is not None:
49
+ assert len(backend_marker.args) == 1, \
50
+ "Marker 'backend' must specify 1 backend."
51
+ backend, = backend_marker.args
52
+ skip_on_importerror = backend_marker.kwargs.get(
53
+ 'skip_on_importerror', False)
54
+
55
+ # special case Qt backend importing to avoid conflicts
56
+ if backend.lower().startswith('qt5'):
57
+ if any(sys.modules.get(k) for k in ('PyQt4', 'PySide')):
58
+ pytest.skip('Qt4 binding already imported')
59
+
60
+ matplotlib.testing.setup()
61
+ with _api.suppress_matplotlib_deprecation_warning():
62
+ if backend is not None:
63
+ # This import must come after setup() so it doesn't load the
64
+ # default backend prematurely.
65
+ import matplotlib.pyplot as plt
66
+ try:
67
+ plt.switch_backend(backend)
68
+ except ImportError as exc:
69
+ # Should only occur for the cairo backend tests, if neither
70
+ # pycairo nor cairocffi are installed.
71
+ if 'cairo' in backend.lower() or skip_on_importerror:
72
+ pytest.skip("Failed to switch to backend "
73
+ f"{backend} ({exc}).")
74
+ else:
75
+ raise
76
+ # Default of cleanup and image_comparison too.
77
+ matplotlib.style.use(["classic", "_classic_test_patch"])
78
+ try:
79
+ yield
80
+ finally:
81
+ if backend is not None:
82
+ plt.close("all")
83
+ matplotlib.use(prev_backend)
84
+
85
+
86
+ @pytest.fixture
87
+ def high_memory(pytestconfig):
88
+ from matplotlib.testing import is_ci_environment
89
+ if not (os.environ.get('MPL_TEST_EXPENSIVE') or is_ci_environment()):
90
+ pytest.skip('Test uses too much memory')
91
+
92
+
93
+ @pytest.fixture
94
+ def pd():
95
+ """
96
+ Fixture to import and configure pandas. Using this fixture, the test is skipped when
97
+ pandas is not installed. Use this fixture instead of importing pandas in test files.
98
+
99
+ Examples
100
+ --------
101
+ Request the pandas fixture by passing in ``pd`` as an argument to the test ::
102
+
103
+ def test_matshow_pandas(pd):
104
+
105
+ df = pd.DataFrame({'x':[1,2,3], 'y':[4,5,6]})
106
+ im = plt.figure().subplots().matshow(df)
107
+ np.testing.assert_array_equal(im.get_array(), df)
108
+ """
109
+ pd = pytest.importorskip('pandas')
110
+ try:
111
+ from pandas.plotting import (
112
+ deregister_matplotlib_converters as deregister)
113
+ deregister()
114
+ except ImportError:
115
+ pass
116
+ return pd
117
+
118
+
119
+ @pytest.fixture
120
+ def xr():
121
+ """
122
+ Fixture to import xarray so that the test is skipped when xarray is not installed.
123
+ Use this fixture instead of importing xrray in test files.
124
+
125
+ Examples
126
+ --------
127
+ Request the xarray fixture by passing in ``xr`` as an argument to the test ::
128
+
129
+ def test_imshow_xarray(xr):
130
+
131
+ ds = xr.DataArray(np.random.randn(2, 3))
132
+ im = plt.figure().subplots().imshow(ds)
133
+ np.testing.assert_array_equal(im.get_array(), ds)
134
+ """
135
+
136
+ xr = pytest.importorskip('xarray')
137
+ return xr
138
+
139
+
140
+ @pytest.fixture
141
+ def text_placeholders(monkeypatch):
142
+ """
143
+ Replace texts with placeholder rectangles.
144
+
145
+ The rectangle size only depends on the font size and the number of characters. It is
146
+ thus insensitive to font properties and rendering details. This should be used for
147
+ tests that depend on text geometries but not the actual text rendering, e.g. layout
148
+ tests.
149
+ """
150
+ from matplotlib.patches import Rectangle
151
+
152
+ def patched_get_sfnt_table(font, name):
153
+ """
154
+ Replace ``FT2Font.get_sfnt_table`` with empty results.
155
+
156
+ This forces ``Text._get_layout`` to fall back to
157
+ ``get_text_width_height_descent``, which produces results from the patch below.
158
+ """
159
+ return None
160
+
161
+ def patched_get_text_metrics_with_cache(renderer, text, fontprop, ismath, dpi):
162
+ """
163
+ Replace ``_get_text_metrics_with_cache`` with fixed results.
164
+
165
+ The usual ``renderer.get_text_width_height_descent`` would depend on font
166
+ metrics; instead the fixed results are based on font size and the length of the
167
+ string only.
168
+ """
169
+ # While get_window_extent returns pixels and font size is in points, font size
170
+ # includes ascenders and descenders. Leaving out this factor and setting
171
+ # descent=0 ends up with a box that is relatively close to DejaVu Sans.
172
+ height = fontprop.get_size()
173
+ width = len(text) * height / 1.618 # Golden ratio for character size.
174
+ descent = 0
175
+ return width, height, descent
176
+
177
+ def patched_text_draw(self, renderer):
178
+ """
179
+ Replace ``Text.draw`` with a fixed bounding box Rectangle.
180
+
181
+ The bounding box corresponds to ``Text.get_window_extent``, which ultimately
182
+ depends on the above patched ``_get_text_metrics_with_cache``.
183
+ """
184
+ if renderer is not None:
185
+ self._renderer = renderer
186
+ if not self.get_visible():
187
+ return
188
+ if self.get_text() == '':
189
+ return
190
+ bbox = self.get_window_extent()
191
+ rect = Rectangle(bbox.p0, bbox.width, bbox.height,
192
+ facecolor=self.get_color(), edgecolor='none')
193
+ rect.draw(renderer)
194
+
195
+ monkeypatch.setattr('matplotlib.ft2font.FT2Font.get_sfnt_table',
196
+ patched_get_sfnt_table)
197
+ monkeypatch.setattr('matplotlib.text._get_text_metrics_with_cache',
198
+ patched_get_text_metrics_with_cache)
199
+ monkeypatch.setattr('matplotlib.text.Text.draw', patched_text_draw)
.venv/lib/python3.12/site-packages/matplotlib/testing/conftest.pyi ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from types import ModuleType
2
+
3
+ import pytest
4
+
5
+ def pytest_configure(config: pytest.Config) -> None: ...
6
+ def pytest_unconfigure(config: pytest.Config) -> None: ...
7
+ @pytest.fixture
8
+ def mpl_test_settings(request: pytest.FixtureRequest) -> None: ...
9
+ @pytest.fixture
10
+ def high_memory(pytestconfig: pytest.Config) -> None: ...
11
+ @pytest.fixture
12
+ def pd() -> ModuleType: ...
13
+ @pytest.fixture
14
+ def xr() -> ModuleType: ...
15
+ @pytest.fixture
16
+ def text_placeholders(monkeypatch: pytest.MonkeyPatch) -> None: ...
.venv/lib/python3.12/site-packages/matplotlib/testing/decorators.py ADDED
@@ -0,0 +1,476 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import contextlib
2
+ import functools
3
+ import inspect
4
+ import os
5
+ from platform import uname
6
+ from pathlib import Path
7
+ import shutil
8
+ import string
9
+ import sys
10
+ import warnings
11
+
12
+ from packaging.version import parse as parse_version
13
+
14
+ import matplotlib.style
15
+ import matplotlib.units
16
+ import matplotlib.testing
17
+ from matplotlib import _api, _pylab_helpers, cbook, ft2font, pyplot as plt, ticker
18
+ from matplotlib.figure import Figure
19
+ from .compare import comparable_formats, compare_images, make_test_filename
20
+ from .exceptions import ImageComparisonFailure
21
+
22
+
23
+ @contextlib.contextmanager
24
+ def _cleanup_cm():
25
+ orig_units_registry = matplotlib.units.registry.copy()
26
+ try:
27
+ with warnings.catch_warnings(), matplotlib.rc_context():
28
+ yield
29
+ finally:
30
+ matplotlib.units.registry.clear()
31
+ matplotlib.units.registry.update(orig_units_registry)
32
+ plt.close("all")
33
+
34
+
35
+ def _check_freetype_version(ver):
36
+ if ver is None:
37
+ return True
38
+
39
+ if isinstance(ver, str):
40
+ ver = (ver, ver)
41
+ ver = [parse_version(x) for x in ver]
42
+ found = parse_version(ft2font.__freetype_version__)
43
+
44
+ return ver[0] <= found <= ver[1]
45
+
46
+
47
+ def _checked_on_freetype_version(required_freetype_version):
48
+ import pytest
49
+ return pytest.mark.xfail(
50
+ not _check_freetype_version(required_freetype_version),
51
+ reason=f"Mismatched version of freetype. "
52
+ f"Test requires '{required_freetype_version}', "
53
+ f"you have '{ft2font.__freetype_version__}'",
54
+ raises=ImageComparisonFailure, strict=False)
55
+
56
+
57
+ def remove_ticks_and_titles(figure):
58
+ figure.suptitle("")
59
+ null_formatter = ticker.NullFormatter()
60
+ def remove_ticks(ax):
61
+ """Remove ticks in *ax* and all its child Axes."""
62
+ ax.set_title("")
63
+ ax.xaxis.set_major_formatter(null_formatter)
64
+ ax.xaxis.set_minor_formatter(null_formatter)
65
+ ax.yaxis.set_major_formatter(null_formatter)
66
+ ax.yaxis.set_minor_formatter(null_formatter)
67
+ try:
68
+ ax.zaxis.set_major_formatter(null_formatter)
69
+ ax.zaxis.set_minor_formatter(null_formatter)
70
+ except AttributeError:
71
+ pass
72
+ for child in ax.child_axes:
73
+ remove_ticks(child)
74
+ for ax in figure.get_axes():
75
+ remove_ticks(ax)
76
+
77
+
78
+ @contextlib.contextmanager
79
+ def _collect_new_figures():
80
+ """
81
+ After::
82
+
83
+ with _collect_new_figures() as figs:
84
+ some_code()
85
+
86
+ the list *figs* contains the figures that have been created during the
87
+ execution of ``some_code``, sorted by figure number.
88
+ """
89
+ managers = _pylab_helpers.Gcf.figs
90
+ preexisting = [manager for manager in managers.values()]
91
+ new_figs = []
92
+ try:
93
+ yield new_figs
94
+ finally:
95
+ new_managers = sorted([manager for manager in managers.values()
96
+ if manager not in preexisting],
97
+ key=lambda manager: manager.num)
98
+ new_figs[:] = [manager.canvas.figure for manager in new_managers]
99
+
100
+
101
+ def _raise_on_image_difference(expected, actual, tol):
102
+ __tracebackhide__ = True
103
+
104
+ err = compare_images(expected, actual, tol, in_decorator=True)
105
+ if err:
106
+ for key in ["actual", "expected", "diff"]:
107
+ err[key] = os.path.relpath(err[key])
108
+ raise ImageComparisonFailure(
109
+ ('images not close (RMS %(rms).3f):'
110
+ '\n\t%(actual)s\n\t%(expected)s\n\t%(diff)s') % err)
111
+
112
+
113
+ class _ImageComparisonBase:
114
+ """
115
+ Image comparison base class
116
+
117
+ This class provides *just* the comparison-related functionality and avoids
118
+ any code that would be specific to any testing framework.
119
+ """
120
+
121
+ def __init__(self, func, tol, remove_text, savefig_kwargs):
122
+ self.func = func
123
+ self.baseline_dir, self.result_dir = _image_directories(func)
124
+ self.tol = tol
125
+ self.remove_text = remove_text
126
+ self.savefig_kwargs = savefig_kwargs
127
+
128
+ def copy_baseline(self, baseline, extension):
129
+ baseline_path = self.baseline_dir / baseline
130
+ orig_expected_path = baseline_path.with_suffix(f'.{extension}')
131
+ if extension == 'eps' and not orig_expected_path.exists():
132
+ orig_expected_path = orig_expected_path.with_suffix('.pdf')
133
+ expected_fname = make_test_filename(
134
+ self.result_dir / orig_expected_path.name, 'expected')
135
+ try:
136
+ # os.symlink errors if the target already exists.
137
+ with contextlib.suppress(OSError):
138
+ os.remove(expected_fname)
139
+ try:
140
+ if 'microsoft' in uname().release.lower():
141
+ raise OSError # On WSL, symlink breaks silently
142
+ if sys.platform == 'emscripten':
143
+ raise OSError
144
+ os.symlink(orig_expected_path, expected_fname)
145
+ except OSError: # On Windows, symlink *may* be unavailable.
146
+ shutil.copyfile(orig_expected_path, expected_fname)
147
+ except OSError as err:
148
+ raise ImageComparisonFailure(
149
+ f"Missing baseline image {expected_fname} because the "
150
+ f"following file cannot be accessed: "
151
+ f"{orig_expected_path}") from err
152
+ return expected_fname
153
+
154
+ def compare(self, fig, baseline, extension, *, _lock=False):
155
+ __tracebackhide__ = True
156
+
157
+ if self.remove_text:
158
+ remove_ticks_and_titles(fig)
159
+
160
+ actual_path = (self.result_dir / baseline).with_suffix(f'.{extension}')
161
+ kwargs = self.savefig_kwargs.copy()
162
+ if extension == 'pdf':
163
+ kwargs.setdefault('metadata',
164
+ {'Creator': None, 'Producer': None,
165
+ 'CreationDate': None})
166
+
167
+ lock = (cbook._lock_path(actual_path)
168
+ if _lock else contextlib.nullcontext())
169
+ with lock:
170
+ try:
171
+ fig.savefig(actual_path, **kwargs)
172
+ finally:
173
+ # Matplotlib has an autouse fixture to close figures, but this
174
+ # makes things more convenient for third-party users.
175
+ plt.close(fig)
176
+ expected_path = self.copy_baseline(baseline, extension)
177
+ _raise_on_image_difference(expected_path, actual_path, self.tol)
178
+
179
+
180
+ def _pytest_image_comparison(baseline_images, extensions, tol,
181
+ freetype_version, remove_text, savefig_kwargs,
182
+ style):
183
+ """
184
+ Decorate function with image comparison for pytest.
185
+
186
+ This function creates a decorator that wraps a figure-generating function
187
+ with image comparison code.
188
+ """
189
+ import pytest
190
+
191
+ KEYWORD_ONLY = inspect.Parameter.KEYWORD_ONLY
192
+
193
+ def decorator(func):
194
+ old_sig = inspect.signature(func)
195
+
196
+ @functools.wraps(func)
197
+ @pytest.mark.parametrize('extension', extensions)
198
+ @matplotlib.style.context(style)
199
+ @_checked_on_freetype_version(freetype_version)
200
+ @functools.wraps(func)
201
+ def wrapper(*args, extension, request, **kwargs):
202
+ __tracebackhide__ = True
203
+ if 'extension' in old_sig.parameters:
204
+ kwargs['extension'] = extension
205
+ if 'request' in old_sig.parameters:
206
+ kwargs['request'] = request
207
+
208
+ if extension not in comparable_formats():
209
+ reason = {
210
+ 'gif': 'because ImageMagick is not installed',
211
+ 'pdf': 'because Ghostscript is not installed',
212
+ 'eps': 'because Ghostscript is not installed',
213
+ 'svg': 'because Inkscape is not installed',
214
+ }.get(extension, 'on this system')
215
+ pytest.skip(f"Cannot compare {extension} files {reason}")
216
+
217
+ img = _ImageComparisonBase(func, tol=tol, remove_text=remove_text,
218
+ savefig_kwargs=savefig_kwargs)
219
+ matplotlib.testing.set_font_settings_for_testing()
220
+
221
+ with _collect_new_figures() as figs:
222
+ func(*args, **kwargs)
223
+
224
+ # If the test is parametrized in any way other than applied via
225
+ # this decorator, then we need to use a lock to prevent two
226
+ # processes from touching the same output file.
227
+ needs_lock = any(
228
+ marker.args[0] != 'extension'
229
+ for marker in request.node.iter_markers('parametrize'))
230
+
231
+ if baseline_images is not None:
232
+ our_baseline_images = baseline_images
233
+ else:
234
+ # Allow baseline image list to be produced on the fly based on
235
+ # current parametrization.
236
+ our_baseline_images = request.getfixturevalue(
237
+ 'baseline_images')
238
+
239
+ assert len(figs) == len(our_baseline_images), (
240
+ f"Test generated {len(figs)} images but there are "
241
+ f"{len(our_baseline_images)} baseline images")
242
+ for fig, baseline in zip(figs, our_baseline_images):
243
+ img.compare(fig, baseline, extension, _lock=needs_lock)
244
+
245
+ parameters = list(old_sig.parameters.values())
246
+ if 'extension' not in old_sig.parameters:
247
+ parameters += [inspect.Parameter('extension', KEYWORD_ONLY)]
248
+ if 'request' not in old_sig.parameters:
249
+ parameters += [inspect.Parameter("request", KEYWORD_ONLY)]
250
+ new_sig = old_sig.replace(parameters=parameters)
251
+ wrapper.__signature__ = new_sig
252
+
253
+ # Reach a bit into pytest internals to hoist the marks from our wrapped
254
+ # function.
255
+ new_marks = getattr(func, 'pytestmark', []) + wrapper.pytestmark
256
+ wrapper.pytestmark = new_marks
257
+
258
+ return wrapper
259
+
260
+ return decorator
261
+
262
+
263
+ def image_comparison(baseline_images, extensions=None, tol=0,
264
+ freetype_version=None, remove_text=False,
265
+ savefig_kwarg=None,
266
+ style=None):
267
+ """
268
+ Compare images generated by the test with those specified in
269
+ *baseline_images*, which must correspond, else an `.ImageComparisonFailure`
270
+ exception will be raised.
271
+
272
+ Parameters
273
+ ----------
274
+ baseline_images : list or None
275
+ A list of strings specifying the names of the images generated by
276
+ calls to `.Figure.savefig`.
277
+
278
+ If *None*, the test function must use the ``baseline_images`` fixture,
279
+ either as a parameter or with `pytest.mark.usefixtures`. This value is
280
+ only allowed when using pytest.
281
+
282
+ extensions : None or list of str
283
+ The list of extensions to test, e.g. ``['png', 'pdf']``.
284
+
285
+ If *None*, defaults to: png, pdf, and svg.
286
+
287
+ When testing a single extension, it can be directly included in the
288
+ names passed to *baseline_images*. In that case, *extensions* must not
289
+ be set.
290
+
291
+ In order to keep the size of the test suite from ballooning, we only
292
+ include the ``svg`` or ``pdf`` outputs if the test is explicitly
293
+ exercising a feature dependent on that backend (see also the
294
+ `check_figures_equal` decorator for that purpose).
295
+
296
+ tol : float, default: 0
297
+ The RMS threshold above which the test is considered failed.
298
+
299
+ Due to expected small differences in floating-point calculations, on
300
+ 32-bit systems an additional 0.06 is added to this threshold.
301
+
302
+ freetype_version : str or tuple
303
+ The expected freetype version or range of versions for this test to
304
+ pass.
305
+
306
+ remove_text : bool
307
+ Remove the title and tick text from the figure before comparison. This
308
+ is useful to make the baseline images independent of variations in text
309
+ rendering between different versions of FreeType.
310
+
311
+ This does not remove other, more deliberate, text, such as legends and
312
+ annotations.
313
+
314
+ savefig_kwarg : dict
315
+ Optional arguments that are passed to the savefig method.
316
+
317
+ style : str, dict, or list
318
+ The style(s) to apply to the image test. The test itself can also apply
319
+ additional styles if desired.
320
+
321
+ .. versionchanged:: 3.11
322
+ This defaults to ``['classic', '_classic_test_patch']``, but will be
323
+ changing to ``'mpl20'`` as of Matplotlib 3.13. A warning is raised if not
324
+ explicitly passed.
325
+ """
326
+
327
+ if baseline_images is not None:
328
+ # List of non-empty filename extensions.
329
+ baseline_exts = [*filter(None, {Path(baseline).suffix[1:]
330
+ for baseline in baseline_images})]
331
+ if baseline_exts:
332
+ if extensions is not None:
333
+ raise ValueError(
334
+ "When including extensions directly in 'baseline_images', "
335
+ "'extensions' cannot be set as well")
336
+ if len(baseline_exts) > 1:
337
+ raise ValueError(
338
+ "When including extensions directly in 'baseline_images', "
339
+ "all baselines must share the same suffix")
340
+ extensions = baseline_exts
341
+ baseline_images = [ # Chop suffix out from baseline_images.
342
+ Path(baseline).stem for baseline in baseline_images]
343
+ if extensions is None:
344
+ # Default extensions to test, if not set via baseline_images.
345
+ extensions = ['png', 'pdf', 'svg']
346
+ if savefig_kwarg is None:
347
+ savefig_kwarg = dict() # default no kwargs to savefig
348
+ if style is None:
349
+ _api.warn_external(
350
+ 'The default for the style parameter of image_comparsion() will be '
351
+ 'changing to "mpl20" in Matplotlib 3.13; explicitly pass style to continue '
352
+ 'working as before and suppress this warning.')
353
+ style = ('classic', '_classic_test_patch')
354
+ if sys.maxsize <= 2**32:
355
+ tol += 0.06
356
+ return _pytest_image_comparison(
357
+ baseline_images=baseline_images, extensions=extensions, tol=tol,
358
+ freetype_version=freetype_version, remove_text=remove_text,
359
+ savefig_kwargs=savefig_kwarg, style=style)
360
+
361
+
362
+ def check_figures_equal(*, extensions=("png", ), tol=0):
363
+ """
364
+ Decorator for test cases that generate and compare two figures.
365
+
366
+ The decorated function must take two keyword arguments, *fig_test*
367
+ and *fig_ref*, and draw the test and reference images on them.
368
+ After the function returns, the figures are saved and compared.
369
+
370
+ This decorator should be preferred over `image_comparison` when possible in
371
+ order to keep the size of the test suite from ballooning.
372
+
373
+ Parameters
374
+ ----------
375
+ extensions : list, default: ["png"]
376
+ The extensions to test. Supported extensions are "png", "pdf", "svg".
377
+
378
+ Testing with the one default extension is sufficient if the output is not
379
+ format dependent, e.g. if you test that a ``bar()`` plot yields the same
380
+ result as some manually placed Rectangles. You should use all extensions
381
+ if a renderer property is involved, e.g. correct alpha blending.
382
+ tol : float
383
+ The RMS threshold above which the test is considered failed.
384
+
385
+ Raises
386
+ ------
387
+ RuntimeError
388
+ If any new figures are created (and not subsequently closed) inside
389
+ the test function.
390
+
391
+ Examples
392
+ --------
393
+ Check that calling `.Axes.plot` with a single argument plots it against
394
+ ``[0, 1, 2, ...]``::
395
+
396
+ @check_figures_equal()
397
+ def test_plot(fig_test, fig_ref):
398
+ fig_test.subplots().plot([1, 3, 5])
399
+ fig_ref.subplots().plot([0, 1, 2], [1, 3, 5])
400
+
401
+ """
402
+ ALLOWED_CHARS = set(string.digits + string.ascii_letters + '_-[]()')
403
+ KEYWORD_ONLY = inspect.Parameter.KEYWORD_ONLY
404
+
405
+ def decorator(func):
406
+ import pytest
407
+
408
+ _, result_dir = _image_directories(func)
409
+ old_sig = inspect.signature(func)
410
+
411
+ if not {"fig_test", "fig_ref"}.issubset(old_sig.parameters):
412
+ raise ValueError("The decorated function must have at least the "
413
+ "parameters 'fig_test' and 'fig_ref', but your "
414
+ f"function has the signature {old_sig}")
415
+
416
+ @pytest.mark.parametrize("ext", extensions)
417
+ def wrapper(*args, ext, request, **kwargs):
418
+ if 'ext' in old_sig.parameters:
419
+ kwargs['ext'] = ext
420
+ if 'request' in old_sig.parameters:
421
+ kwargs['request'] = request
422
+
423
+ file_name = "".join(c for c in request.node.name
424
+ if c in ALLOWED_CHARS)
425
+ fig_test = Figure()
426
+ fig_ref = Figure()
427
+ func(*args, fig_test=fig_test, fig_ref=fig_ref, **kwargs)
428
+ if len(fig_test.get_children()) == 1 and len(fig_ref.get_children()) == 1:
429
+ # no artists have been added. The only child is fig.patch.
430
+ raise RuntimeError("Both figures are empty. Make sure you are "
431
+ "plotting to fig_test or fig_ref.")
432
+
433
+ test_image_path = result_dir / (file_name + "." + ext)
434
+ ref_image_path = result_dir / (file_name + "-expected." + ext)
435
+ fig_test.savefig(test_image_path)
436
+ fig_ref.savefig(ref_image_path)
437
+ _raise_on_image_difference(
438
+ ref_image_path, test_image_path, tol=tol
439
+ )
440
+
441
+ parameters = [
442
+ param
443
+ for param in old_sig.parameters.values()
444
+ if param.name not in {"fig_test", "fig_ref"}
445
+ ]
446
+ if 'ext' not in old_sig.parameters:
447
+ parameters += [inspect.Parameter("ext", KEYWORD_ONLY)]
448
+ if 'request' not in old_sig.parameters:
449
+ parameters += [inspect.Parameter("request", KEYWORD_ONLY)]
450
+ new_sig = old_sig.replace(parameters=parameters)
451
+ wrapper.__signature__ = new_sig
452
+
453
+ # reach a bit into pytest internals to hoist the marks from
454
+ # our wrapped function
455
+ new_marks = getattr(func, "pytestmark", []) + wrapper.pytestmark
456
+ wrapper.pytestmark = new_marks
457
+
458
+ return wrapper
459
+
460
+ return decorator
461
+
462
+
463
+ def _image_directories(func):
464
+ """
465
+ Compute the baseline and result image directories for testing *func*.
466
+
467
+ For test module ``foo.bar.test_baz``, the baseline directory is at
468
+ ``foo/bar/baseline_images/test_baz`` and the result directory at
469
+ ``$(pwd)/result_images/test_baz``. The result directory is created if it
470
+ doesn't exist.
471
+ """
472
+ module_path = Path(inspect.getfile(func))
473
+ baseline_dir = module_path.parent / "baseline_images" / module_path.stem
474
+ result_dir = Path().resolve() / "result_images" / module_path.stem
475
+ result_dir.mkdir(parents=True, exist_ok=True)
476
+ return baseline_dir, result_dir
.venv/lib/python3.12/site-packages/matplotlib/testing/decorators.pyi ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from collections.abc import Callable, Sequence
2
+ from pathlib import Path
3
+ from typing import Any, TypeVar
4
+ from typing_extensions import ParamSpec
5
+
6
+ from matplotlib.figure import Figure
7
+ from matplotlib.typing import RcStyleType
8
+
9
+ _P = ParamSpec("_P")
10
+ _R = TypeVar("_R")
11
+
12
+ def remove_ticks_and_titles(figure: Figure) -> None: ...
13
+ def image_comparison(
14
+ baseline_images: list[str] | None,
15
+ extensions: list[str] | None = ...,
16
+ tol: float = ...,
17
+ freetype_version: tuple[str, str] | str | None = ...,
18
+ remove_text: bool = ...,
19
+ savefig_kwarg: dict[str, Any] | None = ...,
20
+ style: RcStyleType | None = ...,
21
+ ) -> Callable[[Callable[_P, _R]], Callable[_P, _R]]: ...
22
+ def check_figures_equal(
23
+ *, extensions: Sequence[str] = ..., tol: float = ...
24
+ ) -> Callable[[Callable[_P, _R]], Callable[_P, _R]]: ...
25
+ def _image_directories(func: Callable) -> tuple[Path, Path]: ...
.venv/lib/python3.12/site-packages/matplotlib/testing/exceptions.py ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ class ImageComparisonFailure(AssertionError):
2
+ """
3
+ Raise this exception to mark a test as a comparison between two images.
4
+ """
.venv/lib/python3.12/site-packages/matplotlib/testing/jpl_units/Duration.py ADDED
@@ -0,0 +1,138 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Duration module."""
2
+
3
+ import functools
4
+ import operator
5
+
6
+ from matplotlib import _api
7
+
8
+
9
+ class Duration:
10
+ """Class Duration in development."""
11
+
12
+ allowed = ["ET", "UTC"]
13
+
14
+ def __init__(self, frame, seconds):
15
+ """
16
+ Create a new Duration object.
17
+
18
+ = ERROR CONDITIONS
19
+ - If the input frame is not in the allowed list, an error is thrown.
20
+
21
+ = INPUT VARIABLES
22
+ - frame The frame of the duration. Must be 'ET' or 'UTC'
23
+ - seconds The number of seconds in the Duration.
24
+ """
25
+ _api.check_in_list(self.allowed, frame=frame)
26
+ self._frame = frame
27
+ self._seconds = seconds
28
+
29
+ def frame(self):
30
+ """Return the frame the duration is in."""
31
+ return self._frame
32
+
33
+ def __abs__(self):
34
+ """Return the absolute value of the duration."""
35
+ return Duration(self._frame, abs(self._seconds))
36
+
37
+ def __neg__(self):
38
+ """Return the negative value of this Duration."""
39
+ return Duration(self._frame, -self._seconds)
40
+
41
+ def seconds(self):
42
+ """Return the number of seconds in the Duration."""
43
+ return self._seconds
44
+
45
+ def __bool__(self):
46
+ return self._seconds != 0
47
+
48
+ def _cmp(self, op, rhs):
49
+ """
50
+ Check that *self* and *rhs* share frames; compare them using *op*.
51
+ """
52
+ self.checkSameFrame(rhs, "compare")
53
+ return op(self._seconds, rhs._seconds)
54
+
55
+ __eq__ = functools.partialmethod(_cmp, operator.eq)
56
+ __ne__ = functools.partialmethod(_cmp, operator.ne)
57
+ __lt__ = functools.partialmethod(_cmp, operator.lt)
58
+ __le__ = functools.partialmethod(_cmp, operator.le)
59
+ __gt__ = functools.partialmethod(_cmp, operator.gt)
60
+ __ge__ = functools.partialmethod(_cmp, operator.ge)
61
+
62
+ def __add__(self, rhs):
63
+ """
64
+ Add two Durations.
65
+
66
+ = ERROR CONDITIONS
67
+ - If the input rhs is not in the same frame, an error is thrown.
68
+
69
+ = INPUT VARIABLES
70
+ - rhs The Duration to add.
71
+
72
+ = RETURN VALUE
73
+ - Returns the sum of ourselves and the input Duration.
74
+ """
75
+ # Delay-load due to circular dependencies.
76
+ import matplotlib.testing.jpl_units as U
77
+
78
+ if isinstance(rhs, U.Epoch):
79
+ return rhs + self
80
+
81
+ self.checkSameFrame(rhs, "add")
82
+ return Duration(self._frame, self._seconds + rhs._seconds)
83
+
84
+ def __sub__(self, rhs):
85
+ """
86
+ Subtract two Durations.
87
+
88
+ = ERROR CONDITIONS
89
+ - If the input rhs is not in the same frame, an error is thrown.
90
+
91
+ = INPUT VARIABLES
92
+ - rhs The Duration to subtract.
93
+
94
+ = RETURN VALUE
95
+ - Returns the difference of ourselves and the input Duration.
96
+ """
97
+ self.checkSameFrame(rhs, "sub")
98
+ return Duration(self._frame, self._seconds - rhs._seconds)
99
+
100
+ def __mul__(self, rhs):
101
+ """
102
+ Scale a UnitDbl by a value.
103
+
104
+ = INPUT VARIABLES
105
+ - rhs The scalar to multiply by.
106
+
107
+ = RETURN VALUE
108
+ - Returns the scaled Duration.
109
+ """
110
+ return Duration(self._frame, self._seconds * float(rhs))
111
+
112
+ __rmul__ = __mul__
113
+
114
+ def __str__(self):
115
+ """Print the Duration."""
116
+ return f"{self._seconds:g} {self._frame}"
117
+
118
+ def __repr__(self):
119
+ """Print the Duration."""
120
+ return f"Duration('{self._frame}', {self._seconds:g})"
121
+
122
+ def checkSameFrame(self, rhs, func):
123
+ """
124
+ Check to see if frames are the same.
125
+
126
+ = ERROR CONDITIONS
127
+ - If the frame of the rhs Duration is not the same as our frame,
128
+ an error is thrown.
129
+
130
+ = INPUT VARIABLES
131
+ - rhs The Duration to check for the same frame
132
+ - func The name of the function doing the check.
133
+ """
134
+ if self._frame != rhs._frame:
135
+ raise ValueError(
136
+ f"Cannot {func} Durations with different frames.\n"
137
+ f"LHS: {self._frame}\n"
138
+ f"RHS: {rhs._frame}")
.venv/lib/python3.12/site-packages/matplotlib/testing/jpl_units/Epoch.py ADDED
@@ -0,0 +1,211 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Epoch module."""
2
+
3
+ import functools
4
+ import operator
5
+ import math
6
+ import datetime as DT
7
+
8
+ from matplotlib import _api
9
+ from matplotlib.dates import date2num
10
+
11
+
12
+ class Epoch:
13
+ # Frame conversion offsets in seconds
14
+ # t(TO) = t(FROM) + allowed[ FROM ][ TO ]
15
+ allowed = {
16
+ "ET": {
17
+ "UTC": +64.1839,
18
+ },
19
+ "UTC": {
20
+ "ET": -64.1839,
21
+ },
22
+ }
23
+
24
+ def __init__(self, frame, sec=None, jd=None, daynum=None, dt=None):
25
+ """
26
+ Create a new Epoch object.
27
+
28
+ Build an epoch 1 of 2 ways:
29
+
30
+ Using seconds past a Julian date:
31
+ # Epoch('ET', sec=1e8, jd=2451545)
32
+
33
+ or using a matplotlib day number
34
+ # Epoch('ET', daynum=730119.5)
35
+
36
+ = ERROR CONDITIONS
37
+ - If the input units are not in the allowed list, an error is thrown.
38
+
39
+ = INPUT VARIABLES
40
+ - frame The frame of the epoch. Must be 'ET' or 'UTC'
41
+ - sec The number of seconds past the input JD.
42
+ - jd The Julian date of the epoch.
43
+ - daynum The matplotlib day number of the epoch.
44
+ - dt A python datetime instance.
45
+ """
46
+ if ((sec is None and jd is not None) or
47
+ (sec is not None and jd is None) or
48
+ (daynum is not None and
49
+ (sec is not None or jd is not None)) or
50
+ (daynum is None and dt is None and
51
+ (sec is None or jd is None)) or
52
+ (daynum is not None and dt is not None) or
53
+ (dt is not None and (sec is not None or jd is not None)) or
54
+ ((dt is not None) and not isinstance(dt, DT.datetime))):
55
+ raise ValueError(
56
+ "Invalid inputs. Must enter sec and jd together, "
57
+ "daynum by itself, or dt (must be a python datetime).\n"
58
+ "Sec = %s\n"
59
+ "JD = %s\n"
60
+ "dnum= %s\n"
61
+ "dt = %s" % (sec, jd, daynum, dt))
62
+
63
+ _api.check_in_list(self.allowed, frame=frame)
64
+ self._frame = frame
65
+
66
+ if dt is not None:
67
+ daynum = date2num(dt)
68
+
69
+ if daynum is not None:
70
+ # 1-JAN-0001 in JD = 1721425.5
71
+ jd = float(daynum) + 1721425.5
72
+ self._jd = math.floor(jd)
73
+ self._seconds = (jd - self._jd) * 86400.0
74
+
75
+ else:
76
+ self._seconds = float(sec)
77
+ self._jd = float(jd)
78
+
79
+ # Resolve seconds down to [ 0, 86400)
80
+ deltaDays = math.floor(self._seconds / 86400)
81
+ self._jd += deltaDays
82
+ self._seconds -= deltaDays * 86400.0
83
+
84
+ def convert(self, frame):
85
+ if self._frame == frame:
86
+ return self
87
+
88
+ offset = self.allowed[self._frame][frame]
89
+
90
+ return Epoch(frame, self._seconds + offset, self._jd)
91
+
92
+ def frame(self):
93
+ return self._frame
94
+
95
+ def julianDate(self, frame):
96
+ t = self
97
+ if frame != self._frame:
98
+ t = self.convert(frame)
99
+
100
+ return t._jd + t._seconds / 86400.0
101
+
102
+ def secondsPast(self, frame, jd):
103
+ t = self
104
+ if frame != self._frame:
105
+ t = self.convert(frame)
106
+
107
+ delta = t._jd - jd
108
+ return t._seconds + delta * 86400
109
+
110
+ def _cmp(self, op, rhs):
111
+ """Compare Epochs *self* and *rhs* using operator *op*."""
112
+ t = self
113
+ if self._frame != rhs._frame:
114
+ t = self.convert(rhs._frame)
115
+ if t._jd != rhs._jd:
116
+ return op(t._jd, rhs._jd)
117
+ return op(t._seconds, rhs._seconds)
118
+
119
+ __eq__ = functools.partialmethod(_cmp, operator.eq)
120
+ __ne__ = functools.partialmethod(_cmp, operator.ne)
121
+ __lt__ = functools.partialmethod(_cmp, operator.lt)
122
+ __le__ = functools.partialmethod(_cmp, operator.le)
123
+ __gt__ = functools.partialmethod(_cmp, operator.gt)
124
+ __ge__ = functools.partialmethod(_cmp, operator.ge)
125
+
126
+ def __add__(self, rhs):
127
+ """
128
+ Add a duration to an Epoch.
129
+
130
+ = INPUT VARIABLES
131
+ - rhs The Epoch to subtract.
132
+
133
+ = RETURN VALUE
134
+ - Returns the difference of ourselves and the input Epoch.
135
+ """
136
+ t = self
137
+ if self._frame != rhs.frame():
138
+ t = self.convert(rhs._frame)
139
+
140
+ sec = t._seconds + rhs.seconds()
141
+
142
+ return Epoch(t._frame, sec, t._jd)
143
+
144
+ def __sub__(self, rhs):
145
+ """
146
+ Subtract two Epoch's or a Duration from an Epoch.
147
+
148
+ Valid:
149
+ Duration = Epoch - Epoch
150
+ Epoch = Epoch - Duration
151
+
152
+ = INPUT VARIABLES
153
+ - rhs The Epoch to subtract.
154
+
155
+ = RETURN VALUE
156
+ - Returns either the duration between to Epoch's or the a new
157
+ Epoch that is the result of subtracting a duration from an epoch.
158
+ """
159
+ # Delay-load due to circular dependencies.
160
+ import matplotlib.testing.jpl_units as U
161
+
162
+ # Handle Epoch - Duration
163
+ if isinstance(rhs, U.Duration):
164
+ return self + -rhs
165
+
166
+ t = self
167
+ if self._frame != rhs._frame:
168
+ t = self.convert(rhs._frame)
169
+
170
+ days = t._jd - rhs._jd
171
+ sec = t._seconds - rhs._seconds
172
+
173
+ return U.Duration(rhs._frame, days*86400 + sec)
174
+
175
+ def __str__(self):
176
+ """Print the Epoch."""
177
+ return f"{self.julianDate(self._frame):22.15e} {self._frame}"
178
+
179
+ def __repr__(self):
180
+ """Print the Epoch."""
181
+ return str(self)
182
+
183
+ @staticmethod
184
+ def range(start, stop, step):
185
+ """
186
+ Generate a range of Epoch objects.
187
+
188
+ Similar to the Python range() method. Returns the range [
189
+ start, stop) at the requested step. Each element will be a
190
+ Epoch object.
191
+
192
+ = INPUT VARIABLES
193
+ - start The starting value of the range.
194
+ - stop The stop value of the range.
195
+ - step Step to use.
196
+
197
+ = RETURN VALUE
198
+ - Returns a list containing the requested Epoch values.
199
+ """
200
+ elems = []
201
+
202
+ i = 0
203
+ while True:
204
+ d = start + i * step
205
+ if d >= stop:
206
+ break
207
+
208
+ elems.append(d)
209
+ i += 1
210
+
211
+ return elems
.venv/lib/python3.12/site-packages/matplotlib/testing/jpl_units/EpochConverter.py ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """EpochConverter module containing class EpochConverter."""
2
+
3
+ from matplotlib import cbook, units
4
+ import matplotlib.dates as date_ticker
5
+
6
+ __all__ = ['EpochConverter']
7
+
8
+
9
+ class EpochConverter(units.ConversionInterface):
10
+ """
11
+ Provides Matplotlib conversion functionality for Monte Epoch and Duration
12
+ classes.
13
+ """
14
+
15
+ jdRef = 1721425.5
16
+
17
+ @staticmethod
18
+ def axisinfo(unit, axis):
19
+ # docstring inherited
20
+ majloc = date_ticker.AutoDateLocator()
21
+ majfmt = date_ticker.AutoDateFormatter(majloc)
22
+ return units.AxisInfo(majloc=majloc, majfmt=majfmt, label=unit)
23
+
24
+ @staticmethod
25
+ def float2epoch(value, unit):
26
+ """
27
+ Convert a Matplotlib floating-point date into an Epoch of the specified
28
+ units.
29
+
30
+ = INPUT VARIABLES
31
+ - value The Matplotlib floating-point date.
32
+ - unit The unit system to use for the Epoch.
33
+
34
+ = RETURN VALUE
35
+ - Returns the value converted to an Epoch in the specified time system.
36
+ """
37
+ # Delay-load due to circular dependencies.
38
+ import matplotlib.testing.jpl_units as U
39
+
40
+ secPastRef = value * 86400.0 * U.UnitDbl(1.0, 'sec')
41
+ return U.Epoch(unit, secPastRef, EpochConverter.jdRef)
42
+
43
+ @staticmethod
44
+ def epoch2float(value, unit):
45
+ """
46
+ Convert an Epoch value to a float suitable for plotting as a python
47
+ datetime object.
48
+
49
+ = INPUT VARIABLES
50
+ - value An Epoch or list of Epochs that need to be converted.
51
+ - unit The units to use for an axis with Epoch data.
52
+
53
+ = RETURN VALUE
54
+ - Returns the value parameter converted to floats.
55
+ """
56
+ return value.julianDate(unit) - EpochConverter.jdRef
57
+
58
+ @staticmethod
59
+ def duration2float(value):
60
+ """
61
+ Convert a Duration value to a float suitable for plotting as a python
62
+ datetime object.
63
+
64
+ = INPUT VARIABLES
65
+ - value A Duration or list of Durations that need to be converted.
66
+
67
+ = RETURN VALUE
68
+ - Returns the value parameter converted to floats.
69
+ """
70
+ return value.seconds() / 86400.0
71
+
72
+ @staticmethod
73
+ def convert(value, unit, axis):
74
+ # docstring inherited
75
+
76
+ # Delay-load due to circular dependencies.
77
+ import matplotlib.testing.jpl_units as U
78
+
79
+ if not cbook.is_scalar_or_string(value):
80
+ return [EpochConverter.convert(x, unit, axis) for x in value]
81
+ if unit is None:
82
+ unit = EpochConverter.default_units(value, axis)
83
+ if isinstance(value, U.Duration):
84
+ return EpochConverter.duration2float(value)
85
+ else:
86
+ return EpochConverter.epoch2float(value, unit)
87
+
88
+ @staticmethod
89
+ def default_units(value, axis):
90
+ # docstring inherited
91
+ if cbook.is_scalar_or_string(value):
92
+ return value.frame()
93
+ else:
94
+ return EpochConverter.default_units(value[0], axis)
.venv/lib/python3.12/site-packages/matplotlib/testing/jpl_units/StrConverter.py ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """StrConverter module containing class StrConverter."""
2
+
3
+ import numpy as np
4
+
5
+ import matplotlib.units as units
6
+
7
+ __all__ = ['StrConverter']
8
+
9
+
10
+ class StrConverter(units.ConversionInterface):
11
+ """
12
+ A Matplotlib converter class for string data values.
13
+
14
+ Valid units for string are:
15
+ - 'indexed' : Values are indexed as they are specified for plotting.
16
+ - 'sorted' : Values are sorted alphanumerically.
17
+ - 'inverted' : Values are inverted so that the first value is on top.
18
+ - 'sorted-inverted' : A combination of 'sorted' and 'inverted'
19
+ """
20
+
21
+ @staticmethod
22
+ def axisinfo(unit, axis):
23
+ # docstring inherited
24
+ return None
25
+
26
+ @staticmethod
27
+ def convert(value, unit, axis):
28
+ # docstring inherited
29
+
30
+ if value == []:
31
+ return []
32
+
33
+ # we delay loading to make matplotlib happy
34
+ ax = axis.axes
35
+ if axis is ax.xaxis:
36
+ isXAxis = True
37
+ else:
38
+ isXAxis = False
39
+
40
+ axis.get_major_ticks()
41
+ ticks = axis.get_ticklocs()
42
+ labels = axis.get_ticklabels()
43
+
44
+ labels = [l.get_text() for l in labels if l.get_text()]
45
+
46
+ if not labels:
47
+ ticks = []
48
+ labels = []
49
+
50
+ if not np.iterable(value):
51
+ value = [value]
52
+
53
+ newValues = []
54
+ for v in value:
55
+ if v not in labels and v not in newValues:
56
+ newValues.append(v)
57
+
58
+ labels.extend(newValues)
59
+
60
+ # DISABLED: This is disabled because matplotlib bar plots do not
61
+ # DISABLED: recalculate the unit conversion of the data values
62
+ # DISABLED: this is due to design and is not really a bug.
63
+ # DISABLED: If this gets changed, then we can activate the following
64
+ # DISABLED: block of code. Note that this works for line plots.
65
+ # DISABLED if unit:
66
+ # DISABLED if unit.find("sorted") > -1:
67
+ # DISABLED labels.sort()
68
+ # DISABLED if unit.find("inverted") > -1:
69
+ # DISABLED labels = labels[::-1]
70
+
71
+ # add padding (so they do not appear on the axes themselves)
72
+ labels = [''] + labels + ['']
73
+ ticks = list(range(len(labels)))
74
+ ticks[0] = 0.5
75
+ ticks[-1] = ticks[-1] - 0.5
76
+
77
+ axis.set_ticks(ticks)
78
+ axis.set_ticklabels(labels)
79
+ # we have to do the following lines to make ax.autoscale_view work
80
+ loc = axis.get_major_locator()
81
+ loc.set_bounds(ticks[0], ticks[-1])
82
+
83
+ if isXAxis:
84
+ ax.set_xlim(ticks[0], ticks[-1])
85
+ else:
86
+ ax.set_ylim(ticks[0], ticks[-1])
87
+
88
+ result = [ticks[labels.index(v)] for v in value]
89
+
90
+ ax.viewLim.ignore(-1)
91
+ return result
92
+
93
+ @staticmethod
94
+ def default_units(value, axis):
95
+ # docstring inherited
96
+ # The default behavior for string indexing.
97
+ return "indexed"
.venv/lib/python3.12/site-packages/matplotlib/testing/jpl_units/UnitDbl.py ADDED
@@ -0,0 +1,180 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """UnitDbl module."""
2
+
3
+ import functools
4
+ import operator
5
+
6
+ from matplotlib import _api
7
+
8
+
9
+ class UnitDbl:
10
+ """Class UnitDbl in development."""
11
+
12
+ # Unit conversion table. Small subset of the full one but enough
13
+ # to test the required functions. First field is a scale factor to
14
+ # convert the input units to the units of the second field. Only
15
+ # units in this table are allowed.
16
+ allowed = {
17
+ "m": (0.001, "km"),
18
+ "km": (1, "km"),
19
+ "mile": (1.609344, "km"),
20
+
21
+ "rad": (1, "rad"),
22
+ "deg": (1.745329251994330e-02, "rad"),
23
+
24
+ "sec": (1, "sec"),
25
+ "min": (60.0, "sec"),
26
+ "hour": (3600, "sec"),
27
+ }
28
+
29
+ _types = {
30
+ "km": "distance",
31
+ "rad": "angle",
32
+ "sec": "time",
33
+ }
34
+
35
+ def __init__(self, value, units):
36
+ """
37
+ Create a new UnitDbl object.
38
+
39
+ Units are internally converted to km, rad, and sec. The only
40
+ valid inputs for units are [m, km, mile, rad, deg, sec, min, hour].
41
+
42
+ The field UnitDbl.value will contain the converted value. Use
43
+ the convert() method to get a specific type of units back.
44
+
45
+ = ERROR CONDITIONS
46
+ - If the input units are not in the allowed list, an error is thrown.
47
+
48
+ = INPUT VARIABLES
49
+ - value The numeric value of the UnitDbl.
50
+ - units The string name of the units the value is in.
51
+ """
52
+ data = _api.getitem_checked(self.allowed, units=units)
53
+ self._value = float(value * data[0])
54
+ self._units = data[1]
55
+
56
+ def convert(self, units):
57
+ """
58
+ Convert the UnitDbl to a specific set of units.
59
+
60
+ = ERROR CONDITIONS
61
+ - If the input units are not in the allowed list, an error is thrown.
62
+
63
+ = INPUT VARIABLES
64
+ - units The string name of the units to convert to.
65
+
66
+ = RETURN VALUE
67
+ - Returns the value of the UnitDbl in the requested units as a floating
68
+ point number.
69
+ """
70
+ if self._units == units:
71
+ return self._value
72
+ data = _api.getitem_checked(self.allowed, units=units)
73
+ if self._units != data[1]:
74
+ raise ValueError(f"Error trying to convert to different units.\n"
75
+ f" Invalid conversion requested.\n"
76
+ f" UnitDbl: {self}\n"
77
+ f" Units: {units}\n")
78
+ return self._value / data[0]
79
+
80
+ def __abs__(self):
81
+ """Return the absolute value of this UnitDbl."""
82
+ return UnitDbl(abs(self._value), self._units)
83
+
84
+ def __neg__(self):
85
+ """Return the negative value of this UnitDbl."""
86
+ return UnitDbl(-self._value, self._units)
87
+
88
+ def __bool__(self):
89
+ """Return the truth value of a UnitDbl."""
90
+ return bool(self._value)
91
+
92
+ def _cmp(self, op, rhs):
93
+ """Check that *self* and *rhs* share units; compare them using *op*."""
94
+ self.checkSameUnits(rhs, "compare")
95
+ return op(self._value, rhs._value)
96
+
97
+ __eq__ = functools.partialmethod(_cmp, operator.eq)
98
+ __ne__ = functools.partialmethod(_cmp, operator.ne)
99
+ __lt__ = functools.partialmethod(_cmp, operator.lt)
100
+ __le__ = functools.partialmethod(_cmp, operator.le)
101
+ __gt__ = functools.partialmethod(_cmp, operator.gt)
102
+ __ge__ = functools.partialmethod(_cmp, operator.ge)
103
+
104
+ def _binop_unit_unit(self, op, rhs):
105
+ """Check that *self* and *rhs* share units; combine them using *op*."""
106
+ self.checkSameUnits(rhs, op.__name__)
107
+ return UnitDbl(op(self._value, rhs._value), self._units)
108
+
109
+ __add__ = functools.partialmethod(_binop_unit_unit, operator.add)
110
+ __sub__ = functools.partialmethod(_binop_unit_unit, operator.sub)
111
+
112
+ def _binop_unit_scalar(self, op, scalar):
113
+ """Combine *self* and *scalar* using *op*."""
114
+ return UnitDbl(op(self._value, scalar), self._units)
115
+
116
+ __mul__ = functools.partialmethod(_binop_unit_scalar, operator.mul)
117
+ __rmul__ = functools.partialmethod(_binop_unit_scalar, operator.mul)
118
+
119
+ def __str__(self):
120
+ """Print the UnitDbl."""
121
+ return f"{self._value:g} *{self._units}"
122
+
123
+ def __repr__(self):
124
+ """Print the UnitDbl."""
125
+ return f"UnitDbl({self._value:g}, '{self._units}')"
126
+
127
+ def type(self):
128
+ """Return the type of UnitDbl data."""
129
+ return self._types[self._units]
130
+
131
+ @staticmethod
132
+ def range(start, stop, step=None):
133
+ """
134
+ Generate a range of UnitDbl objects.
135
+
136
+ Similar to the Python range() method. Returns the range [
137
+ start, stop) at the requested step. Each element will be a
138
+ UnitDbl object.
139
+
140
+ = INPUT VARIABLES
141
+ - start The starting value of the range.
142
+ - stop The stop value of the range.
143
+ - step Optional step to use. If set to None, then a UnitDbl of
144
+ value 1 w/ the units of the start is used.
145
+
146
+ = RETURN VALUE
147
+ - Returns a list containing the requested UnitDbl values.
148
+ """
149
+ if step is None:
150
+ step = UnitDbl(1, start._units)
151
+
152
+ elems = []
153
+
154
+ i = 0
155
+ while True:
156
+ d = start + i * step
157
+ if d >= stop:
158
+ break
159
+
160
+ elems.append(d)
161
+ i += 1
162
+
163
+ return elems
164
+
165
+ def checkSameUnits(self, rhs, func):
166
+ """
167
+ Check to see if units are the same.
168
+
169
+ = ERROR CONDITIONS
170
+ - If the units of the rhs UnitDbl are not the same as our units,
171
+ an error is thrown.
172
+
173
+ = INPUT VARIABLES
174
+ - rhs The UnitDbl to check for the same units
175
+ - func The name of the function doing the check.
176
+ """
177
+ if self._units != rhs._units:
178
+ raise ValueError(f"Cannot {func} units of different types.\n"
179
+ f"LHS: {self._units}\n"
180
+ f"RHS: {rhs._units}")
.venv/lib/python3.12/site-packages/matplotlib/testing/jpl_units/UnitDblConverter.py ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """UnitDblConverter module containing class UnitDblConverter."""
2
+
3
+ import numpy as np
4
+
5
+ from matplotlib import cbook, units
6
+ import matplotlib.projections.polar as polar
7
+
8
+ __all__ = ['UnitDblConverter']
9
+
10
+
11
+ # A special function for use with the matplotlib FuncFormatter class
12
+ # for formatting axes with radian units.
13
+ # This was copied from matplotlib example code.
14
+ def rad_fn(x, pos=None):
15
+ """Radian function formatter."""
16
+ n = int((x / np.pi) * 2.0 + 0.25)
17
+ if n == 0:
18
+ return str(x)
19
+ elif n == 1:
20
+ return r'$\pi/2$'
21
+ elif n == 2:
22
+ return r'$\pi$'
23
+ elif n % 2 == 0:
24
+ return fr'${n//2}\pi$'
25
+ else:
26
+ return fr'${n}\pi/2$'
27
+
28
+
29
+ class UnitDblConverter(units.ConversionInterface):
30
+ """
31
+ Provides Matplotlib conversion functionality for the Monte UnitDbl class.
32
+ """
33
+ # default for plotting
34
+ defaults = {
35
+ "distance": 'km',
36
+ "angle": 'deg',
37
+ "time": 'sec',
38
+ }
39
+
40
+ @staticmethod
41
+ def axisinfo(unit, axis):
42
+ # docstring inherited
43
+
44
+ # Delay-load due to circular dependencies.
45
+ import matplotlib.testing.jpl_units as U
46
+
47
+ # Check to see if the value used for units is a string unit value
48
+ # or an actual instance of a UnitDbl so that we can use the unit
49
+ # value for the default axis label value.
50
+ if unit:
51
+ label = unit if isinstance(unit, str) else unit.label()
52
+ else:
53
+ label = None
54
+
55
+ if label == "deg" and isinstance(axis.axes, polar.PolarAxes):
56
+ # If we want degrees for a polar plot, use the PolarPlotFormatter
57
+ majfmt = polar.PolarAxes.ThetaFormatter()
58
+ else:
59
+ majfmt = U.UnitDblFormatter(useOffset=False)
60
+
61
+ return units.AxisInfo(majfmt=majfmt, label=label)
62
+
63
+ @staticmethod
64
+ def convert(value, unit, axis):
65
+ # docstring inherited
66
+ if not cbook.is_scalar_or_string(value):
67
+ return [UnitDblConverter.convert(x, unit, axis) for x in value]
68
+ # If no units were specified, then get the default units to use.
69
+ if unit is None:
70
+ unit = UnitDblConverter.default_units(value, axis)
71
+ # Convert the incoming UnitDbl value/values to float/floats
72
+ if isinstance(axis.axes, polar.PolarAxes) and value.type() == "angle":
73
+ # Guarantee that units are radians for polar plots.
74
+ return value.convert("rad")
75
+ return value.convert(unit)
76
+
77
+ @staticmethod
78
+ def default_units(value, axis):
79
+ # docstring inherited
80
+ # Determine the default units based on the user preferences set for
81
+ # default units when printing a UnitDbl.
82
+ if cbook.is_scalar_or_string(value):
83
+ return UnitDblConverter.defaults[value.type()]
84
+ else:
85
+ return UnitDblConverter.default_units(value[0], axis)
.venv/lib/python3.12/site-packages/matplotlib/testing/jpl_units/UnitDblFormatter.py ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """UnitDblFormatter module containing class UnitDblFormatter."""
2
+
3
+ import matplotlib.ticker as ticker
4
+
5
+ __all__ = ['UnitDblFormatter']
6
+
7
+
8
+ class UnitDblFormatter(ticker.ScalarFormatter):
9
+ """
10
+ The formatter for UnitDbl data types.
11
+
12
+ This allows for formatting with the unit string.
13
+ """
14
+
15
+ def __call__(self, x, pos=None):
16
+ # docstring inherited
17
+ if len(self._locs) == 0:
18
+ return ''
19
+ else:
20
+ return f'{x:.12}'
21
+
22
+ def format_data_short(self, value):
23
+ # docstring inherited
24
+ return f'{value:.12}'
25
+
26
+ def format_data(self, value):
27
+ # docstring inherited
28
+ return f'{value:.12}'
.venv/lib/python3.12/site-packages/matplotlib/testing/jpl_units/__init__.py ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ A sample set of units for use with testing unit conversion
3
+ of Matplotlib routines. These are used because they use very strict
4
+ enforcement of unitized data which will test the entire spectrum of how
5
+ unitized data might be used (it is not always meaningful to convert to
6
+ a float without specific units given).
7
+
8
+ UnitDbl is essentially a unitized floating point number. It has a
9
+ minimal set of supported units (enough for testing purposes). All
10
+ of the mathematical operation are provided to fully test any behaviour
11
+ that might occur with unitized data. Remember that unitized data has
12
+ rules as to how it can be applied to one another (a value of distance
13
+ cannot be added to a value of time). Thus we need to guard against any
14
+ accidental "default" conversion that will strip away the meaning of the
15
+ data and render it neutered.
16
+
17
+ Epoch is different than a UnitDbl of time. Time is something that can be
18
+ measured where an Epoch is a specific moment in time. Epochs are typically
19
+ referenced as an offset from some predetermined epoch.
20
+
21
+ A difference of two epochs is a Duration. The distinction between a Duration
22
+ and a UnitDbl of time is made because an Epoch can have different frames (or
23
+ units). In the case of our test Epoch class the two allowed frames are 'UTC'
24
+ and 'ET' (Note that these are rough estimates provided for testing purposes
25
+ and should not be used in production code where accuracy of time frames is
26
+ desired). As such a Duration also has a frame of reference and therefore needs
27
+ to be called out as different that a simple measurement of time since a delta-t
28
+ in one frame may not be the same in another.
29
+ """
30
+
31
+ from .Duration import Duration
32
+ from .Epoch import Epoch
33
+ from .UnitDbl import UnitDbl
34
+
35
+ from .StrConverter import StrConverter
36
+ from .EpochConverter import EpochConverter
37
+ from .UnitDblConverter import UnitDblConverter
38
+
39
+ from .UnitDblFormatter import UnitDblFormatter
40
+
41
+
42
+ __version__ = "1.0"
43
+
44
+ __all__ = [
45
+ 'register',
46
+ 'Duration',
47
+ 'Epoch',
48
+ 'UnitDbl',
49
+ 'UnitDblFormatter',
50
+ ]
51
+
52
+
53
+ def register():
54
+ """Register the unit conversion classes with matplotlib."""
55
+ import matplotlib.units as mplU
56
+
57
+ mplU.registry[str] = StrConverter()
58
+ mplU.registry[Epoch] = EpochConverter()
59
+ mplU.registry[Duration] = EpochConverter()
60
+ mplU.registry[UnitDbl] = UnitDblConverter()
61
+
62
+
63
+ # Some default unit instances
64
+ # Distances
65
+ m = UnitDbl(1.0, "m")
66
+ km = UnitDbl(1.0, "km")
67
+ mile = UnitDbl(1.0, "mile")
68
+ # Angles
69
+ deg = UnitDbl(1.0, "deg")
70
+ rad = UnitDbl(1.0, "rad")
71
+ # Time
72
+ sec = UnitDbl(1.0, "sec")
73
+ min = UnitDbl(1.0, "min")
74
+ hr = UnitDbl(1.0, "hour")
75
+ day = UnitDbl(24.0, "hour")
76
+ sec = UnitDbl(1.0, "sec")
.venv/lib/python3.12/site-packages/matplotlib/testing/jpl_units/__pycache__/Duration.cpython-312.pyc ADDED
Binary file (6.31 kB). View file
 
.venv/lib/python3.12/site-packages/matplotlib/testing/jpl_units/__pycache__/Epoch.cpython-312.pyc ADDED
Binary file (8.09 kB). View file
 
.venv/lib/python3.12/site-packages/matplotlib/testing/jpl_units/__pycache__/EpochConverter.cpython-312.pyc ADDED
Binary file (4.3 kB). View file
 
.venv/lib/python3.12/site-packages/matplotlib/testing/jpl_units/__pycache__/StrConverter.cpython-312.pyc ADDED
Binary file (3.2 kB). View file
 
.venv/lib/python3.12/site-packages/matplotlib/testing/jpl_units/__pycache__/UnitDbl.cpython-312.pyc ADDED
Binary file (8.04 kB). View file