Skip to content

Commit d9daab3

Browse files
committed
FIX
1 parent 31c76e2 commit d9daab3

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

lib/matplotlib/colorbar.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1476,15 +1476,15 @@ def make_axes(parents, location=None, orientation=None, fraction=0.15,
14761476
for a in parents:
14771477
# tell the parent it has a colorbar
14781478
a._colorbars += [cax]
1479-
cax._colorbar_info = {}
1480-
cax._colorbar_info['location'] = location
1481-
cax._colorbar_info['parents'] = parents
1482-
cax._colorbar_info['shrink'] = shrink
1483-
cax._colorbar_info['anchor'] = anchor
1484-
cax._colorbar_info['panchor'] = parent_anchor
1485-
cax._colorbar_info['fraction'] = fraction
1486-
cax._colorbar_info['aspect'] = aspect
1487-
cax._colorbar_info['pad'] = pad
1479+
cax._colorbar_info = {}
1480+
cax._colorbar_info['location'] = location
1481+
cax._colorbar_info['parents'] = parents
1482+
cax._colorbar_info['shrink'] = shrink
1483+
cax._colorbar_info['anchor'] = anchor
1484+
cax._colorbar_info['panchor'] = parent_anchor
1485+
cax._colorbar_info['fraction'] = fraction
1486+
cax._colorbar_info['aspect'] = aspect
1487+
cax._colorbar_info['pad'] = pad
14881488
# and we need to set the aspect ratio by hand...
14891489
cax.set_aspect(aspect, anchor=anchor, adjustable='box')
14901490

0 commit comments

Comments
 (0)