plt label lines code example
Example: python label lines in plot
# Short answer:
# It can get pretty involved, see the source for a few approaches
# Short answer:
# It can get pretty involved, see the source for a few approaches