Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4034448

Browse files
committed
FIX
1 parent 92c733f commit 4034448

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/matplotlib/colorbar.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,9 @@ def _set_inner_bounds(self, bounds):
266266
self.inner_ax._axes_locator = _TransformedBoundsLocator(
267267
bounds, self.parent_ax.transAxes)
268268

269+
def set_aspect(self, aspect, **kwargs):
270+
self.parent_ax.set_aspect(aspect, **kwarg)
271+
269272

270273
class _ColorbarSpine(mspines.Spine):
271274
def __init__(self, axes):

0 commit comments

Comments
 (0)