Complete the code to import seaborn with its common alias.
import [1] as sns
The standard way to import seaborn is import seaborn as sns.
Complete the code to create a figure-level plot using seaborn's scatterplot function.
sns.[1](data=df, x='total_bill', y='tip')
The correct seaborn function for scatter plots is scatterplot.
Fix the error in the code to create an axes-level plot with seaborn's histplot on a given matplotlib axis.
fig, ax = plt.subplots() sns.histplot(data=df, x='total_bill', ax=[1])
The matplotlib axis object is stored in the variable ax, which must be passed to seaborn's ax parameter.
Fill both blanks to create a figure-level seaborn plot and then show it using matplotlib.
plot = sns.[1](data=df, x='total_bill', y='tip') plt.[2]()
Use scatterplot for the figure-level plot and plt.show() to display it.
Fill all three blanks to create an axes-level seaborn plot on a matplotlib axis and then set the title.
fig, ax = plt.subplots() sns.[1](data=df, x='total_bill', y='tip', ax=[2]) ax.[3]('Total Bill vs Tip')
Use scatterplot for the axes-level plot, pass the axis ax, and set the title with set_title.