kx-plot 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
kx/data/dists.csv ADDED
@@ -0,0 +1,501 @@
1
+ normal,skewed,bimodal
2
+ 0.4711,-0.088,1.4962
3
+ -0.5335,-0.1264,1.9652
4
+ -0.4116,1.4246,1.1144
5
+ 1.3626,-0.048,-1.1137
6
+ -1.0406,-0.1148,-1.2224
7
+ -2.4128,-0.6496,1.1585
8
+ 1.6109,-0.3605,-1.9046
9
+ 2.5493,-0.1233,1.6057
10
+ -0.4053,-0.2903,1.224
11
+ -1.9368,0.9954,-1.4034
12
+ -0.3105,-0.0792,2.1765
13
+ -0.2862,0.9045,2.2331
14
+ -0.1899,0.0313,1.0916
15
+ -1.1134,0.0188,-0.9658
16
+ 0.5796,-0.0434,1.5451
17
+ 0.5245,0.0019,1.0069
18
+ -1.4944,1.3617,1.4722
19
+ 0.6992,-0.6865,1.5027
20
+ 2.0527,-0.6324,2.0701
21
+ 0.172,-0.2378,-1.6758
22
+ -0.3373,0.0073,-1.3755
23
+ -0.142,0.4121,-1.0768
24
+ 0.6153,0.2669,1.8321
25
+ -1.7307,-0.1748,1.2074
26
+ 0.1644,0.6645,1.7943
27
+ -0.3905,0.6738,-1.6661
28
+ 1.8478,0.0964,1.0153
29
+ -0.1742,0.6182,1.0216
30
+ 1.6679,0.1461,-1.8597
31
+ -1.1037,-0.2448,1.4218
32
+ 0.5873,0.4175,2.3202
33
+ 0.3194,0.0569,1.2432
34
+ -0.869,0.0007,-1.6822
35
+ 0.1774,1.0886,2.6963
36
+ 1.2125,-0.7064,0.9713
37
+ -0.3238,-0.5078,0.5511
38
+ -1.692,-0.4476,2.1433
39
+ -0.0176,-0.1661,1.0866
40
+ -0.9024,-0.1195,-1.3879
41
+ -0.3423,-0.5294,1.207
42
+ -0.0816,-0.389,-1.3337
43
+ -1.7057,-0.3498,1.0247
44
+ -1.6157,2.4168,-1.1613
45
+ 0.4821,1.4617,-1.8719
46
+ -0.5227,-0.1861,0.9958
47
+ -2.5647,-0.1662,-1.972
48
+ 0.7848,-0.4371,1.3263
49
+ 0.2724,-0.6148,-1.1833
50
+ -0.7139,-0.0568,1.2887
51
+ -1.3168,-0.3928,1.5594
52
+ 0.8358,-0.0415,-0.0937
53
+ 0.3494,-0.5507,1.3643
54
+ 2.3826,-0.3168,-1.8692
55
+ 0.4202,0.0771,1.1721
56
+ 0.3877,0.2009,1.8455
57
+ -0.1669,0.2321,2.218
58
+ 0.8168,-0.4833,-1.6498
59
+ 0.6251,0.5332,-2.1083
60
+ 1.2517,-0.3298,1.3802
61
+ -0.5213,0.3722,1.6827
62
+ -0.4354,-0.0053,-1.2595
63
+ -0.4791,-0.4975,-1.2461
64
+ 0.7908,-0.1462,-1.1985
65
+ 1.4984,0.2004,1.727
66
+ -0.4588,0.3586,-0.4394
67
+ -0.4248,-0.0681,-1.3828
68
+ 0.3141,1.1509,1.9978
69
+ -0.2458,0.6549,-2.0012
70
+ 0.9521,-0.1204,0.7572
71
+ -2.2518,0.4551,-1.4913
72
+ -0.8267,1.6298,0.6218
73
+ -0.7824,1.6651,1.3801
74
+ -2.3204,-0.4588,2.1434
75
+ -0.9636,-0.3708,-1.2255
76
+ -0.9152,1.1011,0.8603
77
+ -0.2011,-0.4109,0.984
78
+ 1.113,-0.4838,-1.9996
79
+ -0.2451,-0.2158,-1.4816
80
+ -1.0308,0.2338,-1.4135
81
+ -0.057,-0.0499,1.9772
82
+ 1.0492,-0.2777,1.7476
83
+ -0.976,-0.2862,1.5728
84
+ -0.9106,-0.2996,1.6966
85
+ 0.5585,-0.3558,1.069
86
+ -0.2215,2.1293,-1.7698
87
+ 0.6475,0.1604,-1.5884
88
+ -0.0136,0.558,1.9177
89
+ 0.7017,-0.2169,-1.1976
90
+ -1.0351,-0.0888,1.6054
91
+ -0.0121,-0.3001,1.4119
92
+ -0.2107,-0.7344,-1.7281
93
+ -1.2159,-0.4979,0.0692
94
+ -1.5635,-0.5956,-1.1946
95
+ 0.6857,-0.6753,1.4433
96
+ -0.351,-0.4499,1.4747
97
+ -1.0223,0.9396,1.8533
98
+ -0.0962,-0.022,-0.8542
99
+ 1.128,0.9065,-0.6108
100
+ -2.2807,0.2281,-1.9332
101
+ -1.4966,0.4789,-1.4931
102
+ -0.9229,-0.3627,-1.4944
103
+ 1.4612,0.2995,-1.549
104
+ 0.2826,0.4396,2.0197
105
+ 0.7673,-0.2505,-2.2428
106
+ -1.1402,0.3228,-1.4537
107
+ -1.1195,0.3272,2.145
108
+ 0.4478,-0.2403,0.6327
109
+ 0.0583,-0.4296,1.5898
110
+ 0.5487,-0.4468,1.2073
111
+ -0.1877,0.0442,1.3146
112
+ 0.2781,0.1776,1.0476
113
+ 0.1581,-0.3272,1.4152
114
+ 0.7778,0.0134,2.4206
115
+ 0.807,0.3301,-1.3614
116
+ -1.6199,0.3622,-1.2575
117
+ -2.2473,1.1726,-2.0388
118
+ 1.0017,0.8936,-2.1435
119
+ 1.1877,-0.3939,1.2688
120
+ -1.0206,1.3205,-1.9617
121
+ -1.8598,-0.2332,-2.022
122
+ 0.099,0.6861,-1.5195
123
+ 0.9308,0.0346,1.3824
124
+ 1.7976,-0.1862,-1.9513
125
+ 0.5163,-0.595,2.196
126
+ -0.3717,-0.0822,1.0735
127
+ -0.8931,-0.5415,-1.903
128
+ 0.0115,0.622,1.0842
129
+ -0.2993,1.1348,-1.0287
130
+ -1.0151,-0.3286,-1.2539
131
+ 2.0488,0.163,2.08
132
+ 1.7852,-0.3042,2.023
133
+ 1.136,-0.2697,-1.8723
134
+ -0.9209,0.4729,1.4166
135
+ 0.855,-0.0191,-0.9172
136
+ 0.6396,1.3865,1.6957
137
+ 0.4425,-0.2142,1.3032
138
+ 1.2497,0.6482,0.6905
139
+ 0.6354,0.0499,1.5569
140
+ 0.74,0.4887,-0.9831
141
+ 0.6369,-0.2003,0.9012
142
+ 0.3408,-0.0245,1.8194
143
+ -1.7836,-0.0561,1.6658
144
+ 0.0836,-0.3417,-0.9577
145
+ -0.5562,0.3924,-1.2245
146
+ -1.2798,0.3842,-2.6886
147
+ 1.6818,0.3455,-1.8924
148
+ 1.729,1.1565,-1.4309
149
+ 1.3592,1.0641,-1.5975
150
+ 0.2552,-0.1709,1.229
151
+ 1.3506,0.2051,-1.1053
152
+ 0.0121,-0.2679,0.5893
153
+ 0.2028,0.0117,2.3763
154
+ -1.0935,-0.2591,1.9129
155
+ 0.397,1.248,-1.7277
156
+ 0.0604,0.1994,-1.2918
157
+ -1.3027,-0.1033,1.7884
158
+ -0.0512,0.8163,1.3778
159
+ -0.0797,-0.6622,-1.0458
160
+ 1.7976,-0.6347,1.2862
161
+ 0.8942,0.4887,2.8174
162
+ 0.0114,0.0307,1.778
163
+ 0.2488,0.1334,-0.5569
164
+ 0.0442,-0.4848,1.7327
165
+ -0.2029,-0.0115,-2.4921
166
+ -1.0824,1.7231,2.2523
167
+ -0.1511,0.51,-1.4933
168
+ -0.7461,0.0886,-0.9475
169
+ -1.2503,-0.1971,2.033
170
+ 0.5112,-0.179,-1.2707
171
+ 0.3913,-0.6551,-1.3185
172
+ -1.7867,0.1375,-1.1513
173
+ -0.1227,0.5261,-0.3613
174
+ 0.9957,-0.5452,-1.0145
175
+ 1.0592,-0.2816,-2.2902
176
+ 1.0258,-0.4394,2.2398
177
+ 0.0389,-0.3829,1.4457
178
+ -0.845,0.0271,-0.8986
179
+ -1.0837,-0.6473,1.2419
180
+ 0.3446,0.3595,-0.9175
181
+ 0.3793,0.4578,1.8378
182
+ 1.2873,-0.118,-0.2137
183
+ 1.1,-0.7107,1.3712
184
+ -0.1322,-0.3924,-1.7537
185
+ -1.2442,0.8523,1.1782
186
+ -0.3191,-0.7507,-1.7451
187
+ 0.2172,-0.1595,1.9849
188
+ -0.2021,-0.4457,-2.8813
189
+ -0.5779,0.4952,1.009
190
+ 0.2529,-0.2865,1.0722
191
+ -0.504,0.2238,1.5544
192
+ -0.6281,0.3267,2.3631
193
+ 0.3115,1.5046,0.5422
194
+ -0.402,-0.0965,-0.8545
195
+ 0.2441,0.2069,-1.3693
196
+ 0.2732,-0.5241,-1.0868
197
+ -1.1394,0.8134,-1.3604
198
+ -0.4812,-0.3163,1.2897
199
+ 1.4378,-0.2445,1.2331
200
+ -1.1621,-0.0111,1.5036
201
+ -2.1167,-0.5423,1.2324
202
+ -1.8618,0.1212,0.7688
203
+ 0.0291,0.6221,1.8899
204
+ 0.0309,0.1577,1.8764
205
+ -0.1176,-0.5482,-1.6352
206
+ 1.2142,-0.06,0.7296
207
+ -2.6728,0.4492,1.6495
208
+ 0.3959,-0.609,-0.9299
209
+ 1.5614,-0.4157,-1.4941
210
+ -1.1278,0.55,1.5046
211
+ -0.3798,0.1446,1.4419
212
+ -0.7529,0.2287,2.4211
213
+ -0.8943,1.5339,2.4622
214
+ -0.3263,0.264,-1.4153
215
+ 1.4275,0.3895,-1.0002
216
+ 1.8374,2.8782,1.0424
217
+ -0.3359,-0.1014,1.9903
218
+ 1.9051,-0.329,1.9852
219
+ 0.0356,0.2385,1.0022
220
+ 1.7537,0.2454,-1.7458
221
+ -0.0933,-0.2315,1.4462
222
+ 0.1311,-0.4032,-0.1163
223
+ 0.3655,2.1738,-1.0827
224
+ 3.1789,0.1775,-0.9753
225
+ 0.8513,-0.3066,-1.078
226
+ -0.7073,0.5809,1.4161
227
+ 0.969,-0.0531,-1.595
228
+ -0.3618,-0.1188,-2.5274
229
+ -0.4898,0.3246,1.8659
230
+ 0.9086,-0.4758,1.1677
231
+ 0.0311,0.1928,-1.9849
232
+ 0.2786,1.6025,-1.5882
233
+ 0.014,0.2625,-1.8459
234
+ 0.3366,-0.1715,1.8931
235
+ 0.425,-0.224,-1.1253
236
+ -1.937,-0.1855,-1.1742
237
+ 0.6666,-0.1192,-1.1892
238
+ -0.982,-0.1721,2.1842
239
+ -1.4423,0.5812,-1.4012
240
+ -0.0584,-0.5796,1.0891
241
+ 0.084,0.5388,-2.5932
242
+ -0.6935,-0.1729,1.4695
243
+ 0.831,0.2074,-1.338
244
+ -1.3422,-0.4308,-0.8954
245
+ -0.4069,0.9432,-0.7143
246
+ -0.5849,0.8642,0.7657
247
+ -0.0466,0.6157,1.8164
248
+ 0.2789,-0.5311,-1.6761
249
+ -1.0079,0.5137,-1.2598
250
+ 0.7243,0.2244,0.957
251
+ 0.063,-0.5519,0.8713
252
+ -1.8919,-0.0121,-0.9403
253
+ -1.9586,0.1999,-1.6939
254
+ -0.0123,0.3205,1.5323
255
+ -0.221,0.0927,1.7861
256
+ -0.1034,0.1568,0.5782
257
+ -0.028,1.0893,1.1612
258
+ 0.2256,0.846,-1.5574
259
+ 0.9476,-0.7615,-0.7035
260
+ -1.1111,-0.1468,-1.6773
261
+ -1.172,-0.079,-2.7196
262
+ -1.0933,-0.5836,-1.2478
263
+ 0.2889,0.0482,-1.8495
264
+ 1.2449,0.8671,-1.4787
265
+ -0.4313,-0.4192,1.6982
266
+ -2.5017,0.1832,-1.6369
267
+ -1.704,-0.3674,-1.1048
268
+ -0.833,-0.2853,1.8762
269
+ -0.5577,1.0932,2.0704
270
+ -0.4084,-0.2376,1.499
271
+ 0.0386,0.26,1.6517
272
+ -0.3117,-0.6077,1.7558
273
+ 1.0493,1.5374,-1.1657
274
+ -0.676,0.3517,-0.9385
275
+ -0.8623,-0.0872,1.3338
276
+ 0.4789,0.3335,-2.4804
277
+ -1.5356,-0.5058,-1.147
278
+ 0.3897,0.8063,-2.3299
279
+ 0.1026,-0.1496,-1.3456
280
+ -0.1474,-0.097,-1.9437
281
+ 1.5883,-0.2179,-2.0799
282
+ -0.6222,-0.252,1.9894
283
+ 2.0603,0.4153,1.5393
284
+ -0.2254,0.1365,-1.8221
285
+ -1.277,0.3852,1.9043
286
+ 0.0699,-0.0044,-1.723
287
+ -1.0762,0.2925,0.7967
288
+ -0.7518,-0.1889,2.0106
289
+ 0.397,2.0492,-1.8488
290
+ 0.5556,-0.5434,1.2956
291
+ -0.6222,0.8785,1.5206
292
+ 0.9874,0.9817,2.0713
293
+ 1.1575,-0.3469,1.51
294
+ 1.4363,2.0485,0.9004
295
+ 0.5294,0.645,-1.7679
296
+ 1.3634,0.6251,1.2575
297
+ -1.8808,0.0141,2.444
298
+ -0.3179,-0.1029,1.4994
299
+ -0.867,-0.0994,-2.2207
300
+ 0.1192,0.2156,1.6787
301
+ -0.5714,1.0149,-0.8216
302
+ -0.1662,0.0949,2.288
303
+ 1.8822,-0.366,-1.816
304
+ -0.1697,0.5102,0.9901
305
+ 0.4138,0.585,1.9561
306
+ -0.2323,0.3873,-2.4306
307
+ 0.0757,0.4517,1.6121
308
+ 0.006,-0.1267,-0.7251
309
+ 0.4483,-0.3715,1.1778
310
+ 1.1653,-0.3522,1.1619
311
+ 1.6474,-0.5586,-0.9331
312
+ 0.3096,0.1258,-0.4466
313
+ 0.5895,-0.0409,-1.7884
314
+ -1.1509,-0.1975,-1.5084
315
+ -0.0879,-0.7719,1.3442
316
+ 0.9403,-0.464,1.1269
317
+ 0.866,0.7514,-0.9862
318
+ 0.2116,-0.2827,2.0891
319
+ 0.8864,0.1976,-1.4488
320
+ 0.4908,-0.5011,1.1224
321
+ 1.2003,1.0531,-1.979
322
+ 0.2894,-0.0695,0.6165
323
+ -0.3557,0.1561,2.2108
324
+ 0.3358,2.1992,-1.0022
325
+ -2.9306,1.1345,1.1246
326
+ 0.3829,-0.1421,2.3213
327
+ -3.6484,-0.2567,-1.2144
328
+ -1.7235,-0.1502,-1.9858
329
+ 0.4518,0.2904,1.3533
330
+ 0.4775,-0.0513,-1.0903
331
+ -1.1624,-0.1793,-0.1982
332
+ -0.7121,1.0825,-1.6881
333
+ 1.3705,-0.0555,1.7112
334
+ -0.484,2.1575,-1.1155
335
+ 2.2429,0.0464,-1.0904
336
+ -0.0019,1.4416,0.9152
337
+ 0.408,0.1956,1.8774
338
+ 1.6169,0.6185,1.3527
339
+ 0.131,-0.3039,-1.9138
340
+ -1.0023,-0.3475,0.4359
341
+ -0.1097,0.2584,0.9909
342
+ -0.0356,0.6393,-1.002
343
+ -1.3647,0.0203,1.5569
344
+ -0.2558,-0.4744,-2.4212
345
+ -0.7422,-0.4934,-2.4583
346
+ 0.9244,-0.5101,-2.1297
347
+ 0.0346,-0.5868,1.4863
348
+ -0.2828,0.0563,-1.5773
349
+ -0.1062,0.7551,-2.0944
350
+ 0.2231,-0.0067,-1.8514
351
+ 0.6168,-0.677,-1.887
352
+ -0.9997,-0.091,-1.7203
353
+ -1.0416,-0.0782,1.1592
354
+ 1.1047,1.8519,-1.169
355
+ -0.4123,-0.5174,-1.4919
356
+ -1.4168,-0.1774,2.014
357
+ 0.4438,1.3465,-1.7166
358
+ 0.4634,0.2523,1.4846
359
+ -1.5307,0.3253,-1.2079
360
+ 0.2295,0.059,-1.9538
361
+ 0.7356,0.1794,-1.4818
362
+ 0.3744,0.4752,-2.5158
363
+ 0.632,-0.3329,-1.3941
364
+ -1.4043,0.5512,1.195
365
+ 0.331,-0.4967,-1.64
366
+ -0.3026,0.1784,1.4551
367
+ -0.4828,0.0935,2.2726
368
+ 0.8706,-0.2652,-1.3913
369
+ 1.4793,-0.0113,1.6296
370
+ 1.7944,-0.2675,-1.5501
371
+ 1.3148,-0.4148,-1.5572
372
+ -0.1097,-0.1621,-1.4464
373
+ 0.3527,-0.4242,2.293
374
+ 0.7668,0.1752,1.611
375
+ 0.1212,-0.4373,-1.5011
376
+ 0.1308,0.4276,1.8204
377
+ 0.8238,-0.4461,2.3137
378
+ -0.0593,-0.2466,-1.117
379
+ -0.7293,-0.2682,2.6951
380
+ -0.4145,0.9398,1.2573
381
+ 0.6339,0.1796,1.1168
382
+ 0.003,-0.1005,0.895
383
+ 0.3402,0.2832,-2.5963
384
+ 0.6701,-0.6513,-1.774
385
+ -0.3748,-0.0213,1.3329
386
+ 0.7562,1.7149,-1.2235
387
+ 0.3788,0.0684,-1.3755
388
+ -1.2348,0.0345,2.4831
389
+ 1.4423,0.3153,-1.2578
390
+ -0.5007,0.5649,-0.8911
391
+ -1.6551,-0.6317,1.2687
392
+ -1.045,-0.5688,-0.7391
393
+ -1.021,0.1109,-1.3206
394
+ 0.0522,-0.3005,1.3648
395
+ -0.2739,0.9271,-1.6536
396
+ -0.3368,-0.1458,-1.8007
397
+ 0.6197,-0.6199,-0.6466
398
+ 0.3399,-0.4695,1.2894
399
+ 0.316,-0.7471,-1.0976
400
+ 0.4098,-0.1105,1.9936
401
+ 0.6161,-0.0899,-1.7933
402
+ -2.108,-0.1912,-1.4945
403
+ -0.3644,0.715,2.0286
404
+ -2.1802,0.8208,1.6893
405
+ 0.0361,-0.0817,0.4776
406
+ -0.0046,-0.6561,-1.6076
407
+ 1.0455,0.3616,2.2506
408
+ 1.1876,0.3201,1.701
409
+ 0.2028,0.1673,-2.4002
410
+ -0.5004,0.6335,-0.5535
411
+ 0.4852,-0.4415,1.5066
412
+ -0.5279,1.7302,-1.535
413
+ -0.0014,-0.381,0.8209
414
+ 0.9861,0.4544,1.0795
415
+ -0.5578,-0.5699,-1.771
416
+ 0.8057,-0.3719,-0.9259
417
+ 0.6774,1.1344,-1.2289
418
+ -0.9548,-0.1223,-1.3777
419
+ 0.9739,0.5219,-1.4272
420
+ 0.6986,0.1258,2.0458
421
+ 0.1019,-0.0511,-0.9772
422
+ -0.7623,0.9777,1.5696
423
+ -0.8592,-0.1116,-2.311
424
+ -0.5377,-0.5895,-1.1928
425
+ 0.5426,-0.3308,-1.1844
426
+ -0.9556,0.3173,2.1299
427
+ 0.4375,0.2187,-1.2961
428
+ -1.2418,-0.5432,-1.6603
429
+ -0.2041,-0.3038,1.2539
430
+ 0.1096,-0.2524,1.6004
431
+ 2.4451,-0.167,-1.7436
432
+ -1.3773,-0.4974,1.7427
433
+ 1.472,-0.2696,-0.4897
434
+ 0.1498,-0.3053,-2.3675
435
+ 0.4112,0.4707,-1.2501
436
+ 0.1183,0.4986,-2.3396
437
+ 0.4447,-0.0703,-1.5541
438
+ -0.1537,-0.178,1.0482
439
+ 1.4541,0.0725,-2.5425
440
+ -0.4565,-0.3352,1.2744
441
+ 1.1322,-0.4364,0.9308
442
+ -0.6444,-0.3751,1.2792
443
+ -0.0603,-0.272,1.2627
444
+ -1.072,-0.4411,1.1641
445
+ 0.455,0.0844,1.3421
446
+ 1.4451,0.4403,-1.3205
447
+ -0.0774,-0.5478,-1.477
448
+ -0.1969,0.0126,2.7359
449
+ -1.1146,-0.1041,1.5853
450
+ -0.2293,0.1862,-0.9332
451
+ -1.5928,-0.0064,1.5021
452
+ -0.9129,-0.5165,-1.3993
453
+ 0.2268,-0.468,1.7176
454
+ 1.319,0.0148,-2.4048
455
+ 2.8092,0.6726,-1.2653
456
+ -0.5866,-0.6695,-0.3635
457
+ 1.4353,0.1887,-1.18
458
+ 0.2438,0.8127,-0.7633
459
+ -0.1512,-0.0737,-1.4085
460
+ 0.4326,0.3167,-1.5366
461
+ 0.0619,-0.2964,-1.3094
462
+ 0.1104,-0.0579,-1.9079
463
+ -0.4083,-0.5553,-1.9819
464
+ -1.3981,-0.6903,-0.8668
465
+ -1.5436,0.6022,-0.8138
466
+ 0.6532,-0.3889,-1.9956
467
+ -0.2767,-0.2037,-1.016
468
+ -0.5961,-0.5,-1.5435
469
+ 0.0085,-0.5059,1.2388
470
+ 0.7949,-0.0832,1.2646
471
+ 0.1804,-0.3057,1.8697
472
+ -0.6561,0.208,0.9191
473
+ 1.2263,0.2539,1.0473
474
+ 1.5792,0.174,-1.3453
475
+ 0.4946,0.1267,1.9847
476
+ 0.9737,1.2009,2.1191
477
+ 1.242,-0.4136,1.1675
478
+ 1.1301,-0.0271,1.9687
479
+ 0.6141,0.7618,-1.1435
480
+ 0.5983,0.8819,2.4131
481
+ 0.5197,-0.5088,0.9331
482
+ -1.0973,-0.1446,-0.8811
483
+ 0.7007,0.972,1.1718
484
+ -1.3558,0.2892,-2.4569
485
+ -0.7946,0.1026,1.7957
486
+ 1.3036,-0.1031,0.992
487
+ 0.8402,-0.1746,-0.7943
488
+ 1.4874,0.155,1.8906
489
+ -0.2717,-0.1186,-1.3976
490
+ -1.1522,-0.0211,1.4646
491
+ -0.2404,0.0401,1.5223
492
+ 0.102,-0.2875,1.8792
493
+ 0.079,0.3048,1.5659
494
+ 1.1337,3.2936,-1.0864
495
+ -0.3613,-0.5887,-2.1654
496
+ 0.352,0.1759,-2.334
497
+ -0.9886,-0.3162,-1.0881
498
+ 0.4503,0.3347,-1.8015
499
+ 0.0031,0.0236,-1.6961
500
+ -0.7498,0.4636,-2.4284
501
+ -0.2358,0.7999,-1.8395
kx/data/monthly.csv ADDED
@@ -0,0 +1,13 @@
1
+ month,y2025,y2026
2
+ Jan,104,104
3
+ Feb,115,142
4
+ Mar,145,148
5
+ Apr,135,151
6
+ May,130,161
7
+ Jun,124,140
8
+ Jul,106,110
9
+ Aug,84,104
10
+ Sep,52,72
11
+ Oct,64,69
12
+ Nov,57,77
13
+ Dec,82,87
kx/data/waves.csv ADDED
@@ -0,0 +1,61 @@
1
+ x,y,z
2
+ 0.0,0.0,1.0
3
+ 0.1695,0.1687,0.9857
4
+ 0.339,0.3325,0.9431
5
+ 0.5085,0.4868,0.8735
6
+ 0.678,0.6272,0.7789
7
+ 0.8475,0.7496,0.6619
8
+ 1.0169,0.8505,0.526
9
+ 1.1864,0.927,0.375
10
+ 1.3559,0.977,0.2132
11
+ 1.5254,0.999,0.0454
12
+ 1.6949,0.9923,-0.1238
13
+ 1.8644,0.9572,-0.2894
14
+ 2.0339,0.8947,-0.4467
15
+ 2.2034,0.8065,-0.5912
16
+ 2.3729,0.6952,-0.7188
17
+ 2.5424,0.564,-0.8258
18
+ 2.7119,0.4166,-0.9091
19
+ 2.8814,0.2573,-0.9663
20
+ 3.0508,0.0906,-0.9959
21
+ 3.2203,-0.0787,-0.9969
22
+ 3.3898,-0.2457,-0.9693
23
+ 3.5593,-0.4057,-0.914
24
+ 3.7288,-0.554,-0.8325
25
+ 3.8983,-0.6865,-0.7271
26
+ 4.0678,-0.7993,-0.6009
27
+ 4.2373,-0.8892,-0.4574
28
+ 4.4068,-0.9537,-0.3009
29
+ 4.5763,-0.9908,-0.1357
30
+ 4.7458,-0.9994,0.0334
31
+ 4.9153,-0.9795,0.2015
32
+ 5.0847,-0.9315,0.3638
33
+ 5.2542,-0.8568,0.5157
34
+ 5.4237,-0.7575,0.6528
35
+ 5.5932,-0.6365,0.7713
36
+ 5.7627,-0.4973,0.8676
37
+ 5.9322,-0.3438,0.939
38
+ 6.1017,-0.1805,0.9836
39
+ 6.2712,-0.012,0.9999
40
+ 6.4407,0.1568,0.9876
41
+ 6.6102,0.3212,0.947
42
+ 6.7797,0.4763,0.8793
43
+ 6.9492,0.6178,0.7863
44
+ 7.1186,0.7416,0.6708
45
+ 7.2881,0.8441,0.5361
46
+ 7.4576,0.9225,0.3861
47
+ 7.6271,0.9744,0.2249
48
+ 7.7966,0.9984,0.0573
49
+ 7.9661,0.9937,-0.1119
50
+ 8.1356,0.9606,-0.2779
51
+ 8.3051,0.9,-0.436
52
+ 8.4746,0.8135,-0.5815
53
+ 8.6441,0.7038,-0.7104
54
+ 8.8136,0.5739,-0.8189
55
+ 8.9831,0.4275,-0.904
56
+ 9.1525,0.2689,-0.9632
57
+ 9.322,0.1026,-0.9947
58
+ 9.4915,-0.0667,-0.9978
59
+ 9.661,-0.234,-0.9722
60
+ 9.8305,-0.3947,-0.9188
61
+ 10.0,-0.544,-0.8391
kx/kinds/__init__.py ADDED
@@ -0,0 +1,2 @@
1
+ """Every plot kind, grouped as in the feature tracker. Importing this registers them all."""
2
+ from . import basic, dist # noqa: F401
kx/kinds/basic.py ADDED
@@ -0,0 +1,92 @@
1
+ """Basic kinds: y and z against x."""
2
+ import matplotlib as mpl
3
+ import matplotlib.pyplot as plt
4
+ import numpy as np
5
+ from matplotlib.axes import Axes
6
+ from numpy.typing import ArrayLike
7
+
8
+ from .._spec import kind
9
+ from .._util import categories, label
10
+
11
+
12
+ @kind("line")
13
+ def line(ax: Axes, x: ArrayLike, y: ArrayLike, z: ArrayLike | None, flags: set[str]) -> None:
14
+ """y and z against x."""
15
+ ax.plot(x, y, label=label(y, "y"))
16
+ if z is not None:
17
+ ax.plot(x, z, label=label(z, "z"))
18
+
19
+
20
+ @kind("step")
21
+ def step(ax: Axes, x: ArrayLike, y: ArrayLike, z: ArrayLike | None, flags: set[str]) -> None:
22
+ """Like line, drawn as steps centred on each x."""
23
+ ax.step(x, y, where="mid", label=label(y, "y"))
24
+ if z is not None:
25
+ ax.step(x, z, where="mid", label=label(z, "z"))
26
+
27
+
28
+ def _check_area(y: ArrayLike, z: ArrayLike | None, flags: set[str]) -> None:
29
+ if "norm" in flags and z is None:
30
+ raise ValueError("flag 'norm' needs two series (y and z) to split 100% between")
31
+
32
+
33
+ @kind("area", flags=("stack", "norm"), check=_check_area)
34
+ def area(ax: Axes, x: ArrayLike, y: ArrayLike, z: ArrayLike | None, flags: set[str]) -> None:
35
+ """Filled y and z; stack = on top of each other, norm = 100% stack."""
36
+ series = [(np.asarray(a, dtype=float), label(a, n)) for a, n in ((y, "y"), (z, "z")) if a is not None]
37
+ if "norm" in flags:
38
+ total = sum(v for v, _ in series)
39
+ with np.errstate(invalid="ignore", divide="ignore"):
40
+ series = [(100 * v / total, n) for v, n in series]
41
+ ax.yaxis.set_major_formatter(mpl.ticker.PercentFormatter(100))
42
+ ax.set_ylim(0, 100)
43
+ if "stack" in flags or "norm" in flags:
44
+ ax.stackplot(x, *(v for v, _ in series), labels=[n for _, n in series])
45
+ else:
46
+ for v, n in series:
47
+ ln, = ax.plot(x, v, label=n)
48
+ ax.fill_between(x, v, color=ln.get_color(), alpha=0.3, linewidth=0)
49
+
50
+
51
+ def _check_band(y: ArrayLike, z: ArrayLike | None, flags: set[str]) -> None:
52
+ if z is None:
53
+ raise ValueError("kind 'band' needs z: the half-width of the band (y - z to y + z)")
54
+
55
+
56
+ @kind("band", check=_check_band)
57
+ def band(ax: Axes, x: ArrayLike, y: ArrayLike, z: ArrayLike, flags: set[str]) -> None:
58
+ """y line with a y ± z band."""
59
+ mid, half = np.asarray(y, dtype=float), np.asarray(z, dtype=float)
60
+ ln, = ax.plot(x, mid, label=label(y, "y"))
61
+ ax.fill_between(x, mid - half, mid + half, color=ln.get_color(), alpha=0.25,
62
+ linewidth=0, label=f"± {label(z, 'z')}")
63
+
64
+
65
+ @kind("scatter")
66
+ def scatter(ax: Axes, x: ArrayLike, y: ArrayLike, z: ArrayLike | None, flags: set[str]) -> None:
67
+ """y against x; z becomes a colorbar (numbers) or a legend (categories)."""
68
+ size = 0.5 * plt.rcParams["lines.markersize"] ** 2
69
+ cats = None if z is None else categories(z)
70
+ if cats is None:
71
+ sc = ax.scatter(x, y, c=z, s=size)
72
+ if z is not None:
73
+ ax.figure.colorbar(sc, ax=ax, label=label(z, "z"))
74
+ else:
75
+ xs, ys, zs = np.asarray(x), np.asarray(y), np.asarray(z, dtype=object)
76
+ for c in cats:
77
+ m = zs == c
78
+ ax.scatter(xs[m], ys[m], s=size, label=str(c))
79
+ ax.legend(title=label(z, "z"))
80
+
81
+
82
+ @kind("bar")
83
+ def bar(ax: Axes, x: ArrayLike, y: ArrayLike, z: ArrayLike | None, flags: set[str]) -> None:
84
+ """y and z grouped, x = category labels."""
85
+ w = 0.4
86
+ idx = np.arange(len(x))
87
+ if z is None:
88
+ ax.bar(idx, y, 2 * w, label=label(y, "y"))
89
+ else:
90
+ ax.bar(idx - w / 2, y, w, label=label(y, "y"))
91
+ ax.bar(idx + w / 2, z, w, label=label(z, "z"))
92
+ ax.set_xticks(idx, [str(v) for v in x])
kx/kinds/dist.py ADDED
@@ -0,0 +1,14 @@
1
+ """Distribution kinds."""
2
+ from matplotlib.axes import Axes
3
+ from numpy.typing import ArrayLike
4
+
5
+ from .._spec import kind
6
+ from .._util import label
7
+
8
+
9
+ @kind("hist", needs_y=False)
10
+ def hist(ax: Axes, x: ArrayLike, y: ArrayLike | None, z: ArrayLike | None, flags: set[str]) -> None:
11
+ """Up to three overlaid distributions: x, y and z."""
12
+ for arr, n in zip((x, y, z), "xyz", strict=True):
13
+ if arr is not None:
14
+ ax.hist(arr, bins=30, alpha=0.6, label=label(arr, n))
@@ -0,0 +1,21 @@
1
+ figure.facecolor: 111418
2
+ axes.facecolor: 111418
3
+ savefig.facecolor: 111418
4
+ text.color: E6E6E6
5
+ axes.labelcolor: E6E6E6
6
+ xtick.color: B8B8B8
7
+ ytick.color: B8B8B8
8
+ axes.edgecolor: 444A52
9
+ grid.color: 2A2F36
10
+ grid.linestyle: -
11
+ axes.grid: False
12
+ axes.spines.top: False
13
+ axes.spines.right: False
14
+ axes.prop_cycle: cycler('color', ['4C9BE8', 'F2A541', '5CC8A1', 'E26A6A', 'B58AE0'])
15
+ figure.figsize: 8, 4.5
16
+ figure.dpi: 110
17
+ font.size: 11
18
+ axes.titlesize: 13
19
+ axes.titleweight: bold
20
+ legend.frameon: False
21
+ lines.linewidth: 2