Skip to content

Commit c7662d5

Browse files
committed
FIX: fixed warning when using Array.plot(tight_layout=True)
1 parent b4678e0 commit c7662d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

larray/core/plot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def __call__(self, x=None, y=None, ax=None, subplots=False, layout=None, figsize
157157

158158
subplot_axes, series_axes, x, y = PlotObject._handle_x_y_axes(array.axes, x, y, subplots)
159159

160-
if constrained_layout is None:
160+
if constrained_layout is None and tight_layout is None:
161161
constrained_layout = True
162162

163163
if subplots:

0 commit comments

Comments
 (0)