Skip to content

Enable gridspec methods #321

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions ultraplot/gridspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down