Skip to content

Commit 53ec391

Browse files
committed
style: formatting codes
1 parent 04b8295 commit 53ec391

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

main.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,23 @@
55

66
from utils.convolve import calculate_convolve
77

8-
# ----------------- Plot config -------------------------------------------
8+
# ----------------- Plot config --------------------------------------- #
99
SMALL = 8
1010
MEDIUM = 10
1111
BIGGER = 11
1212

13-
plt.rc('font', size=SMALL) # controls default text sizes
14-
plt.rc('axes', titlesize=SMALL) # font size of the axes title
15-
plt.rc('axes', labelsize=MEDIUM) # font size of the x and y labels
16-
plt.rc('xtick', labelsize=SMALL) # font size of the tick labels
17-
plt.rc('ytick', labelsize=SMALL) # font size of the tick labels
18-
plt.rc('legend', fontsize=SMALL) # legend font size
13+
plt.rc('font', size=SMALL) # controls default text sizes
14+
plt.rc('axes', titlesize=SMALL) # font size of the axes title
15+
plt.rc('axes', labelsize=MEDIUM) # font size of the x and y labels
16+
plt.rc('xtick', labelsize=SMALL) # font size of the tick labels
17+
plt.rc('ytick', labelsize=SMALL) # font size of the tick labels
18+
plt.rc('legend', fontsize=SMALL) # legend font size
1919
plt.rc('figure', titlesize=BIGGER) # font size of the figure title
2020

2121
plt.rcParams["font.family"] = "Times", "Times New Roman", "serif"
2222

2323

24-
# -------------------------------------------------------------------------
24+
# --------------------------------------------------------------------- #
2525

2626
def save_plot():
2727
left = 0.2

0 commit comments

Comments
 (0)