Commit e684a78f authored by teresa.bister's avatar teresa.bister
Browse files

[skymap] set cbar default to True

parent a3737ad3
......@@ -43,7 +43,7 @@ def scatter(v, c=None, cblabel='log$_{10}$(Energy / eV)', opath=None, fig=None,
kwargs.setdefault('s', 8)
if 'marker' not in kwargs:
kwargs.setdefault('lw', 0)
cbar = kwargs.pop('cbar', False)
cbar = kwargs.pop('cbar', True)
if cbar:
finite = np.isfinite(c)
vmin = kwargs.pop('vmin', smart_round(np.min(c[finite]), upper_border=False))
......
Supports Markdown
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