Whereas, colspan = 3 in ax1, this means this subplot will protect three of all columns of that row. If we give irregular enter then it can give an error so We've supplied the right value to colspan and rowspan. A legend inside the Matplotlib library basically describes the graph https://raymondvzyed.ka-blogs.com/89108078/hire-someome-to-do-case-study-no-further-a-mystery