Queries regarding plot

How can I modify plot attributes like xlabel, ylabel and title etc?

Many plotting routines have a kwarg show set can be set False to not immediately open the figure and then either you can get the figure handle back as a return value, or if not you can get it with e.g. plt.gcf() and then modify everything you want through matplotlib API.

1 Like