Create a matplotlib mpatches with a rectangle bi-colored for figure legend

Viewed 1452

i need to create a patch for a legend in a matplotlib figure whose handlebox is a a rectangle with two color. something like this, that i have made with paint coping, cutting and coloring: enter image description here

Can you tell me how and where to start? Thanks.

1 Answers
Related