Skip to content

Commit 6b052be

Browse files
committed
Remove a few explicit keyword arguments from plot.level()
1 parent e182d9e commit 6b052be

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

sfs/plot.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,8 @@ def soundfield(p, grid, xnorm=None, cmap='coolwarm_clip', colorbar=True,
303303
return im
304304

305305

306-
def level(p, grid, xnorm=None, power=False, colorbar=True, cmap=None,
307-
ax=None, xlabel=None, ylabel=None, vmax=3, vmin=-50, **kwargs):
306+
def level(p, grid, xnorm=None, power=False, cmap=None, vmax=3, vmin=-50,
307+
**kwargs):
308308
"""Two-dimensional plot of level (dB) of sound field.
309309
310310
Takes the same parameters as :func:`sfs.plot.soundfield`.
@@ -319,8 +319,7 @@ def level(p, grid, xnorm=None, power=False, colorbar=True, cmap=None,
319319
if xnorm is not None:
320320
p = util.normalize(p, grid, xnorm)
321321
L = util.db(p, power=power)
322-
return soundfield(L, grid=grid, xnorm=None, colorbar=colorbar, cmap=cmap,
323-
ax=ax, xlabel=xlabel, ylabel=ylabel,
322+
return soundfield(L, grid=grid, xnorm=None, cmap=cmap,
324323
vmax=vmax, vmin=vmin, **kwargs)
325324

326325

0 commit comments

Comments
 (0)