I don't understand the error

This is the code above

This is the error

I don’t understand the error

Please post your code instead of a picture. Thanks!

x_axis and y_axis are strings. What exactly do you expect the plot function to do with two strings?

edit: A quick look at the documentation would reveal both what you are trying to do and what you are missing for it to work.
The error message is happening because of how the function is executed if the missing part is indeed missing. So the message itself doesn’t relate to the actual thing you are doing wrong.

2 Likes

Thank You Solved also inside loc the argument should be ‘lower right’ and not with the upper case first letter

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.