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

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -