Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf084fcb

Browse files
committed
Flake8
1 parenteb879a9 commitf084fcb

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-
forattrin ["get_position","set_aspect",
264-
"_remove_method","_set_position",
263+
forattrin ["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
defremove(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)

[8]ページ先頭

©2009-2025 Movatter.jp