Q:

pandas plot ylabels to the right or negative values from right to left

I'm plotting a graph with pandas like so
df9[(df9['Delivery Quality'] < 0) & (df9['year'] == 2016)][['country','Delivery Quality']].plot(x='country', y='Delivery Quality', kind='barh', figsize=(20,20), legend=False, secondary_y=False)

It returns this graph

This makes it a bit more harder to correlate the name with a column unlike positive values

The fix would be to either move the ylabels to the right or have the xvalues for the negative values move from right to left 

A:

With matplotlib axes' tick_right():
ax = frm.plot(x='country', y='Delivery Quality', kind='barh', figsize=(10,5), legend=False, secondary_y='country')
ax.yaxis.tick_right()

