Skip to content

Commit dc88b7a

Browse files
authored
FIX: Flake (mne-tools#10540)
1 parent a0d1125 commit dc88b7a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

logo/generate_mne_logos.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,8 @@
168168
y = np.linspace(-1., 1., h_px // 2)
169169
X, Y = np.meshgrid(x, y)
170170
# initialize figure (no axes, margins, etc)
171-
fig = plt.figure(1, figsize=(w_px / dpi, h_px / dpi), facecolor='k', frameon=False, dpi=dpi)
171+
fig = plt.figure(1, figsize=(w_px / dpi, h_px / dpi), facecolor='k',
172+
frameon=False, dpi=dpi)
172173
ax = plt.Axes(fig, [0., 0., 1., 1.])
173174
ax.set_axis_off()
174175
fig.add_axes(ax)
@@ -199,5 +200,6 @@
199200
ax.set_xlim(xmin - xpad, xl[1] + xpad)
200201
ax.set_ylim(ymax + ypad, ymin - ypad)
201202
plt.draw()
202-
plt.savefig(op.join(static_dir, 'mne_logo_small.svg'), dpi=dpi, transparent=True)
203+
plt.savefig(op.join(static_dir, 'mne_logo_small.svg'),
204+
dpi=dpi, transparent=True)
203205
plt.close()

0 commit comments

Comments
 (0)