You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wire mat_plot font sizes and figsize from visualize/general.yaml
Previously the plot functions used hardcoded font sizes (title=16,
xlabel/ylabel=14, ticks=12) and conf_figsize read a non-existent path,
so config values were never applied.
- utils.py: add conf_mat_plot_fontsize() to read from
visualize/general/mat_plot/<section>/fontsize
- utils.py: add apply_labels() which calls set_title/set_xlabel/
set_ylabel/tick_params using config-driven font sizes; eliminates the
duplicated 4-line label block in every plot function
- utils.py: fix conf_figsize() to read from mat_plot/figure/figsize
(the key that actually exists in the config); add _parse_figsize()
helper to handle YAML tuple-as-string encoding "(7, 7)"
- array.py, grid.py, yx.py, inversion.py: replace hardcoded label
blocks with apply_labels()
- __init__.py: export apply_labels and conf_mat_plot_fontsize
https://claude.ai/code/session_01B9sVEV54XWCa2LJw1C8gvv
0 commit comments