jarvisplot 1.3.7__tar.gz → 1.3.9__tar.gz

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.
Files changed (80) hide show
  1. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/JarvisPLOT.egg-info/PKG-INFO +25 -1
  2. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/JarvisPLOT.egg-info/SOURCES.txt +2 -0
  3. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/PKG-INFO +25 -1
  4. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/README.md +24 -0
  5. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/Figure/config_runtime.py +2 -0
  6. jarvisplot-1.3.9/jarvisplot/Figure/dynesty_runtime.py +587 -0
  7. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/Figure/figure.py +111 -9
  8. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/Figure/layer_runtime.py +11 -0
  9. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/Figure/method_registry.py +1 -0
  10. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/Figure/style_runtime.py +15 -8
  11. jarvisplot-1.3.9/jarvisplot/cards/a4paper/2x1/dynesty_runplot.json +165 -0
  12. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/cards/style_preference.json +2 -1
  13. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/pyproject.toml +1 -1
  14. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/tests/test_figure_contracts.py +142 -0
  15. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/JarvisPLOT.egg-info/dependency_links.txt +0 -0
  16. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/JarvisPLOT.egg-info/entry_points.txt +0 -0
  17. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/JarvisPLOT.egg-info/requires.txt +0 -0
  18. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/JarvisPLOT.egg-info/top_level.txt +0 -0
  19. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/Figure/__init__.py +0 -0
  20. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/Figure/adapters_rect.py +0 -0
  21. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/Figure/adapters_ternary.py +0 -0
  22. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/Figure/cards/std_axes_adapter_config.json +0 -0
  23. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/Figure/colorbar_runtime.py +0 -0
  24. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/Figure/data_pipelines.py +0 -0
  25. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/Figure/helper.py +0 -0
  26. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/Figure/interp_natural_neighbor.py +0 -0
  27. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/Figure/interp_natural_neighbor_exact.py +0 -0
  28. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/Figure/layout_runtime.py +0 -0
  29. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/Figure/preprocessor.py +0 -0
  30. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/Figure/preprocessor_runtime.py +0 -0
  31. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/Figure/profile_runtime.py +0 -0
  32. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/__init__.py +0 -0
  33. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/cache_store.py +0 -0
  34. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/cards/a4paper/1x1/ternary.json +0 -0
  35. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/cards/a4paper/2x1/rect.json +0 -0
  36. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/cards/a4paper/2x1/rect5x1.json +0 -0
  37. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/cards/a4paper/2x1/rect_cmap.json +0 -0
  38. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/cards/a4paper/2x1/ternary.json +0 -0
  39. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/cards/a4paper/2x1/ternary_cmap.json +0 -0
  40. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/cards/a4paper/4x1/rect.json +0 -0
  41. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/cards/a4paper/4x1/rect_cmap.json +0 -0
  42. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/cards/a4paper/4x1/ternary.json +0 -0
  43. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/cards/a4paper/4x1/ternary_cmap.json +0 -0
  44. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/cards/args.json +0 -0
  45. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/cards/colors/colormaps.json +0 -0
  46. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/cards/default/output.json +0 -0
  47. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/cards/gambit/1x1/ternary.json +0 -0
  48. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/cards/gambit/2x1/rect_cmap.json +0 -0
  49. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/cards/gambit/2x1/ternary.json +0 -0
  50. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/cards/gambit/2x1/ternary_cmap.json +0 -0
  51. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/cards/icons/JarvisHEP.png +0 -0
  52. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/cards/icons/gambit.png +0 -0
  53. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/cards/icons/gambit_small.png +0 -0
  54. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/cli.py +0 -0
  55. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/client.py +0 -0
  56. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/config.py +0 -0
  57. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/core.py +0 -0
  58. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/core_assets.py +0 -0
  59. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/core_runtime.py +0 -0
  60. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/data_loader.py +0 -0
  61. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/data_loader_hdf5.py +0 -0
  62. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/data_loader_runtime.py +0 -0
  63. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/data_loader_summary.py +0 -0
  64. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/inner_func.py +0 -0
  65. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/memtrace.py +0 -0
  66. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/utils/__init__.py +0 -0
  67. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/utils/cmaps.py +0 -0
  68. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/utils/dataframes.py +0 -0
  69. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/utils/expression.py +0 -0
  70. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/utils/interpolator.py +0 -0
  71. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/jarvisplot/utils/pathing.py +0 -0
  72. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/setup.cfg +0 -0
  73. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/tests/test_data_loader_contracts.py +0 -0
  74. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/tests/test_docs_status_labels.py +0 -0
  75. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/tests/test_interp_natural_neighbor.py +0 -0
  76. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/tests/test_interpolator_contracts.py +0 -0
  77. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/tests/test_jpcontour_methods.py +0 -0
  78. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/tests/test_parse_data_metadata.py +0 -0
  79. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/tests/test_pathing_contracts.py +0 -0
  80. {jarvisplot-1.3.7 → jarvisplot-1.3.9}/tests/test_template_json.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: JarvisPLOT
