'How do you change the list so that it becomes a label?

I want to change the list in the image title to a label



Solution 1:[1]

plt.xlabel("Some label")
plt.ylabel("other label")

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 EAZY_EZ_HE