Skip to content

Commit d9e62c5

Browse files
committed
Fix issue where equal cannot be passed to Figure
1 parent e436e5a commit d9e62c5

1 file changed

Lines changed: 6 additions & 13 deletions

File tree

proplot/figure.py

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,7 @@ def __init__(
525525
wspace=None, hspace=None, space=None,
526526
tight=None, outerpad=None, innerpad=None, panelpad=None,
527527
wpad=None, hpad=None, pad=None,
528+
wequal=None, hequal=None, equal=None,
528529
**kwargs
529530
):
530531
"""
@@ -618,19 +619,11 @@ def __init__(
618619
# 'subplots_adjust' would be confusing since we switch to absolute
619620
# units and that function is heavily used outside of proplot.
620621
params = {
621-
'left': left,
622-
'right': right,
623-
'top': top,
624-
'bottom': bottom,
625-
'wspace': wspace,
626-
'hspace': hspace,
627-
'space': space,
628-
'wpad': wpad,
629-
'hpad': hpad,
630-
'pad': pad,
631-
'outerpad': outerpad,
632-
'innerpad': innerpad,
633-
'panelpad': panelpad,
622+
'left': left, 'right': right, 'top': top, 'bottom': bottom,
623+
'wspace': wspace, 'hspace': hspace, 'space': space,
624+
'wequal': wequal, 'hequal': hequal, 'equal': equal,
625+
'wpad': wpad, 'hpad': hpad, 'pad': pad,
626+
'outerpad': outerpad, 'innerpad': innerpad, 'panelpad': panelpad,
634627
}
635628
self._gridspec_params = params # used to initialize the gridspec
636629
for key, value in tuple(params.items()):

0 commit comments

Comments
 (0)