can anyone please help me to understand why while executing kdeplot using seaborn library colour legends is not shown for different column variables. When i am executing the same, its taking the first executed variable as its X-axis value. please help.
Specify the label argument to kdeplot and call legend(). (There might be other ways as well, check seaborn documentation)
thank you for the help. its working now.
one more question on x-axis still the first plotted variable name is appearing as in your executed plot total_bill is coming. Is there anyway i can remove that one since x-axis represent both total_bill and tips values.
Following thread may help: Hide Axis Titles in Seaborn