Changed how graphs are printed