Dear all, I'm making histograms:
If keywords fill=False and log=True, then after saving, the png looks fine but the histogram in the pdf is mixed up. Anyone knows about this? Bram ### Script ### import matplotlib.pyplot as plt import numpy as np data = np.random.normal(size=1000) ### correct pdf fig = plt.figure() ax = fig.add_subplot(111) ax.hist(data, fill=False, log=False) fig.savefig('plot1.pdf', format='pdf') fig.savefig('plot1.png', format='png') ### wrong pdf fig = plt.figure() ax = fig.add_subplot(111) ax.hist(data, fill=False, log=True) fig.savefig('plot2.pdf', format='pdf') fig.savefig('plot2.png', format='png') ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users