Matplotlib Tutorial 6 - Pie Charts

preview_player
Показать описание
Pie charts are a lot like the stack plots, only they are for a certain point in time. Typically, a Pie Chart is used to show parts to the whole, and often a % share. Luckily for us, Matplotlib handles the sizes of the slices and everything, we just feed it the numbers.

Рекомендации по теме
Комментарии
Автор

This has been by far the easiest tutorial to follow. I look forward to continuing down the list!

nearofseven
Автор

Solid videos. Keep it up. Gonna run through your whole Tutorial!

mikecibicki
Автор

Hey sentdex, thanks for the tutorials. One question, how did you get the specific piece of pie to "explode", do you use the index() of the list?

Thanks!

propupul
Автор

what is the use of the slices array in this program??

sivaramsalivahan
Автор

Very nice!!! Is it possilbe to change the grey background and the black textcolor?

Banchuba
Автор

Please tell me how to find the percentage value in pie chart manually..

SakthiKty
Автор

How can I change the background colour when I save a pie chart?

soyounpark
Автор

Great! I used this to make a pie chart to show the results of the 2015 General Election in any constituency!

DanielJohnNicholson
Автор

for some reasons, I cannot use autopct because it shows invalid syntax for python 3.4.4. Can you tell me how to fix it? Thanks in advance.

bozheng
Автор

How do you calculate value for slices ? from those list values

virenjoshi
Автор

How would i change the colour of the labels from back to white

edrine
Автор

why you did %1.1f%% in autopct, why did you used slices, and what is the use of writing here sleeping = [7, 8, 6, 11, 7] eating = [ ], working = [ ], playing = [ ] pie chart is running on the basis of your slices

tulikagoyal
Автор

hey, thanks for the video. i have a question. how does the value in the lists relates to the pie? is it the sum of the values? thanks

eandean
Автор

There are 5 days in days = [1, 2, 3, 4, 5] So does the pie chart show average result for all 5 days. I mean it didn't show the days.

manugupta
Автор

Hey, Very Impressed with your way of delivering stuffs.
Thanks Man
Between i couldn't make out how would those values in SLICES list have an impact on the graph.
In other words to be precise are those values chosen by you in the slices list are random or do they have any parameters to be considered before initializing.

shabarishbabubv
Автор

Hey @sentdex can you please create a video on nested Pie chart?

saurabhkore
Автор

can we create a pie chart by collection data from sqlite database in python

saikrishna-eqcw
Автор

Why 0.1 is the value for removing the slice?

unnatibamania
Автор

your amazing bro .... nice tutorial (Y)

saimandalo
Автор

Amazing, one question though, how does one know what options for parameters exist, for example, autopct='%1.1f%%', how would one become autonomous enough to figure such instances out. Basically am asking how to go about learning in a way. Should one pick up a book, or are these things more about experience and demand spending time. Would be awesome if you also make a video on how you go about learning new topics (pick up a book, learn from videos, etc.). As always, thanks for the amazing work you have done over the years; because of you, the world has a few more smarter people.

sushantaggarwal