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

Doesn't viz.open() work any longer? #45

Open
SikFar opened this issue May 24, 2017 · 0 comments
Open

Doesn't viz.open() work any longer? #45

SikFar opened this issue May 24, 2017 · 0 comments

Comments

@SikFar
Copy link

SikFar commented May 24, 2017

I have this code:

from numpy import random
from lightning import Lightning
lgn = Lightning(local=True)

lgn.enable_local()

n = 100
x = random.randn(n)
y = random.randn(n)
viz = lgn.scatter(x, y)
viz.open()

But I get this error:

Traceback (most recent call last):
  File "/Users/username/PycharmProjects/MLtest/mltest.py", line 32, in <module>
    viz.open()
AttributeError: 'VisualizationLocal' object has no attribute 'open'

I'm trying to show plot locally and running the program on PyCharm. I have the lightning app installed and using python 2.7.10. Im warming up and hoping to use lightning vis with mye spark kmeans clustering code :)
@freeman-lab

Thanks!

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

No branches or pull requests

1 participant