scistackplotdb 0.4.3__tar.gz → 0.4.4__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: scistackplotdb
3
- Version: 0.4.3
3
+ Version: 0.4.4
4
4
  Summary: scidb-backed plotting: load variables into long tables and plot them with scistackplot
5
5
  Author: SciStack Contributors
6
6
  License-Expression: MIT
@@ -17,11 +17,11 @@ Classifier: Programming Language :: Python :: 3.13
17
17
  Classifier: Topic :: Scientific/Engineering :: Visualization
18
18
  Classifier: Typing :: Typed
19
19
  Requires-Python: >=3.10
20
- Requires-Dist: sciduckdb==0.4.3
21
- Requires-Dist: scifor==0.4.3
22
- Requires-Dist: scistack-db==0.4.3
23
- Requires-Dist: scistacklog==0.4.3
24
- Requires-Dist: scistackplot==0.4.3
20
+ Requires-Dist: sciduckdb==0.4.4
21
+ Requires-Dist: scifor==0.4.4
22
+ Requires-Dist: scistack-db==0.4.4
23
+ Requires-Dist: scistacklog==0.4.4
24
+ Requires-Dist: scistackplot==0.4.4
25
25
  Provides-Extra: dev
26
26
  Requires-Dist: matplotlib>=3.6; extra == 'dev'
27
27
  Requires-Dist: pytest-cov>=4.0; extra == 'dev'
@@ -48,3 +48,13 @@ class PlotsSection:
48
48
  report[store.table] = store.load_rows(ctx.db, rows)
49
49
  Log.info("[bundle_section] plots import: %s", report, layer=LAYER)
50
50
  return report
51
+
52
+ def rename_keys(self, ctx) -> dict:
53
+ """The project's own keys changed (``scidb.project.key_rename``):
54
+ every saved plot and preset renamed in place."""
55
+ report = {
56
+ store.table: store.remap_in_place(ctx.db, ctx.key_map, ctx.map_report)
57
+ for store in _STORES.values()
58
+ }
59
+ Log.info("[bundle_section] plots rename_keys: %s", report, layer=LAYER)
60
+ return report
File without changes