Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add labels in popups #31

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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