I want to not shown the 0 values from the charts but I don’t want to delete from the column just I want it to become invisible but this code showing the 0 values
percentage_ks = (km_50['Athlete club'].value_counts() / len(km_50)) * 100
top_12 = percentage_ks.nlargest(12)
top_12_new = top_12[top_12 != 0]
plt.figure(figsize=(10, 6))
sns.barplot(x=top_12_new.index, y=top_12_new.values)
for index, value in enumerate(top_12_new):
plt.text(index, value + 0.5, f'{value:.2f}%', ha='center')
plt.xlabel('Scientific Name')
plt.ylabel('Percentage')
plt.title('Percentage Distribution of Top 15 Scientific Names')
plt.xticks(rotation=45, ha='right')
plt.tight_layout()
plt.show()
[enter image description here](https://i.sstatic.net/65bbEQGB.png)