I'm plotting, through seaborn, two ecdf distplots of two variables (varA and varB) through this code:
a=sns.displot(data=doc_topic_df, x="varA", kind="ecdf")
b=sns.displot(data=doc_topic_df, x="varB", kind="ecdf")
I receive this output:
But I would like to have a single plot with shared axis, in a way like this:
How can I do?