Complete the code to import the seaborn library as sns.
import [1] as sns
Seaborn is the library used for KDE plots, so we import it as sns.
Complete the code to create a KDE plot of data1 with shading.
sns.kdeplot([1], shade=True)
We want to plot the KDE of data1, so we pass data1 to sns.kdeplot.
Fix the error in the code to overlay KDE plots of data1 and data2 on the same axes.
sns.kdeplot(data1, shade=True) sns.kdeplot([1], shade=True)
To overlay, plot data1 first, then data2 on the same axes.
Fill both blanks to create KDE plots of data1 and data2 with different colors.
sns.kdeplot([1], shade=True, color='blue') sns.kdeplot([2], shade=True, color='red')
Use data1 for the blue plot and data2 for the red plot to distinguish them.
Fill all three blanks to create KDE plots of data1 and data2 with labels and a legend.
sns.kdeplot([1], shade=True, label=[2], color=[3]) sns.kdeplot(data2, shade=True, label='Data 2', color='red') plt.legend()
Plot data1 with label 'Data 1' and color blue, then data2 with label 'Data 2' and color red, then show legend.
