SyntaxFix
Write A Post
Hire A Developer
Questions
A shorthand answer assuming import matplotlib.pyplot as plt:
import matplotlib.pyplot as plt
plt.gca().set_title('title')
as in:
plt.subplot(221) plt.gca().set_title('title') plt.subplot(222) etc...
Then there is no need for superfluous variables.