@@ -260,8 +260,8 @@ def __init__(self, parent, userax=True):
260
260
self .outer_ax .tick_params = self .inner_ax .tick_params
261
261
self .outer_ax .set_xticks = self .inner_ax .set_xticks
262
262
self .outer_ax .set_yticks = self .inner_ax .set_yticks
263
- for attr in ["get_position" , "set_aspect" ,
264
- "_remove_method" , "_set_position" ,
263
+ for attr in ["get_position" , "set_aspect" ,
264
+ "_remove_method" , "_set_position" ,
265
265
"set_position" ]:
266
266
setattr (self , attr , getattr (self .outer_ax , attr ))
267
267
self ._colorbar_info = None # used for mpl-created axes
@@ -285,7 +285,6 @@ def draw(self, renderer):
285
285
self .outer_ax .draw (renderer )
286
286
287
287
288
-
289
288
class _ColorbarSpine (mspines .Spine ):
290
289
def __init__ (self , axes ):
291
290
self ._ax = axes
@@ -961,7 +960,7 @@ def set_alpha(self, alpha):
961
960
def remove (self ):
962
961
"""
963
962
Remove this colorbar from the figure.
964
-
963
+
965
964
If the colorbar was created with ``use_gridspec=True`` the previous
966
965
gridspec is restored.
967
966
"""
0 commit comments