Skip to content

Commit a1cda13

Browse files
committed
fix spaces around = in kwargs
1 parent f71c40d commit a1cda13

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

examples/axes_grid/demo_axes_grid.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ def demo_simple_grid(fig):
1818
"""
1919
grid = AxesGrid(fig, 141, # similar to subplot(141)
2020
nrows_ncols=(2, 2),
21-
axes_pad = 0.05,
22-
label_mode = "1",
21+
axes_pad=0.05,
22+
label_mode="1",
2323
)
2424

2525
Z, extent = get_demo_image()
@@ -38,10 +38,10 @@ def demo_grid_with_single_cbar(fig):
3838
"""
3939
grid = AxesGrid(fig, 142, # similar to subplot(142)
4040
nrows_ncols=(2, 2),
41-
axes_pad = 0.0,
41+
axes_pad=0.0,
4242
share_all=True,
43-
label_mode = "L",
44-
cbar_location = "top",
43+
label_mode="L",
44+
cbar_location="top",
4545
cbar_mode="single",
4646
)
4747

@@ -66,9 +66,9 @@ def demo_grid_with_each_cbar(fig):
6666

6767
grid = AxesGrid(F, 143, # similar to subplot(143)
6868
nrows_ncols=(2, 2),
69-
axes_pad = 0.1,
70-
label_mode = "1",
71-
share_all = True,
69+
axes_pad=0.1,
70+
label_mode="1",
71+
share_all=True,
7272
cbar_location="top",
7373
cbar_mode="each",
7474
cbar_size="7%",
@@ -94,9 +94,9 @@ def demo_grid_with_each_cbar_labelled(fig):
9494

9595
grid = AxesGrid(F, 144, # similar to subplot(144)
9696
nrows_ncols=(2, 2),
97-
axes_pad = (0.45, 0.15),
98-
label_mode = "1",
99-
share_all = True,
97+
axes_pad=(0.45, 0.15),
98+
label_mode="1",
99+
share_all=True,
100100
cbar_location="right",
101101
cbar_mode="each",
102102
cbar_size="7%",

0 commit comments

Comments
 (0)