Skip to content

Commit 718edaa

Browse files
committed
TST
1 parent 8d04411 commit 718edaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/_compress_layout.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def compress_layout(fig, *, bboxes=None, w_pad=0.05, h_pad=0.05,
118118
# shrink to make same size as active...
119119
posac = ax.get_position(original=False)
120120
dx = ((1 - cba._colorbar_info['shrink']) *
121-
(posac.x1 posac.x0) / 2)
121+
(posac.x1 - posac.x0) / 2)
122122
pos.x0 = posac.x0 + dx
123123
pos.x1 = posac.x1 - dx
124124
else:

0 commit comments

Comments
 (0)