using mpatches.Patch for a custom legend
Create a matplotlib mpatches with a rectangle bi-colored for figure legend
Matplotlib Legend in a Loop? Python legend in 3dplot Python: How to create a legend using an example What is the difference between using the '@patch.object' and 'with patch.object' in Python? Patch __call__ of a function matplotlib legend guide example using mpatches not working Removing duplicate mpatches from a list Patch - Why won't the relative patch target name work? Trouble with the legend User defined legend in python matplotlib mpatches.FancyArrowPatch is too short Matplotlib does not display the hatch of a patch in a legend How to patch function's __code__? Completely custom legend in Matplotlib, Python How to make a legend with only text add legend for some of the lines How to make custom legend in matplotlib Which module to patch Legend using PathCollections in matplotlib Python mock.patch doesn't patch the correct import Python @patch not working How do I change the color of a scatterpoint in the legend? Why will my legend not move in Python Adding legend to a radarchart in Python How to add Legend to x.plot() - Python Legend in matplotlib Legend is not working properly in Python Add a legend (like a matplotlib legend) to an image How to patch an attribute in an object