Python Review Module 15 - Plotting

Quiz
•
Science, Other
•
University
•
Hard
Karen Diggs
Used 17+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function takes an optional format string argument to specify the color and style of the plotted line?
plt.show()
plt.imshow()
plt.legend()
plt.plot()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which property is required for plt.legend()?
alpha
data
visible
label
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which package is used for plotting in Python?
matlab
ggplot
matplotlib
matlablib
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function plots data onto the graph?
plt.show()
plt.imshow()
plt.legend()
plt.plot()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to add text labels to a plot?
plt.title()
plt.xlabel()
plt.legend()
plt.text()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify the correct syntax for text() function to display 'X Y Plot' at the coordinates (x,y) in grey color and font size 12.
plt.text('X Y Plot', [x,y], color='grey', fontsize=12)
plt.text((x,y), 'X Y Plot',color='grey', fontsize=12)
plt.text(x,y, 'X Y Plot', color='grey', fontsize=12)
plt.text([x,y], 'X Y Plot', color='grey', fontsize=12)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify the correct syntax to annotate the data point at (5,2) placing the text 'Peak' at (5,3).
plt.annotate('Peak', xy=(5, 2), xytext=(5, 3))
plt.annotate('Peak', xy=(5, 3), xytext=(5, 2))
plt.annotate(xy=(5, 2), xytext=(5, 3))
plt.annotate(xy=(5, 3), xytext=(5, 2))
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which package provides tools for scientific and mathematical computations in Python?
pandas
numpy
sklearn
matplotlib
9.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The _____ function is used to create a second axis on a plot.
xaxis()
axisr()
twinx()
axhline()
Similar Resources on Wayground
12 questions
Chapter 2: Introduction to Signals Quiz

Quiz
•
University
10 questions
Control Quizzzz

Quiz
•
University - Professi...
10 questions
Kuis Pertanian

Quiz
•
University
10 questions
Exploring the Depths of "All that moves us"

Quiz
•
9th Grade - University
10 questions
Drama

Quiz
•
9th Grade - University
11 questions
Descriptive Statistics Quiz

Quiz
•
University
7 questions
STRING

Quiz
•
University
10 questions
Graphical Presentation of Data

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Science
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University