NEW
Font size
WorksheetsPython: matlpotlib Online Quiz
Total questions: 10
Worksheet time: 5mins
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)
we can not change the color of the chart
false
true
It is better to use pandas dataframe when putting title or labels in your chart.
True
False
Which of the codes below should we use to rotate the data ticks on x-axis?
plt.xticks(rotation=30)
plt.ylabel(rotation=30)
plt.yticks(rotation=30)
plt.xlabel(rotation=30)
Which code should we use to display our graphs?
plt.display()
plt.graph()
plt.show()
plt.chart()
pyplot is also a python library.
False
True
This is an example of a ___________.
Scatter Chart
Line Graph
Bar Graph
Pie Chart
We can use matplotlib without installing the library.
True
False
The maximum number that you can assign for the color is ____.
4
3
2
1
