Which of the following are true about Matplotlib

RL Matplotlib Quiz 1

Quiz
•
Computers
•
9th - 12th Grade
•
Easy
Aahnik Daw
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
a python library that contains the functions and utilities for creating and working on graphs and visualization
Most of the utilities that we require for plotting graphs are under a submodule called pyplot
The scatter() function draws a line from point to point
The plot() function draws a line from point to point
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
the ____() function from the 'plt' module can be used if you wish to view the output of the graph
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which code could have produced this plot ?
plt.plot([1,2,3,2,6,3,9,1], marker='s', color="g")
plt.plot([1,2,3,2,6,3,9,1], marker='*', color="m")
plt.plot([1,2,3,2,6,2,9,1], marker='star', color="pink")
plt.plot([1,2,3,2,6,3,9,1], marker='star', color="purple")
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You can change the font and alignment of the labels on the graph using
fontdict and loc parameters in the title() function
fonts and align parameters in the title() function
fontdict and loc parameters in the plot() function
fontdict and align parameters in the show() function
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
With Pyplot, which of the following are NOT true about grids
You can use the grid() function to add grid lines to the plot
By default, the grid() function adds both horizontal as well as vertical black plain lines
The grid lines can be customized in case you wish to view either horizontal or vertical lines
Setting axis="y" would give lines that run from top to bottom
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Choose the correct statements about the subplot function
To show more than one graphs at a time, you can use the subplot() function
The subplots() function takes three arguments that describe the layout of the figure
The first two arguments are the number of columns and rows respectively of the layout.
The first argument represents the index of the current plot
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
A _________ is a graph showing frequency distributions. It is a graph showing the number of observations within each given interval.
Create a free account and access millions of resources
Similar Resources on Quizizz
8 questions
Numpy Revision Test

Quiz
•
10th Grade
13 questions
python advance

Quiz
•
10th Grade
10 questions
Gr10 DigiPro Sprint 1.1

Quiz
•
10th Grade
10 questions
Wk 20 Function with Parameters

Quiz
•
12th Grade
10 questions
Mashdemy 11-15 AI/ML

Quiz
•
9th - 12th Grade
10 questions
Matplotlib Pie Charts

Quiz
•
11th Grade
10 questions
Python with DataScience

Quiz
•
7th Grade - University
10 questions
python

Quiz
•
10th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University