Made a function wrapper to examples/api/two_scales.py

`plt.show()` should go here.