NEW
Font size
WorksheetsPython plot
Total questions: 12
Worksheet time: 6mins
which library we import if we want to draw chart
numpy
matplotlib
pandas
to add a title in the chart we use the function
title("title of the chart")
plt.title("title of the chart")
plt.title(title of the chart)
Which code should we use to display our graphs?
plt.display()
plt.graph()
plt.show()
plt.chart()
We can use matplotlib without installing the library.
True
False
This is an example of a ___________.
Scatter Chart
Line Graph
Bar Graph
Pie Chart
Which function is used to plot the graph in matplotlib ?
plot()
graph()
show()
scatter()
Which graph is used to plot a continuous graph ?
line plot
scatter plot
bar plot
Histogram
What does these 4 colour boxes on extreme right side called
Title
Legend
Heading
Label
Markers are data points in the graph?
True
False
Which Python Package is used for 2D graphics?
matplotlib.pyplot
matplotlib.pip
matplotlib.numpy
matplotlib.plt
Method used to label x axis, the horizontal axis
xlabel()
ylabel
x=
none of the above
Method used to label the y axis, the vertical axis
ylabel()
y=
both
none
