mirror of
https://github.com/balkian/gists.git
synced 2024-11-01 08:01:44 +00:00
5 lines
164 B
Python
5 lines
164 B
Python
|
import matplotlib.patches as mpatches
|
||
|
import matplotlib.pyplot as plt
|
||
|
|
||
|
red_patch = mpatches.Patch(color='red', label='The red data')
|
||
|
plt.legend(handles=[red_patch])
|