Skip to content

Commit 0ea50bb

Browse files
committed
PEP8 indentation fixes
1 parent 3479b90 commit 0ea50bb

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

lib/mpl_toolkits/axes_grid1/axes_grid.py

+26-26
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,7 @@ def _update_locators(self):
813813
F.subplots_adjust(left=0.15, right=0.9)
814814

815815
grid = Grid(F, 111, # similar to subplot(111)
816-
nrows_ncols = (2, 2),
816+
nrows_ncols=(2, 2),
817817
direction="row",
818818
axes_pad = 0.05,
819819
add_all=True,
@@ -829,12 +829,12 @@ def _update_locators(self):
829829
F.subplots_adjust(left=0.05, right=0.98)
830830

831831
grid = ImageGrid(F, 131, # similar to subplot(111)
832-
nrows_ncols=(2, 2),
833-
direction="row",
834-
axes_pad = 0.05,
835-
add_all=True,
836-
label_mode = "1",
837-
)
832+
nrows_ncols=(2, 2),
833+
direction="row",
834+
axes_pad = 0.05,
835+
add_all=True,
836+
label_mode = "1",
837+
)
838838

839839
Z, extent = get_demo_image()
840840
plt.ioff()
@@ -848,14 +848,14 @@ def _update_locators(self):
848848
plt.ion()
849849

850850
grid = ImageGrid(F, 132, # similar to subplot(111)
851-
nrows_ncols=(2, 2),
852-
direction="row",
853-
axes_pad = 0.0,
854-
add_all=True,
855-
share_all=True,
856-
label_mode = "1",
857-
cbar_mode="single",
858-
)
851+
nrows_ncols=(2, 2),
852+
direction="row",
853+
axes_pad = 0.0,
854+
add_all=True,
855+
share_all=True,
856+
label_mode = "1",
857+
cbar_mode="single",
858+
)
859859

860860
Z, extent = get_demo_image()
861861
plt.ioff()
@@ -871,17 +871,17 @@ def _update_locators(self):
871871
plt.ion()
872872

873873
grid = ImageGrid(F, 133, # similar to subplot(122)
874-
nrows_ncols=(2, 2),
875-
direction="row",
876-
axes_pad = 0.1,
877-
add_all=True,
878-
label_mode = "1",
879-
share_all = True,
880-
cbar_location="top",
881-
cbar_mode="each",
882-
cbar_size="7%",
883-
cbar_pad="2%",
884-
)
874+
nrows_ncols=(2, 2),
875+
direction="row",
876+
axes_pad = 0.1,
877+
add_all=True,
878+
label_mode = "1",
879+
share_all = True,
880+
cbar_location="top",
881+
cbar_mode="each",
882+
cbar_size="7%",
883+
cbar_pad="2%",
884+
)
885885
plt.ioff()
886886
for i in range(4):
887887
im = grid[i].imshow(Z, extent=extent, interpolation="nearest")

0 commit comments

Comments
 (0)