1. सीखें
  2. /
  3. पाठ्यक्रम
  4. /
  5. Intermediate Data Visualization with Seaborn

Connected

अभ्यास

Plot a histogram

The displot() function will return a histogram by default. The displot() can also create a KDE or rug plot which are useful ways to look at the data. Seaborn can also combine these plots so you can perform more meaningful analysis.

निर्देश

100 XP
  • Create a displot for the data.
  • Explicitly pass in the number 20 for the number of bins in the histogram.
  • Display the plot using plt.show().