More python examples and plot generation with matplotlib