Commit 19d367dd authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Fix bashplotlib dependency

Makes this an optional module, adds it to the requirements and
parent 6090bd65
......@@ -49,8 +49,12 @@ $ git clone
* [emcee](
* [corner](
* [dill](
* [tqdm](, if installed, this
provides a useful progress bar and estimate of the remaining run-time.
* [bashplotlib](, if installed, presents
a histogram of the loaded SFT data
For an introduction to installing modules see
[here]( If you are using
......@@ -249,7 +249,7 @@ class ComputeFstat(object):
from bashplotlib.histogram import plot_hist
print('Data timestamps histogram:')
plot_hist(SFT_timestamps, height=5, bincount=50)
except IOError:
except ImportError:
if len(detector_names) == 0:
raise ValueError('No data loaded.')
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