import tkinter as tkfrom tkinter import messageboximport matplotlib.pyplot as pltimport numpy as npfrom matplotlib import rcimport platform# 한글 폰트 설정if platform.system() == "Windows": rc('font', family='Malgun Gothic') # Windows의 한글 폰트elif platform.system() == "Darwin": # macOS rc('font', family='AppleGothic')else: rc('font', family='NanumGothic') # 리눅스용 폰트plt.rcParams['axes.unicode_..