Skip to content

Add labels in popups#31

Open
ezheidtmann wants to merge 2 commits intojwass:masterfrom
RideReport:render-labels-in-popup
Open

Add labels in popups#31
ezheidtmann wants to merge 2 commits intojwass:masterfrom
RideReport:render-labels-in-popup

Conversation

@ezheidtmann
Copy link

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

@jwass
Copy link
Owner

jwass commented Nov 23, 2015

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.

@ezheidtmann
Copy link
Author

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

@seperman
Copy link

Any updates on this PR?

@ghost
Copy link

ghost commented Mar 13, 2018

I can confirm that this works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants