saving bin graphs