Non transparent regression line when saving to eps

Viewed 25

When I generate an lmplot in Seaborn in Jupyter lab environment, it shows me the following plot:

enter image description here

However, by saving the plot as an eps file using plt.savefig("test.eps") command, and loading it in a LaTeX document, this image is displayed in which the regression lines are not transparent anymore. How can I fix this to get the exact same output as the one rendered in the Jupyter environment earlier?

enter image description here

P.S. I should also mention that, before rendering the image, Jupyter shows me a warning type message saying The PostScript backend does not support transparency; partially transparent artists will be rendered opaque.

0 Answers
Related