How to do it...

The following is the code block that plots three box plots, one for each of the attributes:

  1. Read the data from a CSV file into a pandas DataFrame:
wine_quality = pd.read_csv('winequality.csv', delimiter=';')
  1. Create a data list with three attributes of the Wine Quality dataset:
data = [wine_quality['alcohol'], wine_quality['fixed acidity'], 
wine_quality['quality']]
  1. Plot the boxplot:
plt.boxplot(data)
  1. Display the plot on the screen:
plt.show()