We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72fa09e commit 9f4ee49Copy full SHA for 9f4ee49
pySDC/helpers/plot_helper.py
@@ -1,6 +1,6 @@
1
import matplotlib as mpl
2
import matplotlib.pyplot as plt
3
-from distutils.spawn import find_executable
+import shutil
4
5
default_mpl_params = mpl.rcParams.copy()
6
@@ -100,7 +100,7 @@ def setup_mpl(font_size=8, reset=False):
100
101
mpl.rcParams.update(style_options)
102
103
- if find_executable('latex'):
+ if shutil.which('latex'):
104
latex_support = {
105
"pgf.texsystem": "pdflatex", # change this if using xetex or lautex
106
"text.usetex": True, # use LaTeX to write all text
0 commit comments