Description
Bug report
I like to test my code against the bleeding edge version of matplotlib (by installing it in a conda virtual environment) on my work machine (Windows PC). Since I do not have admin rights to install the necessary tools to build from source, I download the wheels from appveyor and use pip install.
The following code snippet (representing a part of my working code) started giving an error after I installed "matplotlib-3.0.0rc1+424.g19420b97.dirty-cp36-cp36m-win_amd64.whl" (which corresponds to Merge pull request #12253 from anntzer/kpathsea-encoding FIX: Handle utf-8 output by kpathsea on Windows). The wheel which was built for the commit before that, matplotlib-3.0.0rc1+420.gb2c89917.dirty-cp36-cp36m-win_amd64.whl works fine (I reinstalled it and the code snippet works).
I am not sure if this is the right way to test the bleeding edge code (when you do not have admin rights to install the tools necessary to build from source). If the procedure I am following is not correct, please feel free to close the issue.
Code for reproduction
import matplotlib.pyplot as plt
import numpy as np
from matplotlib import rc
rc('text', usetex=True)
rc('text.latex', preamble=r'\usepackage{fourier}, \usepackage[T1]{fontenc}')
fig, ax = plt.subplots()
ax.plot(np.arange(10))
fig.savefig('test.pdf')
Actual outcome
OSError: [Errno 22] Invalid argument: 'C:/Program Files/MiKTeX 2.9/fonts/tfm/jknappen/ec/ecss1000.tfm
\r'
Expected outcome
Matplotlib version
-
Operating system: Windows 10
-
Matplotlib version: 3.0.0rc1+424.g19420b97.dirty
-
Matplotlib backend (
print(matplotlib.get_backend())
): Qt5Agg -
Python version:
-
Jupyter version (if applicable):
-
Other libraries: