Commit a91362ae authored by Chris Smith's avatar Chris Smith
Browse files

Added default origin argument to plot_map

Set origin='lower' as default for imshow call
parent e871dbcb
......@@ -260,9 +260,11 @@ def plot_map(axis, data, stdevs=2, **kwargs):
"""
data_mean = np.mean(data)
data_std = np.std(data)
origin = kwargs.pop('origin', 'lower')
im = axis.imshow(data, interpolation='none',
vmin=data_mean - stdevs * data_std,
vmax=data_mean + stdevs * data_std,
origin=origin,
**kwargs)
axis.set_aspect('auto')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment