Matplotlib: how to load and show a PDF image
问题 My problem is simple: I have a PDF figure I would like to show alongside the results of some data analysis. Yet even an extensive Google search did not bring up a way to load and show a PDF in a figure (I only found the standard results for raster images like JPG or PNG). Thanks in advance! 回答1: I don't think Matplotlib supports plotting imported vector graphics on its own as of today. The easiest approach would probably be to save your figure generated in Matplotlib to SVG, convert your PDF