1import matplotlib. pyplot as plt
2A= [2,1,4,5]; B = [3,2,-2,1]
3plt.scatter(A,B)
4plt.title("title", x=0.9, y=0.9)
5plt.xlabel("x-axis")
6plt.ylabel("y-axis")
7plt.show()
8
1import matplotlib.pyplot as plt
2
3fig, axs = plt.subplots(1, 2)
4axs[0].set_title('TITLE1')