How can I remove legend from the figure in seaborn?
I want to remove the labels of the second bar that is C1,C2,C3,C4,C5, because it is repeating.
Topic plotly matplotlib seaborn visualization python
Category Data Science
I want to remove the labels of the second bar that is C1,C2,C3,C4,C5, because it is repeating.
Topic plotly matplotlib seaborn visualization python
Category Data Science
You could try:
plt.gca().legend.set_visible(False)
or
plt.gca().legend.remove()
I think.
Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.