मराठी
तामिळनाडू बोर्ड ऑफ सेकेंडरी एज्युकेशनएचएससी विज्ञान इयत्ता १२

Write the plot for the following pie chart output.

Advertisements
Advertisements

प्रश्न

Write the plot for the following pie chart output.

टीपा लिहा
Advertisements

उत्तर

‘import matplotlib.pyplot as pit
slices = [7,2,2,13]
activities = [‘sleeping’, ‘eating’, ‘working’, ‘playing’]
plt.pie(slices, labels = activities, autopct = ‘y.1.1 f % %‘)
plt.title(‘Interesting Graph check it out’)
plt.show( )

shaalaa.com
Data Visualization Definition
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 16: Data visualization using pyplot: line chart, pie chart and bar chart - Evaluation [पृष्ठ ३३३]

APPEARS IN

सामाचीर कलवी Computer Science [English] Class 12 TN Board
पाठ 16 Data visualization using pyplot: line chart, pie chart and bar chart
Evaluation | Q 4. | पृष्ठ ३३३
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×