diff options
-rw-r--r-- | plot.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,10 +2,10 @@ import os import subprocess -def plot(start, end, states = 1, script = "anim3d.plt"): +def plot(start, end, states=1, script="anim3d.plt"): path = 'gnuplot/' if os.name == 'nt': - path.replace('/','\\') + path = path.replace('/','\\') subprocess.run(["gnuplot", "-e", f"states={states};", "-e", f"start={start};" , |