diff --git a/DataVizLearnig/Movie Data Visualization/maincode.py b/DataVizLearnig/Movie Data Visualization/maincode.py index edef645a53..1c43447995 100644 --- a/DataVizLearnig/Movie Data Visualization/maincode.py +++ b/DataVizLearnig/Movie Data Visualization/maincode.py @@ -49,6 +49,7 @@ def show_piechart(): genre_counts, colors=colors, autopct="%1.1f%%", + labels=genre_counts.index, # Add genre names as labels shadow=True, wedgeprops={"edgecolor": "black"}, # Black border between slices )