summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plot.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/plot.py b/plot.py
index 6d8e449..83438e5 100644
--- a/plot.py
+++ b/plot.py
@@ -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};" ,