diff options
author | natrixaeria <upezu@student.kit.edu> | 2019-12-12 21:56:58 +0100 |
---|---|---|
committer | natrixaeria <upezu@student.kit.edu> | 2019-12-12 21:56:58 +0100 |
commit | 5af75f14af3758a37edaee08f1a49a12f89b48e0 (patch) | |
tree | df45771cc5a53a6f267d16445fbf4905afaf034c | |
parent | 5fa0d5d889dff17a8e011971d80de7661ae130eb (diff) |
Adapt plot.py to pep8
-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};" , |