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

Skip to content

Commit f084fcb

Browse files
committed
Flake8
1 parent eb879a9 commit f084fcb

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

lib/matplotlib/colorbar.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,8 @@ def __init__(self, parent, userax=True):
260260
self.outer_ax.tick_params = self.inner_ax.tick_params
261261
self.outer_ax.set_xticks = self.inner_ax.set_xticks
262262
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",
265265
"set_position"]:
266266
setattr(self, attr, getattr(self.outer_ax, attr))
267267
self._colorbar_info = None # used for mpl-created axes
@@ -285,7 +285,6 @@ def draw(self, renderer):
285285
self.outer_ax.draw(renderer)
286286

287287

288-
289288
class _ColorbarSpine(mspines.Spine):
290289
def __init__(self, axes):
291290
self._ax = axes
@@ -961,7 +960,7 @@ def set_alpha(self, alpha):
961960
def remove(self):
962961
"""
963962
Remove this colorbar from the figure.
964-
963+
965964
If the colorbar was created with ``use_gridspec=True`` the previous
966965
gridspec is restored.
967966
"""

0 commit comments

Comments
 (0)