Working with legend

The legend is the description of each of the graphs on a given axes. Each axis has its own legend. Matplotlib provides many different ways in which a legend can be specified. We will cover as many combinations as possible, though we wont be able to cover a complete set of possibilities in this book.