diff --git a/apps/splines/plot_matplot.py b/apps/splines/plot_matplot.py index b684ed75..ae547f7c 100755 --- a/apps/splines/plot_matplot.py +++ b/apps/splines/plot_matplot.py @@ -7,7 +7,6 @@ from splines import * - def plot_one_seg(): """ Test routine: create one segment and plot it with matplotlib """ @@ -68,7 +67,7 @@ def plot_one_spline(): fig = plt.figure() plt.plot(sx, sy) - plt.plot(px, py,'o') + plt.plot(px, py, 'o') plt.grid() plt.xlabel('X') plt.ylabel('Y') diff --git a/format_code.py b/format_code.py index e003f93e..89e9c769 100755 --- a/format_code.py +++ b/format_code.py @@ -3,10 +3,8 @@ # # This script runs "clang-format" recursively on all C/C++ files -import sys import os import fnmatch -import re import subprocess @@ -41,7 +39,6 @@ def all_files(root, def main(): # loop over all files and format them - encs = {} for f in all_files(os.getcwd(), patterns='*.cpp;*.c;*.h;*.hpp', skips='*.git*;*build*;*externals*'): print(f)