X Tutup
Skip to content
Merged
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
2 changes: 1 addition & 1 deletion lib/matplotlib/axes/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2250,7 +2250,7 @@ def handle_single_axis(scale, autoscaleon, shared_axes, interval,
x0, x1 = mtransforms.nonsingular(
x0, x1, increasing=False, expander=0.05)

if (margin > 0 and do_lower_margin or do_upper_margin):
if margin > 0 and (do_lower_margin or do_upper_margin):
if axis.get_scale() == 'linear':
delta = (x1 - x0) * margin
if do_lower_margin:
Expand Down
X Tutup