-1

[I have a Guass distrubution ,I wanna plot its CDF and PDF in one plot ,just like the picture,what should I do ? the seaborn has 'kde' to plot the PDF,and 'ecdf' to plot the CDF,but I can't choose both of them like "sns.displot(data,kind=['kde','ecdf']",so ...how can I do ,please help me 1

dllm
  • 1
  • 1
    Plot them in the same figure with axes level plots. `sns.distplot` is a figure-level function. [code and plot](https://i.stack.imgur.com/FBG0t.png). – Trenton McKinney May 18 '22 at 17:10

0 Answers0