move plot_fractions; pep8