RuntimeError: Failed to process string with tex because latex could not be found

When I tried to change the standard font for matplotlib, I likely incorrectly applied a recommended script and broke my matplotlib and from that moment on always got this error message.

Simply resetting matplotlib settings worked perfectly for me.

import matplotlib as mpl
mpl.rcParams.update(mpl.rcParamsDefault)

Leave a Comment