Some changes to plot_pdf and plotting_utilities.