I have a pandas data frame "data" with four columns age, year, nodes, status. Status being the class/target variable which has only two values 1 - alive and 2- dead.
sns.FacetGrid(data, hue="status", size=5).map(sns.distplot, "year").add_legend();
plt.show();
sns.FacetGrid(data, hue="status", size=5).map(sns.distplot, "age").add_legend();
plt.show();
After executing the above statements in single cell in jupyter, the output will be two plots one after another in a single cell.
I would want to print these plots side by side in a single cell. Please help.