formating

This commit is contained in:
Jacob Holder 2023-03-03 12:30:44 +01:00
parent e94736f524
commit 6e6b00d58d
Signed by: jacob
GPG Key ID: 2194FC747048A7FD

View File

@ -4,8 +4,6 @@ import numpy as np
import matplotlib.pyplot as plt import matplotlib.pyplot as plt
import matplotlib.patches as patches import matplotlib.patches as patches
import matplotlib import matplotlib
import scipy
import scipy.signal
import tqdm import tqdm
from extractors import Rect_Evaluator, Voronoi_Evaluator, Image_Wrapper from extractors import Rect_Evaluator, Voronoi_Evaluator, Image_Wrapper
@ -58,7 +56,8 @@ class Plotter:
def rotate(x, y, angle): def rotate(x, y, angle):
radian = angle / 180 * 2 * np.pi radian = angle / 180 * 2 * np.pi
return np.cos(radian) * x - np.sin(radian) * y, np.sin(radian) * x + np.cos(radian) * y return np.cos(radian) * x - np.sin(radian) * y,\
np.sin(radian) * x + np.cos(radian) * y
def test_square(): def test_square():