File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -1078,21 +1078,6 @@ def _add_colorbar(
1078
1078
f'Ignoring unused keyword arg(s): { pop } '
1079
1079
)
1080
1080
1081
- # Parse 'extendsize' and 'extendfrac' keywords
1082
- # TODO: Make this auto-adjust to the subplot size
1083
- vert = kwargs ['orientation' ] == 'vertical'
1084
- if extendsize is not None and extendfrac is not None :
1085
- warnings ._warn_proplot (
1086
- f'You cannot specify both an absolute extendsize={ extendsize !r} '
1087
- f"and a relative extendfrac={ extendfrac !r} . Ignoring 'extendfrac'."
1088
- )
1089
- extendfrac = None
1090
- if extendfrac is None :
1091
- width , height = cax ._get_size_inches ()
1092
- scale = height if vert else width
1093
- extendsize = units (extendsize , 'em' , 'in' )
1094
- extendfrac = extendsize / max (scale - 2 * extendsize , units (1 , 'em' , 'in' ))
1095
-
1096
1081
# Parse the tick locators and formatters
1097
1082
# NOTE: In presence of BoundaryNorm or similar handle ticks with special
1098
1083
# DiscreteLocator or else get issues (see mpl #22233).
You can’t perform that action at this time.
0 commit comments