Horje
3d pie chart in python Code Example
3d pie chart in python
import matplotlib.pyplot as plt
labels = ['Python', 'C++', 'Ruby', 'Java']
sizes = [215, 130, 245, 210]
# Plot
plt.pie(sizes, labels=labels, 
        autopct='%1.1f%%', shadow=True, startangle=140)
plt.axis('equal')
plt.show()




Python

Related
set axis limits matplotlib Code Example set axis limits matplotlib Code Example
python calculate time taken Code Example python calculate time taken Code Example
keras plot history Code Example keras plot history Code Example
difference between w+ and r+ in python Code Example difference between w+ and r+ in python Code Example
xlabel seaborn Code Example xlabel seaborn Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7