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

Skip to content

Commit 6b5537f

Browse files
committed
Fixed pep8 failures in test_axes_grid1.py
1 parent 543bb40 commit 6b5537f

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

lib/mpl_toolkits/tests/test_axes_grid1.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@
99
from mpl_toolkits.axes_grid1 import host_subplot
1010
from mpl_toolkits.axes_grid1 import make_axes_locatable
1111
from mpl_toolkits.axes_grid1 import AxesGrid
12-
from mpl_toolkits.axes_grid1.inset_locator import zoomed_inset_axes, mark_inset, inset_axes
12+
from mpl_toolkits.axes_grid1.inset_locator import (
13+
zoomed_inset_axes,
14+
mark_inset,
15+
inset_axes
16+
)
1317
from mpl_toolkits.axes_grid1.anchored_artists import AnchoredSizeBar
1418

1519
from matplotlib.colors import LogNorm
@@ -180,7 +184,7 @@ def get_demo_image():
180184
origin="lower")
181185

182186
# creating our inset axes without a bbox_transform parameter
183-
axins = inset_axes(ax, width=1., height=1., bbox_to_anchor=(1,1))
187+
axins = inset_axes(ax, width=1., height=1., bbox_to_anchor=(1, 1))
184188

185189
axins.imshow(Z2, extent=extent, interpolation="nearest",
186190
origin="lower")
@@ -209,7 +213,7 @@ def get_demo_image():
209213

210214
def test_inset_axes_without_transform_should_use_parent_axes():
211215
# creating our figure
212-
fig = plt.figure(dpi=150);
216+
fig = plt.figure(dpi=150)
213217

214218
# gca method gets current axes of the figure
215219
ax = plt.gca()

0 commit comments

Comments
 (0)