text_plain_output_1.png image_output_1.png
import matplotlib.pyplot as plt

plt.figure(figsize=(10, 6))
data_pie = [73452, 56428]
labels = ['1', '0']
explode = [0.1, 0]
plt.pie(data_pie, labels=labels, explode=explode, autopct='%1.2f%%', shadow=True, colors=['#256D85', '#3BACB6'])
plt.legend()
plt.show()