Extending mainpage example

Here you need to write `plt.gca()` instead of only `gca()` to make it work for the user if she copy & pastes the example.