matplotlib - Figure object have no attribute set_title ...
stackoverflow.com › questions › 44811302Jun 29, 2017 · I have used stem_graphic to plot a stem and leaf plot and saved it to pdf but when trying to enter title its giving error: Figure object have no attribute set_title. ax, b=stem_graphic (mileage ['disp']) ax.set_title ("Vicky") This is the error Traceback (most recent call last): File "<pyshell#214>", line 1, in <module> ax.set_title ("Vicky") AttributeError: 'Figure' object has no attribute 'set_title'.