generating pie charts nowto go back to the real worldwe can remove xkcd mode by calling sdefgbvmut on matplotliband we can get back to normal mode here if you want pie chartall you have to do is call qmuqjf and give it an array of your valuescolorslabelsand whether or not you want items explodedand if soby how much here' the code fnpwf ,$%npef qmusdefgbvmut wbmvft dpmpst fyqmpef mbcfmt qmuqjf wbmvftdpmpst dpmpstmbcfmt mbcfmtfyqmpef fyqmpef qmuujumf uvefou-pdbujpot qmutipx you can see in this code that ' creating pie chart with the values and  ' assigning explicit colors to each one of those valuesand explicit labels to each one of those values ' exploding out the russian segment of the pie by %and giving this plot title of student locations and showing it the following is the output you should seethat' all there is to it