The class method in the title is expecting a dictionary with values of type list, and this is not documented, nor it is intuitive.
I am writing to express my concern regarding the handling of legends for contour plots in recent versions of matplotlib. While line plots (plot) allow direct assignment of legend labels via the label ...