Python tools for analyzing and plotting grain size data