I have a large list which consists of float values.
My question is how can I plot that list?
I read it should be sliced first but I am not sure how to do it.
I have a large list which consists of float values.
My question is how can I plot that list?
I read it should be sliced first but I am not sure how to do it.
Plotting a list of numbers is straightforward using matplotlib:
import matplotlib.pyplot as plt
your_list = [2.3, 5.7, -1.4, 4.6, -2.9, 7.2]
plt.plot(your_list)
Output: