fig, axes = plt.subplots(2,figsize=(15,10))
sns.lineplot(agg_cases_death.index, agg_cases_death.cases, ax=axes[0]).set_title('Cases')
sns.lineplot(agg_cases_death.index, agg_cases_death.deaths, ax=axes[1]).set_title('Deaths')
plt.show()
The above used to work perfectly on jupyter notebook on my desktop but while I ran the same code in AWS Sagemaker Jupyter notebook it produces error. It says the module 'seaborn' has no attribute lineplot.
Is there something we need to set up while using aws sagemaker jupyter?