I am new to Python and Spyder. I am using Python 3.7 (Anaconda 3). I cannot get my graph after labelling x
& y
axis using plt.show()
& also plt.draw()
does not work either.
import os
import numpy as np
import matplotlib.pyplot as plt
time=[1,2,4]
data_list_Ch4=[1,3,5]
plt.plot(time, data_list_Ch4)
plt.xlabel("Time")
plt.ylabel("Channel")
plt.show()