How to add a title and labels for the axis in matplotlib(python)? -
i have tried make this, says no object attribute tittle
import matplotlib matplotlib.use('svg') pylab import * clf() tittle("frequency of words") xlabel("words") ylabel("frequency")
you need create figure before can set title:
figure() title('frequency of words')
Comments
Post a Comment