Matplotlib Pie Charts

Matplotlib Pie Charts

11th Grade

10 Qs

quiz-placeholder

Similar activities

Python Functions

Python Functions

9th - 12th Grade

13 Qs

MOAC Excel 2016 Lesson 12

MOAC Excel 2016 Lesson 12

9th - 12th Grade

10 Qs

Youtubers

Youtubers

KG - University

12 Qs

NumPy

NumPy

9th Grade - University

10 Qs

Big Data & Cyber

Big Data & Cyber

9th - 12th Grade

15 Qs

Global and local variables

Global and local variables

10th - 12th Grade

10 Qs

State Test Review

State Test Review

KG - University

11 Qs

Exploring Data Visualization

Exploring Data Visualization

9th Grade - University

10 Qs

Matplotlib Pie Charts

Matplotlib Pie Charts

Assessment

Quiz

Computers

11th Grade

Hard

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?