
Day2-Matplotlib
Authored by Carlin CHU
Computers
1st Grade
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which one is NOT a main step in Matplotlib ?
Observe
Process
Render
Initialize
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
How many data points will be generated from the below python code?
(what is the length of the generated data?)
numpy.linspace(1,99,100)
98
99
100
101
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which one is NOT an approach to use Matplotlib?
Object-oriented style
Pyplot style
step-by-step style
None of the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which google file path is used to save our file?
/content/drive/Colab Notebooks
/content/drive/MyDrive/Colab Notebooks
/drive/MyDrive/Colab Notebooks
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which programming style is used to write the following code?
fig, ax = plt.subplots()
ax.plot(x, x, label='linear')
Object-oriented style
Pyplot style
All of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which function (method) is used to save a figure in Matplotlib?
fig.savefig()
fig.save()
save.fig()
flg.save_fig()
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?