I have another go today. It works when I remove %matplotlib inline. Figures are showing without plt.show() now.
%matplotlib inline
plt.show()