File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1650,7 +1650,7 @@ def cycle_changer(
1650
1650
# Add colorbar and/or legend
1651
1651
if colorbar :
1652
1652
# Add handles
1653
- loc = self ._loc_translate (colorbar )
1653
+ loc = self ._loc_translate (colorbar , rc [ 'colorbar.loc' ] )
1654
1654
if not isinstance (loc , str ):
1655
1655
raise ValueError (
1656
1656
f'Invalid on-the-fly location { loc !r} . '
@@ -1667,7 +1667,7 @@ def cycle_changer(
1667
1667
self ._auto_colorbar [loc ][1 ].update (colorbar_kw )
1668
1668
if legend :
1669
1669
# Add handles
1670
- loc = self ._loc_translate (legend )
1670
+ loc = self ._loc_translate (legend , rc [ 'legend.loc' ] )
1671
1671
if not isinstance (loc , str ):
1672
1672
raise ValueError (
1673
1673
f'Invalid on-the-fly location { loc !r} . '
@@ -2144,7 +2144,7 @@ def cmap_changer(
2144
2144
2145
2145
# Add colorbar
2146
2146
if colorbar :
2147
- loc = self ._loc_translate (colorbar )
2147
+ loc = self ._loc_translate (colorbar , rc [ 'colorbar.loc' ] )
2148
2148
if not isinstance (loc , str ):
2149
2149
raise ValueError (
2150
2150
f'Invalid on-the-fly location { loc !r} . '
You can’t perform that action at this time.
0 commit comments