can only concatenate str (not "int") to str savefig code example
Example 1: TypeError: can only concatenate str (not "int") to str
print( "Alireza" + str(1980))
Example 2: can only concatenate str (not "int") to str
# To solve the issue, just add str to your number or value like:
print( "Alireza" + str(1980))