From 1276fa6fa0f53524d84235f18f2bfe4cf18e9921 Mon Sep 17 00:00:00 2001 From: cvanelteren Date: Sat, 16 Aug 2025 15:19:49 +0200 Subject: [PATCH 1/2] init; check with gha --- ultraplot/gridspec.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ultraplot/gridspec.py b/ultraplot/gridspec.py index 0d642505..90eb6c17 100644 --- a/ultraplot/gridspec.py +++ b/ultraplot/gridspec.py @@ -1360,12 +1360,12 @@ def figure(self, fig): # Also delete obsolete 'subplotpars' and built-in tight layout function. tight_layout = _disable_method("tight_layout") # instead use custom tight layout subgridspec = _disable_method("subgridspec") # instead use variable spaces - get_width_ratios = _disable_method("get_width_ratios") - get_height_ratios = _disable_method("get_height_ratios") - set_width_ratios = _disable_method("set_width_ratios") - set_height_ratios = _disable_method("set_height_ratios") - get_subplot_params = _disable_method("get_subplot_params") - locally_modified_subplot_params = _disable_method("locally_modified_subplot_params") + # get_width_ratios = _disable_method("get_width_ratios") + # get_height_ratios = _disable_method("get_height_ratios") + # set_width_ratios = _disable_method("set_width_ratios") + # set_height_ratios = _disable_method("set_height_ratios") + # get_subplot_params = _disable_method("get_subplot_params") + # locally_modified_subplot_params = _disable_method("locally_modified_subplot_params") # Immutable helper properties used to calculate figure size and subplot positions # NOTE: The spaces are auto-filled with defaults wherever user left them unset From 4ba2ab8854a43f1ec6ca2af7a281c2dce8ce1216 Mon Sep 17 00:00:00 2001 From: cvanelteren Date: Sat, 16 Aug 2025 15:22:59 +0200 Subject: [PATCH 2/2] rm comments --- ultraplot/gridspec.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ultraplot/gridspec.py b/ultraplot/gridspec.py index 90eb6c17..f43b2c03 100644 --- a/ultraplot/gridspec.py +++ b/ultraplot/gridspec.py @@ -1360,12 +1360,6 @@ def figure(self, fig): # Also delete obsolete 'subplotpars' and built-in tight layout function. tight_layout = _disable_method("tight_layout") # instead use custom tight layout subgridspec = _disable_method("subgridspec") # instead use variable spaces - # get_width_ratios = _disable_method("get_width_ratios") - # get_height_ratios = _disable_method("get_height_ratios") - # set_width_ratios = _disable_method("set_width_ratios") - # set_height_ratios = _disable_method("set_height_ratios") - # get_subplot_params = _disable_method("get_subplot_params") - # locally_modified_subplot_params = _disable_method("locally_modified_subplot_params") # Immutable helper properties used to calculate figure size and subplot positions # NOTE: The spaces are auto-filled with defaults wherever user left them unset