mplleaflet
mplleaflet copied to clipboard
Add labels in popups
Re #27, this PR renders data labels in a popup window. Feedback welcome.
Hi @ezheidtmann
I was away on vacation the past two weeks and just catching up on things now.
Can you include an example of this? I was trying to get it work using annotate() but the labels weren't coming through.
New to matplot; not sure if I'm doing it the right way, but I think I saw this style in the sklearn examples.
import matplotlib.pyplot as plt
import mplleaflet
# ... get data ...
plot.plot(x, y, label='yo')
mplleaflet.display()
Any updates on this PR?
I can confirm that this works.