You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Saving polar plots with MiKTeX on Windows fails for some file formats #14146
Saving matplotlib polar plots on Windows 7 and Windows 10, with MiKTex 2.9.7.000, fails for some formats (e.g., pdf, svg) and works for others (e.g., png, jpg)
changed the title [-]Saving polar plots with MiKTex on Windows Fails for some formats[/-][+]Saving polar plots with MiKTeX on Windows fails for some file formats[/+]on May 6, 2019
Looks like a duplicate of #10272 (try installing the cm-super tex package)?
(It may make sense to switch from computer modern to latin modern at some point, which at least has the advantage that we can check for its existence with \usepackage{lmodern}.)
Installing cm-super solves this for pdf output, but not for svg. In the svg case I get
D:\****\lib\site-packages\matplotlib\textpath.py:349: UserWarning: The glyph (176) of font
(D:/***/MiKTeX/fonts/type1/public/cm-super/sfss3583.pfb) cannot be converted with the encoding.
Glyph may be wrong
"be wrong" % (glyph, font.fname))
And the output is a svg file without the ° symbols.
I think the main point here, in contrast to #10272 is, that a standard empty plot should not fail for standard latex installations.
Activity
[-]Saving polar plots with MiKTex on Windows Fails for some formats[/-][+]Saving polar plots with MiKTeX on Windows fails for some file formats[/+]QuLogic commentedon May 6, 2019
This version is fairly old; please try with 3.0.2.
ImportanceOfBeingErnest commentedon May 6, 2019
I can reproduce this with master branch, windows 8.1 and miktex 2.9.6630.
It bisects to #11381
anntzer commentedon May 7, 2019
Looks like a duplicate of #10272 (try installing the cm-super tex package)?
(It may make sense to switch from computer modern to latin modern at some point, which at least has the advantage that we can check for its existence with \usepackage{lmodern}.)
ImportanceOfBeingErnest commentedon May 7, 2019
Installing cm-super solves this for pdf output, but not for svg. In the svg case I get
And the output is a svg file without the
°symbols.I think the main point here, in contrast to #10272 is, that a standard empty plot should not fail for standard latex installations.
anntzer commentedon May 7, 2019
Looks like if you zoom a lot, you'll see a tiny degree sign, which suggests to me that the problem is the same as the one described in #12928?
ImportanceOfBeingErnest commentedon May 7, 2019
Yes, with current master, the warning reads
anntzer commentedon May 7, 2019
The warning is actually spurious (per #14156), but the sizing problem is real.