I have a doubt in the video titled ‘Histogram’. When I use the command,
x = np.random.normal(size = 1000) sns.distplot(x);
I get the following warning:
/usr/local/lib/python3.6/dist-packages/seaborn/distributions.py:2557: FutureWarning: \`distplot\` is a deprecated function and will be removed in a future version. Please adapt your code to use either \`displot\` (a figure-level function with similar flexibility) or \`histplot\` (an axes-level function for histograms). warnings.warn(msg, FutureWarning)
How to resolve this error?