July 2019
Beginner to intermediate
740 pages
16h 52m
English
In the Plotting with pandas section in the previous chapter, when we discussed how to visualize distributions, we discussed the box plot; seaborn provides a twist on the standard box plot, called the boxen plot, which shows additional quantiles. Let's use the boxen plot to compare earthquake magnitudes across different values for magType, as we did in Chapter 5, Visualizing Data with Pandas and Matplotlib:
>>> sns.boxenplot(... x='magType', y='mag', data=quakes[['magType', 'mag']]... )>>> plt.suptitle('Comparing earthquake magnitude by magType')
This results in the following plot:

Box plots are great for visualizing the quantiles, ...
Read now
Unlock full access