I am currently trying to reduce the file size of a scatter plot. My code looks like:
plt.scatter(a1,b1) plt.savefig('test.ps') where a1,b1 are arrays of size 400,000 or so, and it gives a file size of 7.8MB.
I have tried adding
plt.rcParams['path.simplify'] = True before this chunk of code, but the file is still 7.8MB. Is this an issue with how it saves as a ".ps" file or another issue?
