Matplotlib Attributeerror Nonetype Object Has No Attribute Canvas

Matplotlib Attributeerror Nonetype Object Has No Attribute Canvas