Do some small fixes in plot_risetimes and some adjustments in pyheana.py.