Plot labels are outside the figure on tkinter canvas
You can call Figure's tight_layout()
method at each figure update to ensure that your labels are displayed:
def plot_1_xy(i): x_value_1.append(i) z=sin(pi*x_value_1[i]/9) y_value_1.append(z) a1.clear() a1.plot(x_value_1,y_value_1) a1.set_xlabel('X Label') a1.set_ylabel('Y Label') figure_1.tight_layout()def plot_2_xy(i): x_value_2.append(i) y_value_2. append(500*sin((1/14)*pi*i)) a2.clear() a2.plot(x_value_2,y_value_2) a2.set_xlabel('X Label') a2.set_ylabel('Y Label') figure_2.tight_layout()