WorksheetsQUIZ 3 - Programming for Technology Professionals
Total questions: 10
Worksheet time: 5mins
Matplotlib is a ____ library for the Python programming language.
data science
mathematics
numpy
plotting
Which is the correct command to install Matplotlib?
pip install matplotlib
pip install matplotlib.pz
pip install matplotlib.*
All of the above
Which color is the default color of a Matplotlib plot?
Red
Green
Blue
Black
Which is the correct import statement to import pyplot?
import matplotlib.pyplot as plt
import pyplot
Both A and B
None of the above
Which function is used to draw points (markers) in a diagram?
write()
draw()
plot()
paint()
Which argument keyword can be used to emphasize each point with a specified marker in plotting?
marker_points
marker
ring
types
Which function is used to set a label for the x-axis in pyplot?
xlabel()
set_x()
x-axis()
xaxi()
Which function is used to set a title for the plot?
desc()
title()
head()
None of the above
Which function is used to draw a scatter plot?
scatterplot()
pyscatter()
scatters()
scatter()
Which parameter(s) is/are used to define the color of the points in a scatter plot?
color
c
Both A and B
None of the above
