df = pd.DataFrame({'lab': ['A', 'B', 'C'], 'val': [10, 30, 20]})  # doctest: +SKIP
ax = df.plot.barh(x='lab', y='val')  # doctest: +SKIP
