Hadn't messed with Seaborn in a while, so I was refreshing some basic concepts and came across this. When I load a basic plot using replot(), the graph doesn't load. It stops short from actually opening. However, if I use a scatterplot() instead, it loads just fine. Why? What am I missing?
penguins = sns.load_dataset('penguins')
sns.set(style='darkgrid')
sns.relplot(x='bill_length_mm',
y='flipper_length_mm',data=penguins)
plt.show()
Using a scatterplot(), the graph loads without a problem.
sns.set(style='darkgrid')
sns.scatterplot(x='bill_length_mm',
y='flipper_length_mm',data=penguins)
plt.show()