Curriculum
Course: NumPy
Login

Curriculum

NumPy

Text lesson

Import Seaborn

Include the Seaborn module in your code with the following statement:

import seaborn as sns

Plotting a Distplot

Example

import matplotlib.pyplot as plt
import seaborn as sns

sns.distplot([012345])

plt.show()

Plotting a Distplot Without the Histogram

Example

import matplotlib.pyplot as plt
import seaborn as sns

sns.distplot([012345], hist=False)

plt.show()