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

Potentially problematic release.


This version of jarvisplot might be problematic. Click here for more details.

Files changed (42) hide show
  1. jarvisplot/Figure/adapters.py +773 -0
  2. jarvisplot/Figure/cards/std_axes_adapter_config.json +23 -0
  3. jarvisplot/Figure/data_pipelines.py +87 -0
  4. jarvisplot/Figure/figure.py +1573 -0
  5. jarvisplot/Figure/helper.py +217 -0
  6. jarvisplot/Figure/load_data.py +252 -0
  7. jarvisplot/__init__.py +0 -0
  8. jarvisplot/cards/a4paper/1x1/ternary.json +6 -0
  9. jarvisplot/cards/a4paper/2x1/rect.json +106 -0
  10. jarvisplot/cards/a4paper/2x1/rect5x1.json +344 -0
  11. jarvisplot/cards/a4paper/2x1/rect_cmap.json +181 -0
  12. jarvisplot/cards/a4paper/2x1/ternary.json +139 -0
  13. jarvisplot/cards/a4paper/2x1/ternary_cmap.json +189 -0
  14. jarvisplot/cards/a4paper/4x1/rect.json +106 -0
  15. jarvisplot/cards/a4paper/4x1/rect_cmap.json +174 -0
  16. jarvisplot/cards/a4paper/4x1/ternary.json +139 -0
  17. jarvisplot/cards/a4paper/4x1/ternary_cmap.json +189 -0
  18. jarvisplot/cards/args.json +50 -0
  19. jarvisplot/cards/colors/colormaps.json +140 -0
  20. jarvisplot/cards/default/output.json +11 -0
  21. jarvisplot/cards/gambit/1x1/ternary.json +6 -0
  22. jarvisplot/cards/gambit/2x1/rect_cmap.json +200 -0
  23. jarvisplot/cards/gambit/2x1/ternary.json +139 -0
  24. jarvisplot/cards/gambit/2x1/ternary_cmap.json +205 -0
  25. jarvisplot/cards/icons/JarvisHEP.png +0 -0
  26. jarvisplot/cards/icons/gambit.png +0 -0
  27. jarvisplot/cards/icons/gambit_small.png +0 -0
  28. jarvisplot/cards/style_preference.json +23 -0
  29. jarvisplot/cli.py +64 -0
  30. jarvisplot/client.py +6 -0
  31. jarvisplot/config.py +69 -0
  32. jarvisplot/core.py +237 -0
  33. jarvisplot/data_loader.py +441 -0
  34. jarvisplot/inner_func.py +162 -0
  35. jarvisplot/utils/__init__.py +0 -0
  36. jarvisplot/utils/cmaps.py +258 -0
  37. jarvisplot/utils/interpolator.py +377 -0
  38. jarvisplot-1.0.0.dist-info/METADATA +93 -0
  39. jarvisplot-1.0.0.dist-info/RECORD +42 -0
  40. jarvisplot-1.0.0.dist-info/WHEEL +5 -0
  41. jarvisplot-1.0.0.dist-info/entry_points.txt +2 -0
  42. jarvisplot-1.0.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,344 @@
