79100258

Date: 2024-10-18 01:26:34
Score: 1
Natty:
Report link

From the documentation, matplotlib.pyplot.savefig takes a transparency and backend argument that may help you. Also, it takes a format argument so that you could save the figure as png to see if that works instead, if that's an option for you. You could try calling it like this:

plt.savefig("test.pdf", format="png")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jon DuBois