What is the output of plt.pie([10, 20, 30])?
Correct answer
A. A pie chart with slices proportional to the given values
17 views
A. A pie chart with slices proportional to the given values
17 views
It draws a pie chart with slices proportional to the values — 10, 20 and 30 become one-sixth, one-third and one-half of the circle.
Add labels= for names and autopct="%1.1f%%" to print percentages.
Keep preparing with more Data Science MCQs on MCQsExam.com.
Not sure why the answer is A? Ask here and get an explanation.