0

Here is how I plot the ecdf of my data

d1 = list(np.random.rand(10))
d2 = list(np.random.rand(10))

plt.figure()

sns.displot(d1, label='label1', color="b", kind='ecdf')
sns.displot(d2, label='label2', color="r", kind='ecdf')
plt.legend()
plt.show()

Which gives: enter image description here

However, my intension was to plot this on 1 figure, for ease of comparison. Similar to the figure below: enter image description here

Amina Umar
  • 502
  • 1
  • 9

0 Answers0