mplleaflet icon indicating copy to clipboard operation
mplleaflet copied to clipboard

Add labels in popups

Open ezheidtmann opened this issue 10 years ago • 4 comments

Re #27, this PR renders data labels in a popup window. Feedback welcome.

ezheidtmann avatar Nov 18 '15 19:11 ezheidtmann

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.

jwass avatar Nov 23 '15 14:11 jwass

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()

ezheidtmann avatar Nov 23 '15 18:11 ezheidtmann

Any updates on this PR?

seperman avatar Oct 27 '17 18:10 seperman

I can confirm that this works.

ghost avatar Mar 13 '18 10:03 ghost