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 Wayground
15 questions
Pyplot

Quiz
•
12th Grade
13 questions
Data Visualization Quiz

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

Quiz
•
11th Grade
10 questions
Python with DataScience

Quiz
•
7th Grade - University
15 questions
User Defined Method - 01

Quiz
•
10th Grade
8 questions
Python Charts - Line chart

Quiz
•
12th Grade
15 questions
Control statements in C++

Quiz
•
9th - 12th Grade
15 questions
C Programming Concepts Quiz

Quiz
•
10th Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade
Discover more resources for Computers
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade