I always find very user-friendly the methods with multiple predefined parameters such as:
plt.plot([1,2,3], [5,1,2], color = "black", linewidth=10)
In this example the order of the arguments color
and linewidth
is indifferent, in addition the type of the arguments is undefined (**kwargs)
.
The easiness of use comes with the suggestion of parameters as shown in the picture:
Suggested parameters
I tried to explore the method .plot() and it lead me into a deep rabbit hole. The question is, how would you implement such a behavior?