# cannot import matplotlib generated pdf plot using \includegraphics #120

Open
opened this Issue Jan 8, 2017 · 2 comments

Projects
None yet
2 participants

### gasagna commented Jan 8, 2017

 Hi, It seems there is an issue in importing with \includegraphics some pdf plots generated with matplotib, i.e. those generated by the commands matshow and imshow. The minimal working example is attached here (you might need to change the absolute path to the pdf file in the ipe text element). The latex compilation reports and the interesting lines in the latexrun log are (grfext) [.png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG,.JPE G,.JBIG2,.JB2,.eps] (grfext) \AppendGraphicsExtensions on input line 456. (/usr/local/texlive/2016/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv e )) File: /Users/davide/example.pdf Graphic file (type pdf) Package pdftex.def Info: /Users/davide/example.pdf used on input line 51. (pdftex.def) Requested size: 433.61894pt x 433.61894pt. Overfull \hbox (170.0pt too wide) in paragraph at lines 55--56 [][] [] [1 ] (./ipetemp.aux) ) Here is how much of TeX's memory you used  Thanks! Archive.zip
Owner

### otfried commented Jan 9, 2017

 Have you considered using the Ipe matplotlib backend? https://github.com/otfried/ipe-tools/tree/master/matplotlib (Has nothing to do with this bug, though.)

### gasagna commented Jan 26, 2017

 No, have not tried. I guess the problem lies on the matplotlib side rather then here. I know there have been some updates in the imshow/matshow code with the new matplotlib version. I will try again.