1
+ {
2
+ "Frame": {
3
+ "figure": {
4
+ "figsize": [
5
+ 3.3,
6
+ 5.5
7
+ ]
8
+ },
9
+ "axes": {
10
+ "axlogo": {
11
+ "rect": [
12
+ 0.01,
13
+ 0.006,
14
+ 0.06,
15
+ 0.036
16
+ ],
17
+ "frameon": false,
18
+ "yticks": [],
19
+ "xticks": [],
20
+ "xlim": [
21
+ 0,
22
+ 1024
23
+ ],
24
+ "ylim": [
25
+ 1024,
26
+ 0
27
+ ]
28
+ },
29
+ "ax0": { "rect": [0.195, 0.806, 0.790, 0.174] },
30
+ "ax1": { "rect": [0.195, 0.632, 0.790, 0.174] },
31
+ "ax2": { "rect": [0.195, 0.458, 0.790, 0.174] },
32
+ "ax3": { "rect": [0.195, 0.284, 0.790, 0.174] },
33
+ "ax4": { "rect": [0.195, 0.110, 0.790, 0.174] }
34
+ },
35
+ "ax0": {
36
+ "frame": {
37
+ "linewidth": 0.8,
38
+ "solid_capstyle": "projecting",
39
+ "solid_joinstyle": "miter",
40
+ "clip_on": false,
41
+ "c": "#21171A",
42
+ "zorder": 100
43
+ },
44
+ "grid": {
45
+ "sep": 0.1,
46
+ "style": {
47
+ "color": "#C2C2C269",
48
+ "linewidth": 0.3,
49
+ "linestyle": "--"
50
+ }
51
+ },
52
+ "ticks": {
53
+ "both": {
54
+ "labelsize": 6,
55
+ "direction": "in",
56
+ "labelfontfamily": "sans",
57
+ "top": true,
58
+ "left": true,
59
+ "right": true,
60
+ "bottom": true,
61
+ "which": "both"
62
+ },
63
+ "major": {
64
+ "which": "major",
65
+ "length": 4,
66
+ "width": 0.4,
67
+ "color": "black"
68
+ },
69
+ "minor": {
70
+ "which": "minor",
71
+ "length": 2,
72
+ "width": 0.4,
73
+ "color": "black"
74
+ }
75
+ },
76
+ "labels": {
77
+ "xlabel": {
78
+ "loc": "right",
79
+ "fontsize": 12,
80
+ "fontfamily": "STIXGeneral"
81
+ },
82
+ "ylabel": {
83
+ "loc": "top",
84
+ "fontsize": 12,
85
+ "fontfamily": "STIXGeneral"
86
+ }
87
+ }
88
+ },
89
+ "ax1": {
90
+ "frame": {
91
+ "linewidth": 0.8,
92
+ "solid_capstyle": "projecting",
93
+ "solid_joinstyle": "miter",
94
+ "clip_on": false,
95
+ "c": "#21171A",
96
+ "zorder": 100
97
+ },
98
+ "grid": {
99
+ "sep": 0.1,
100
+ "style": {
101
+ "color": "#C2C2C269",
102
+ "linewidth": 0.3,
103
+ "linestyle": "--"
104
+ }
105
+ },
106
+ "ticks": {
107
+ "both": {
108
+ "labelsize": 6,
109
+ "direction": "in",
110
+ "labelfontfamily": "sans",
111
+ "top": true,
112
+ "left": true,
113
+ "right": true,
114
+ "bottom": true,
115
+ "which": "both"
116
+ },
117
+ "major": {
118
+ "which": "major",
119
+ "length": 4,
120
+ "width": 0.4,
121
+ "color": "black"
122
+ },
123
+ "minor": {
124
+ "which": "minor",
125
+ "length": 2,
126
+ "width": 0.4,
127
+ "color": "black"
128
+ }
129
+ },
130
+ "labels": {
131
+ "xlabel": {
132
+ "loc": "right",
133
+ "fontsize": 12,
134
+ "fontfamily": "STIXGeneral"
135
+ },
136
+ "ylabel": {
137
+ "loc": "top",
138
+ "fontsize": 12,
139
+ "fontfamily": "STIXGeneral"
140
+ }
141
+ }
142
+ },
143
+ "ax2": {
144
+ "frame": {
145
+ "linewidth": 0.8,
146
+ "solid_capstyle": "projecting",
147
+ "solid_joinstyle": "miter",
148
+ "clip_on": false,
149
+ "c": "#21171A",
150
+ "zorder": 100
151
+ },
152
+ "grid": {
153
+ "sep": 0.1,
154
+ "style": {
155
+ "color": "#C2C2C269",
156
+ "linewidth": 0.3,
157
+ "linestyle": "--"
158
+ }
159
+ },
160
+ "ticks": {
161
+ "both": {
162
+ "labelsize": 6,
163
+ "direction": "in",
164
+ "labelfontfamily": "sans",
165
+ "top": true,
166
+ "left": true,
167
+ "right": true,
168
+ "bottom": true,
169
+ "which": "both"
170
+ },
171
+ "major": {
172
+ "which": "major",
173
+ "length": 4,
174
+ "width": 0.4,
175
+ "color": "black"
176
+ },
177
+ "minor": {
178
+ "which": "minor",
179
+ "length": 2,
180
+ "width": 0.4,
181
+ "color": "black"
182
+ }
183
+ },
184
+ "labels": {
185
+ "xlabel": {
186
+ "loc": "right",
187
+ "fontsize": 12,
188
+ "fontfamily": "STIXGeneral"
189
+ },
190
+ "ylabel": {
191
+ "loc": "top",
192
+ "fontsize": 12,
193
+ "fontfamily": "STIXGeneral"
194
+ }
195
+ }
196
+ },
197
+ "ax3": {
198
+ "frame": {
199
+ "linewidth": 0.8,
200
+ "solid_capstyle": "projecting",
201
+ "solid_joinstyle": "miter",
202
+ "clip_on": false,
203
+ "c": "#21171A",
204
+ "zorder": 100
205
+ },
206
+ "grid": {
207
+ "sep": 0.1,
208
+ "style": {
209
+ "color": "#C2C2C269",
210
+ "linewidth": 0.3,
211
+ "linestyle": "--"
212
+ }
213
+ },
214
+ "ticks": {
215
+ "both": {
216
+ "labelsize": 6,
217
+ "direction": "in",
218
+ "labelfontfamily": "sans",
219
+ "top": true,
220
+ "left": true,
221
+ "right": true,
222
+ "bottom": true,
223
+ "which": "both"
224
+ },
225
+ "major": {
226
+ "which": "major",
227
+ "length": 4,
228
+ "width": 0.4,
229
+ "color": "black"
230
+ },
231
+ "minor": {
232
+ "which": "minor",
233
+ "length": 2,
234
+ "width": 0.4,
235
+ "color": "black"
236
+ }
237
+ },
238
+ "labels": {
239
+ "xlabel": {
240
+ "loc": "right",
241
+ "fontsize": 12,
242
+ "fontfamily": "STIXGeneral"
243
+ },
244
+ "ylabel": {
245
+ "loc": "top",
246
+ "fontsize": 12,
247
+ "fontfamily": "STIXGeneral"
248
+ }
249
+ }
250
+ },
251
+ "ax4": {
252
+ "frame": {
253
+ "linewidth": 0.8,
254
+ "solid_capstyle": "projecting",
255
+ "solid_joinstyle": "miter",
256
+ "clip_on": false,
257
+ "c": "#21171A",
258
+ "zorder": 100
259
+ },
260
+ "grid": {
261
+ "sep": 0.1,
262
+ "style": {
263
+ "color": "#C2C2C269",
264
+ "linewidth": 0.3,
265
+ "linestyle": "--"
266
+ }
267
+ },
268
+ "ticks": {
269
+ "both": {
270
+ "labelsize": 6,
271
+ "direction": "in",
272
+ "labelfontfamily": "sans",
273
+ "top": true,
274
+ "left": true,
275
+ "right": true,
276
+ "bottom": true,
277
+ "which": "both"
278
+ },
279
+ "major": {
280
+ "which": "major",
281
+ "length": 4,
282
+ "width": 0.4,
283
+ "color": "black"
284
+ },
285
+ "minor": {
286
+ "which": "minor",
287
+ "length": 2,
288
+ "width": 0.4,
289
+ "color": "black"
290
+ }
291
+ },
292
+ "labels": {
293
+ "xlabel": {
294
+ "loc": "right",
295
+ "fontsize": 12,
296
+ "fontfamily": "STIXGeneral"
297
+ },
298
+ "ylabel": {
299
+ "loc": "top",
300
+ "fontsize": 12,
301
+ "fontfamily": "STIXGeneral"
302
+ }
303
+ }
304
+ },
305
+ "axlogo": {
306
+ "file": "&JP/jarvisplot/cards/icons/JarvisHEP.png",
307
+ "text": [
308
+ {
309
+ "x": 1.0,
310
+ "y": 0.0,
311
+ "s": "Jarvis-HEP",
312
+ "ha": "left",
313
+ "va": "bottom",
314
+ "fontfamily": "Fira code",
315
+ "fontsize": "x-small",
316
+ "fontstyle": "normal",
317
+ "fontweight": "bold"
318
+ },
319
+ {
320
+ "x": 1.0,
321
+ "y": 0.9,
322
+ "s": " Powered by",
323
+ "ha": "left",
324
+ "va": "top",
325
+ "color": "black",
326
+ "fontfamily": "Fira code",
327
+ "fontsize": "xx-small",
328
+ "fontstyle": "normal",
329
+ "fontweight": "normal"
330
+ }
331
+ ]
332
+ }
333
+ },
334
+ "Style": {
335
+ "scatter": {
336
+ "s": 1.0,
337
+ "marker": "^",
338
+ "linewidths": 0.02,
339
+ "alpha": 1.0,
340
+ "zorder": 30,
341
+ "edgecolor": "white"
342
+ }
343
+ }
344
+ }
@@ -0,0 +1,181 @@
1
+ {
2
+ "Frame": {
3
+ "figure": {
4
+ "figsize": [
5
+ 3.3,
6
+ 2.75
7
+ ]
8
+ },
9
+ "axes": {
10
+ "axlogo": {
11
+ "rect": [
12
+ 0.01,
13
+ 0.01,
14
+ 0.06,
15
+ 0.072
16
+ ],
17
+ "frameon": false,
18
+ "yticks": [],
19
+ "xticks": [],
20
+ "xlim": [
21
+ 0,
22
+ 1024
23
+ ],
24
+ "ylim": [
25
+ 1024,
26
+ 0
27
+ ]
28
+ },
29
+ "ax": {
30
+ "rect": [
31
+ 0.140,
32
+ 0.168,
33
+ 0.680,
34
+ 0.775
35
+ ]
36
+ },
37
+ "axc": {
38
+ "rect": [
39
+ 0.825,
40
+ 0.182,
41
+ 0.036,
42
+ 0.746
43
+ ],
44
+ "xticks": []
45
+ }
46
+ },
47
+ "ax": {
48
+ "frame": {
49
+ "linewidth": 0.8,
50
+ "solid_capstyle": "projecting",
51
+ "solid_joinstyle": "miter",
52
+ "clip_on": false,
53
+ "c": "#21171A",
54
+ "zorder": 100
55
+ },
56
+ "grid": {
57
+ "sep": 0.1,
58
+ "style": {
59
+ "color": "#C2C2C269",
60
+ "linewidth": 0.3,
61
+ "linestyle": "--"
62
+ }
63
+ },
64
+ "ticks": {
65
+ "both": {
66
+ "labelsize": 6,
67
+ "direction": "in",
68
+ "labelfontfamily": "sans",
69
+ "top": true,
70
+ "left": true,
71
+ "right": true,
72
+ "bottom": true,
73
+ "which": "both",
74
+ "zorder": 1000
75
+ },
76
+ "major": {
77
+ "which": "major",
78
+ "length": 4,
79
+ "width": 0.4,
80
+ "color": "black",
81
+ "zorder": 1000
82
+ },
83
+ "minor": {
84
+ "which": "minor",
85
+ "length": 2,
86
+ "width": 0.4,
87
+ "color": "black",
88
+ "zorder": 1000
89
+ }
90
+ },
91
+ "labels": {
92
+ "zorder": 1000,
93
+ "xlabel": {
94
+ "loc": "center",
95
+ "fontsize": 12,
96
+ "fontfamily": "STIXGeneral"
97
+ },
98
+ "ylabel": {
99
+ "loc": "center",
100
+ "fontsize": 12,
101
+ "fontfamily": "STIXGeneral"
102
+ },
103
+ "ylabel_coords": {
104
+ "x": -0.12,
105
+ "y": 0.5
106
+ }
107
+ }
108
+ },
109
+ "axlogo": {
110
+ "file": "&JP/jarvisplot/cards/icons/JarvisHEP.png",
111
+ "text": [
112
+ {
113
+ "x": 1.0,
114
+ "y": 0.0,
115
+ "s": "Jarvis-HEP",
116
+ "ha": "left",
117
+ "va": "bottom",
118
+ "fontfamily": "Fira code",
119
+ "fontsize": "x-small",
120
+ "fontstyle": "normal",
121
+ "fontweight": "bold"
122
+ },
123
+ {
124
+ "x": 1.0,
125
+ "y": 0.9,
126
+ "s": " Powered by",
127
+ "ha": "left",
128
+ "va": "top",
129
+ "color": "black",
130
+ "fontfamily": "Fira code",
131
+ "fontsize": "xx-small",
132
+ "fontstyle": "normal",
133
+ "fontweight": "normal"
134
+ }
135
+ ]
136
+ },
137
+ "axc": {
138
+ "label": {
139
+ "ylabel": "",
140
+ "loc": "center",
141
+ "fontsize": 12,
142
+ "fontfamily": "STIXGeneral"
143
+ },
144
+ "ticks": {
145
+ "ticks_position": "right",
146
+ "both": {
147
+ "labelsize": 6,
148
+ "direction": "in",
149
+ "labelfontfamily": "sans",
150
+ "top": false,
151
+ "left": false,
152
+ "right": true,
153
+ "bottom": false,
154
+ "which": "both"
155
+ },
156
+ "major": {
157
+ "which": "major",
158
+ "length": 4,
159
+ "width": 0.4,
160
+ "color": "black"
161
+ },
162
+ "minor": {
163
+ "which": "minor",
164
+ "length": 2,
165
+ "width": 0.4,
166
+ "color": "black"
167
+ }
168
+ }
169
+ }
170
+ },
171
+ "Style": {
172
+ "scatter": {
173
+ "s": 1.0,
174
+ "marker": ",",
175
+ "linewidths": 0.02,
176
+ "alpha": 1.0,
177
+ "zorder": 30,
178
+ "edgecolor": "None"
179
+ }
180
+ }
181
+ }
@@ -0,0 +1,139 @@
1
+ {
2
+ "Frame": {
3
+ "figure": {
4
+ "figsize": [
5
+ 3.3,
6
+ 2.75
7
+ ]
8
+ },
9
+ "axes": {
10
+ "axlogo": {
11
+ "rect": [
12
+ 0.01,
13
+ 0.01,
14
+ 0.06,
15
+ 0.072
16
+ ],
17
+ "frameon": false,
18
+ "yticks": [],
19
+ "xticks": [],
20
+ "xlim": [0, 1024],
21
+ "ylim": [1024, 0]
22
+ },
23
+ "axtri": {
24
+ "rect": [
25
+ 0.127,
26
+ 0.168,
27
+ 0.745,
28
+ 0.775
29
+ ],
30
+ "xlim": [
31
+ 0.0,
32
+ 1.0
33
+ ],
34
+ "ylim": [
35
+ 0.0,
36
+ 1.0
37
+ ],
38
+ "clip_on": false,
39
+ "frameon": false,
40
+ "yticks": [],
41
+ "xticks": []
42
+ }
43
+ },
44
+ "axtri":{
45
+ "frame": {
46
+ "linewidth": 0.8,
47
+ "solid_capstyle": "projecting",
48
+ "solid_joinstyle": "miter",
49
+ "clip_on": false,
50
+ "c": "#21171A",
51
+ "zorder": 100
52
+ },
53
+ "grid": {
54
+ "sep": 0.1,
55
+ "style": {
56
+ "color": "#C2C2C269",
57
+ "linewidth": 0.3,
58
+ "linestyle": "--"
59
+ }
60
+ },
61
+ "ticks": {
62
+ "majorsep": 0.1,
63
+ "minorsep": 0.025,
64
+ "majorlength": 0.02,
65
+ "minorlength": 0.008,
66
+ "majorstyle": {
67
+ "color": "#21171A",
68
+ "linestyle": "-",
69
+ "linewidth": 0.6,
70
+ "clip_on":false,
71
+ "zorder": 99
72
+ },
73
+ "bottomticklables": {
74
+ "ha": "center",
75
+ "va": "top",
76
+ "fontsize": 6,
77
+ "fontfamily": "Fira code"
78
+ },
79
+ "leftticklables": {
80
+ "ha": "center",
81
+ "va": "center",
82
+ "fontsize": 6,
83
+ "fontfamily": "Fira code"
84
+ },
85
+ "rightticklables": {
86
+ "ha": "left",
87
+ "va": "center",
88
+ "fontsize": 6,
89
+ "fontfamily": "Fira code"
90
+ },
91
+ "minorstyle": {
92
+ "color": "grey",
93
+ "linestyle": "-",
94
+ "linewidth": 0.4,
95
+ "clip_on":false,
96
+ "zorder": 98
97
+ }
98
+ },
99
+ "labels": {
100
+ "leftstyle": {
101
+ "x": 0.16,
102
+ "y": 0.56,
103
+ "rotation": 60,
104
+ "fontsize": 12,
105
+ "fontfamily": "STIXGeneral",
106
+ "ha":"center",
107
+ "va":"center"
108
+ },
109
+ "bottomstyle": {
110
+ "x": 0.5,
111
+ "y": -0.12,
112
+ "fontsize": 12,
113
+ "fontfamily": "STIXGeneral",
114
+ "ha":"center",
115
+ "va":"center"
116
+ },
117
+ "rightstyle": {
118
+ "x": 0.84,
119
+ "y": 0.56,
120
+ "rotation": -60,
121
+ "fontsize": 12,
122
+ "fontfamily": "STIXGeneral",
123
+ "ha":"center",
124
+ "va":"center"
125
+ }
126
+ }
127
+ }
128
+ },
129
+ "Style": {
130
+ "scatter": {
131
+ "s": 1.0,
132
+ "marker": "^",
133
+ "linewidths": 0.02,
134
+ "alpha": 1.0,
135
+ "zorder": 30,
136
+ "edgecolor": "white"
137
+ }
138
+ }
139
+ }