Matplotlib Pie Charts

Quiz
•
Computers
•
11th Grade
•
Hard
Kevin Dunn
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What method is used to create a pie chart in Pyplot?
bar()
pie()
plot()
scatter()
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which parameter is used in the function to provide the data for the chart?
data
values
sizes
chart
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which parameter is used to set the colours of the segments?
colors
colours
color_map
palette
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which parameter is used to display percentages on each segment?
label_pct
percent
autopct
show_pct
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How can you explode a segment in a pie chart?
use the expand attribute
set a number for the explode parameter
adjust the value of the size parameter
specify the segment index number
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the effect of the autopct parameter in the pie() method?
It specifies the font size of the labels
It specifies the position of the percentage values
It specifies the format of the percentage values
it specifies the colour of the labels
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which parameter would be used to separate a segment from the pie chart?
offset
explode
spread
space
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
Data visualization

Quiz
•
10th Grade - University
10 questions
matplotlib

Quiz
•
8th - 11th Grade
10 questions
Analisis Data Deforestasi (PLB)

Quiz
•
11th Grade
10 questions
Module 2 - Lesson 5

Quiz
•
6th - 12th Grade
13 questions
Python Functions

Quiz
•
9th - 12th Grade
15 questions
แบบทดสอบวิทยาการคำนวณ ชั้นมัธยมศึกษาปีที่ 5

Quiz
•
11th Grade
10 questions
Exploring Data Visualization

Quiz
•
9th Grade - University
10 questions
NumPy

Quiz
•
9th Grade - University
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade