AttributeError: 'tuple' object has no attribute 'set_size_inches'

I am getting this error on Jupyter Notebook, and I don’t really know why as it used to work perfectly fine a few months ago:


Can someone please explain what this means, and what I need to address here? Let me know you need to see more!


Hello man!
To be honest i do not know exactly what’s happening ( or happened) there; however i found that comma on the previous line suspect^^ Can you try to remove it and see how it goes?

The error is saying that set_size_inches is not a method of the tuple ( basically an ordered and immutable list) you have there^^

Thanks mate :smiley: I would have been sat here for weeks haha

1 Like