I am making some prototype which displays diagrams like
import matplotlib.pyplot as plt
...
plt.plot(xs, ys)
...
plt.show()
Getting window like
and now want to correct programmatically extent of the diagram to be open. To get something like
right after start. How to do this?