From 5af75f14af3758a37edaee08f1a49a12f89b48e0 Mon Sep 17 00:00:00 2001 From: natrixaeria Date: Thu, 12 Dec 2019 21:56:58 +0100 Subject: Adapt plot.py to pep8 --- plot.py | 4 ++-- 1 file 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};" , -- cgit v1.2.3-70-g09d2