batplot 1.8.10__tar.gz → 1.8.11__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.
- {batplot-1.8.10/batplot.egg-info → batplot-1.8.11}/PKG-INFO +1 -1
- {batplot-1.8.10 → batplot-1.8.11}/batplot/__init__.py +1 -1
- {batplot-1.8.10 → batplot-1.8.11}/batplot/interactive.py +12 -15
- {batplot-1.8.10 → batplot-1.8.11/batplot.egg-info}/PKG-INFO +1 -1
- {batplot-1.8.10 → batplot-1.8.11}/pyproject.toml +1 -1
- {batplot-1.8.10 → batplot-1.8.11}/LICENSE +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/MANIFEST.in +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/README.md +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/USER_MANUAL.md +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot/args.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot/batch.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot/batplot.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot/cif.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot/cli.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot/color_utils.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot/config.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot/converters.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot/cpc_interactive.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot/data/USER_MANUAL.md +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot/electrochem_interactive.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot/manual.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot/modes.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot/operando.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot/operando_ec_interactive.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot/plotting.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot/readers.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot/session.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot/style.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot/ui.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot/utils.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot/version_check.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot.egg-info/SOURCES.txt +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot.egg-info/dependency_links.txt +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot.egg-info/entry_points.txt +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot.egg-info/requires.txt +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot.egg-info/top_level.txt +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251121_223043/__init__.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251121_223043/args.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251121_223043/batch.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251121_223043/batplot.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251121_223043/cif.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251121_223043/cli.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251121_223043/color_utils.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251121_223043/config.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251121_223043/converters.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251121_223043/cpc_interactive.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251121_223043/electrochem_interactive.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251121_223043/interactive.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251121_223043/modes.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251121_223043/operando.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251121_223043/operando_ec_interactive.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251121_223043/plotting.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251121_223043/readers.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251121_223043/session.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251121_223043/style.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251121_223043/ui.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251121_223043/utils.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251121_223043/version_check.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251221_101150/__init__.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251221_101150/args.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251221_101150/batch.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251221_101150/batplot.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251221_101150/cif.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251221_101150/cli.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251221_101150/color_utils.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251221_101150/config.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251221_101150/converters.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251221_101150/cpc_interactive.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251221_101150/electrochem_interactive.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251221_101150/interactive.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251221_101150/manual.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251221_101150/modes.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251221_101150/operando.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251221_101150/operando_ec_interactive.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251221_101150/plotting.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251221_101150/readers.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251221_101150/session.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251221_101150/style.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251221_101150/ui.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251221_101150/utils.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/batplot_backup_20251221_101150/version_check.py +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/setup.cfg +0 -0
- {batplot-1.8.10 → batplot-1.8.11}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: batplot
|
|
3
|
-
Version: 1.8.
|
|
3
|
+
Version: 1.8.11
|
|
4
4
|
Summary: Interactive plotting tool for material science (1D plot) and electrochemistry (GC, CV, dQ/dV, CPC, operando) with batch processing
|
|
5
5
|
Author-email: Tian Dai <tianda@uio.no>
|
|
6
6
|
License: MIT License
|
|
@@ -1590,6 +1590,12 @@ def interactive_menu(fig, ax, y_data_list, x_data_list, labels, orig_y,
|
|
|
1590
1590
|
plt.rcParams['font.size'] = snap["font_size"]
|
|
1591
1591
|
except Exception:
|
|
1592
1592
|
pass
|
|
1593
|
+
# Apply restored font settings to all existing text objects
|
|
1594
|
+
# This ensures labels, tick labels, etc. update to match restored font size/family
|
|
1595
|
+
try:
|
|
1596
|
+
sync_fonts()
|
|
1597
|
+
except Exception:
|
|
1598
|
+
pass
|
|
1593
1599
|
|
|
1594
1600
|
# Figure size & dpi
|
|
1595
1601
|
if snap.get("fig_size") and isinstance(snap["fig_size"], (list, tuple)) and len(snap["fig_size"])==2:
|
|
@@ -1813,22 +1819,13 @@ def interactive_menu(fig, ax, y_data_list, x_data_list, labels, orig_y,
|
|
|
1813
1819
|
except Exception:
|
|
1814
1820
|
pass
|
|
1815
1821
|
|
|
1816
|
-
#
|
|
1817
|
-
#
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
orig_y.append(np.array([]))
|
|
1821
|
-
while len(y_data_list) < max_len:
|
|
1822
|
-
y_data_list.append(np.array([]))
|
|
1823
|
-
while len(offsets_list) < max_len:
|
|
1824
|
-
offsets_list.append(0.0)
|
|
1825
|
-
for i in range(len(orig_y)):
|
|
1826
|
-
if i < len(offsets_list):
|
|
1827
|
-
y_data_list[i] = orig_y[i] + offsets_list[i]
|
|
1828
|
-
else:
|
|
1829
|
-
y_data_list[i] = orig_y[i].copy() if orig_y[i].size > 0 else np.array([])
|
|
1822
|
+
# DON'T recalculate y_data_list - trust the snapshotted data to avoid offset drift
|
|
1823
|
+
# The snapshot already captured the correct y_data_list with offsets applied.
|
|
1824
|
+
# Recalculating from orig_y + offsets_list can introduce floating-point errors
|
|
1825
|
+
# or inconsistencies if the data underwent transformations (normalize, etc.)
|
|
1830
1826
|
|
|
1831
|
-
# Update line data with restored values
|
|
1827
|
+
# Update line data with restored values from snapshot
|
|
1828
|
+
# This ensures line visual data matches the snapshotted data lists exactly
|
|
1832
1829
|
for i in range(min(len(ax.lines), len(x_data_list), len(y_data_list))):
|
|
1833
1830
|
try:
|
|
1834
1831
|
ax.lines[i].set_data(x_data_list[i], y_data_list[i])
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: batplot
|
|
3
|
-
Version: 1.8.
|
|
3
|
+
Version: 1.8.11
|
|
4
4
|
Summary: Interactive plotting tool for material science (1D plot) and electrochemistry (GC, CV, dQ/dV, CPC, operando) with batch processing
|
|
5
5
|
Author-email: Tian Dai <tianda@uio.no>
|
|
6
6
|
License: MIT License
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "batplot"
|
|
7
|
-
version = "1.8.
|
|
7
|
+
version = "1.8.11"
|
|
8
8
|
description = "Interactive plotting tool for material science (1D plot) and electrochemistry (GC, CV, dQ/dV, CPC, operando) with batch processing"
|
|
9
9
|
authors = [
|
|
10
10
|
{ name = "Tian Dai", email = "tianda@uio.no" }
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|