Matplotlib - Real-World Visualization Patterns
What will be the output of this code snippet?
import matplotlib.pyplot as plt values = [50, 20, 30] labels = ['A', 'B', 'C'] plt.barh(labels, values) plt.gca().invert_yaxis() plt.show()
