+2 votes
in Class 12 by kratos

Mr. Harry wants to draw a line chart using a list of elements named LIST. Complete the code to perform the following operations:

(i) To plot a line chart using the given LIST,

(ii) To give a y-axis label to the line chart named “Sample Numbers”.

import matplotlib.pyplot as PLINE

LIST=[10,20,30,40,50,60]

.........................Statement 1

...................Statement 2

PLINE.show()

1 Answer

+3 votes
by kratos
 
Best answer

(i) PLINE.plot(LIST)

(ii) PLINE.ylabel(“Sample Numbers”)

...