3
- Version: 1.3.7
3
+ Version: 1.3.9
4
4
  Summary: Jarvis-PLOT: YAML-driven plotting engine
5
5
  Requires-Python: >=3.10
6
6
  Description-Content-Type: text/markdown
@@ -88,12 +88,36 @@ jplot ./bin/SUSYRun2_GEWMSSM.yaml
88
88
 
89
89
  > **Note:** The data file paths inside the YAML files must be updated to match your local setup.
90
90
 
91
+ ### Example: Dynesty Runplot
92
+
93
+ Jarvis-PLOT includes a reusable dynesty runplot format. With a dataset named
94
+ `dynesty`, the figure can use the built-in card without writing axes or layer
95
+ details:
96
+
97
+ ```yaml
98
+ DataSet:
99
+ - name: dynesty
100
+ path: path/to/dynesty_result.csv
101
+ type: csv
102
+
103
+ Figures:
104
+ - name: dynesty_logL_vs_logX
105
+ enable: true
106
+ style:
107
+ - a4paper_2x1
108
+ - dynesty_runplot
109
+ ```
110
+
111
+ See `docs/specs/DYNESTY_RUNPLOT.md` for the default axes, KDE, scatter overlay,
112
+ and evidence summary behavior.
113
+
91
114
  ---
92
115
 
93
116
  ## Notes
94
117
 
95
118
  - Figures are saved automatically to the output paths defined in the YAML configuration.
96
119
  - Common output formats include PNG and PDF (backend-dependent).
120
+ - Saved figures include file metadata such as `Creator: Jarvis-PLOT, powered by Jarvis-HEP` and `Jarvis-PLOT version: X.Y.Z`; the PNG `Description` also includes both fields for macOS Finder compatibility.
97
121
  - Jarvis-PLOT works in headless environments (SSH, batch jobs) without any GUI backend.
98
122
 
99
123
  ---
@@ -26,6 +26,7 @@ jarvisplot/Figure/adapters_ternary.py
26
26
  jarvisplot/Figure/colorbar_runtime.py
27
27
  jarvisplot/Figure/config_runtime.py
28
28
  jarvisplot/Figure/data_pipelines.py
29
+ jarvisplot/Figure/dynesty_runtime.py
29
30
  jarvisplot/Figure/figure.py
30
31
  jarvisplot/Figure/helper.py
31
32
  jarvisplot/Figure/interp_natural_neighbor.py
@@ -41,6 +42,7 @@ jarvisplot/Figure/cards/std_axes_adapter_config.json
41
42
  jarvisplot/cards/args.json
42
43
  jarvisplot/cards/style_preference.json
43
44
  jarvisplot/cards/a4paper/1x1/ternary.json
45
+ jarvisplot/cards/a4paper/2x1/dynesty_runplot.json
44
46
  jarvisplot/cards/a4paper/2x1/rect.json
45
47
  jarvisplot/cards/a4paper/2x1/rect5x1.json
46
48
  jarvisplot/cards/a4paper/2x1/rect_cmap.json
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: JarvisPLOT
3
- Version: 1.3.7
3
+ Version: 1.3.9
4
4
  Summary: Jarvis-PLOT: YAML-driven plotting engine
5
5
  Requires-Python: >=3.10
6
6
  Description-Content-Type: text/markdown
@@ -88,12 +88,36 @@ jplot ./bin/SUSYRun2_GEWMSSM.yaml
88
88
 
89
89
  > **Note:** The data file paths inside the YAML files must be updated to match your local setup.
90
90
 
91
+ ### Example: Dynesty Runplot
92
+
93
+ Jarvis-PLOT includes a reusable dynesty runplot format. With a dataset named
94
+ `dynesty`, the figure can use the built-in card without writing axes or layer
95
+ details:
96
+
97
+ ```yaml
98
+ DataSet:
99
+ - name: dynesty
100
+ path: path/to/dynesty_result.csv
101
+ type: csv
102
+
103
+ Figures:
104
+ - name: dynesty_logL_vs_logX
105
+ enable: true
106
+ style:
107
+ - a4paper_2x1
108
+ - dynesty_runplot
109
+ ```
110
+
111
+ See `docs/specs/DYNESTY_RUNPLOT.md` for the default axes, KDE, scatter overlay,
112
+ and evidence summary behavior.
113
+
91
114
  ---
92
115
 
93
116
  ## Notes
94
117
 
95
118
  - Figures are saved automatically to the output paths defined in the YAML configuration.
96
119
  - Common output formats include PNG and PDF (backend-dependent).
120
+ - Saved figures include file metadata such as `Creator: Jarvis-PLOT, powered by Jarvis-HEP` and `Jarvis-PLOT version: X.Y.Z`; the PNG `Description` also includes both fields for macOS Finder compatibility.
97
121
  - Jarvis-PLOT works in headless environments (SSH, batch jobs) without any GUI backend.
98
122
 
99
123
  ---
@@ -68,12 +68,36 @@ jplot ./bin/SUSYRun2_GEWMSSM.yaml
68
68
 
69
69
  > **Note:** The data file paths inside the YAML files must be updated to match your local setup.
70
70
 
71
+ ### Example: Dynesty Runplot
72
+
73
+ Jarvis-PLOT includes a reusable dynesty runplot format. With a dataset named
74
+ `dynesty`, the figure can use the built-in card without writing axes or layer
75
+ details:
76
+
77
+ ```yaml
78
+ DataSet:
79
+ - name: dynesty
80
+ path: path/to/dynesty_result.csv
81
+ type: csv
82
+
83
+ Figures:
84
+ - name: dynesty_logL_vs_logX
85
+ enable: true
86
+ style:
87
+ - a4paper_2x1
88
+ - dynesty_runplot
89
+ ```
90
+
91
+ See `docs/specs/DYNESTY_RUNPLOT.md` for the default axes, KDE, scatter overlay,
92
+ and evidence summary behavior.
93
+
71
94
  ---
72
95
 
73
96
  ## Notes
74
97
 
75
98
  - Figures are saved automatically to the output paths defined in the YAML configuration.
76
99
  - Common output formats include PNG and PDF (backend-dependent).
100
+ - Saved figures include file metadata such as `Creator: Jarvis-PLOT, powered by Jarvis-HEP` and `Jarvis-PLOT version: X.Y.Z`; the PNG `Description` also includes both fields for macOS Finder compatibility.
77
101
  - Jarvis-PLOT works in headless environments (SSH, batch jobs) without any GUI backend.
78
102
 
79
103
  ---
@@ -68,6 +68,8 @@ def apply_figure_config(fig, info: Mapping) -> bool:
68
68
 
69
69
  if "layers" in info:
70
70
  fig.layers = info["layers"]
71
+ elif getattr(fig, "_default_layers", None):
72
+ fig.layers = fig._default_layers
71
73
 
72
74
  fig._setup_status = "ok"
73
75
  return True