Matplotlib Pie Charts

Matplotlib Pie Charts

11th Grade

10 Qs

quiz-placeholder

Similar activities

Using Visuals Ethically [Cengage Ch 6]

Using Visuals Ethically [Cengage Ch 6]

8th - 12th Grade

10 Qs

Data Visualization

Data Visualization

10th Grade - University

12 Qs

matplotlib-2

matplotlib-2

9th - 11th Grade

15 Qs

Java Programming with Minecraft

Java Programming with Minecraft

1st - 12th Grade

9 Qs

Exploring Data Visualization

Exploring Data Visualization

9th Grade - University

10 Qs

NumPy

NumPy

9th Grade - University

10 Qs

Graph of the Week

Graph of the Week

9th - 12th Grade

15 Qs

Python Functions

Python Functions

9th - 12th Grade

13 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?