Commit 9ef5c9ab authored by Leo Pound Singer's avatar Leo Pound Singer
Browse files

Replace logspace with geomspace

parent d5a9f564
......@@ -200,8 +200,7 @@ def main(args=None):
values = np.concatenate(
[d.columns.get(colname, []) for d in filtered])
if len(values) > 0:
bins = np.logspace(np.log10(np.min(values)),
bins = np.geomspace(np.min(values), np.max(values),
1000 if opts.cumulative else 20)
ax.hist([d.columns.get(colname, []) for d in filtered],
cumulative=opts.cumulative, density=opts.normed,
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