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

ggplot gives error on Aesthetic Object #48

Closed
ghost opened this issue Jul 30, 2013 · 6 comments
Closed

ggplot gives error on Aesthetic Object #48

ghost opened this issue Jul 30, 2013 · 6 comments

Comments

@ghost
Copy link

ghost commented Jul 30, 2013

/usr/local/lib/python2.7/site-packages/bokeh/ggplot.pyc in init(self, x, y, *_kwtraits)
63 def init(self, x=None, y=None, *_kwtraits):
64 if x:
---> 65 self.x = x
66 if y:
67 self.y = y

/usr/local/lib/python2.7/site-packages/bokeh/properties.pyc in set(self, obj, value)
41 def set(self, obj, value):
42 old = self.get(obj)
---> 43 obj._changed_vars.add(self.name)
44 if self.matches(value, old):
45 return

AttributeError: 'Aesthetic' object has no attribute '_changed_vars'

@choct155
Copy link

choct155 commented Aug 6, 2013

Just wanted to second this issue (and to track resolution). I encountered this while trying to recreate bokeh-facets.html:


AttributeError Traceback (most recent call last)
in ()
----> 1 g = ggplot(df, aes("displ", "mpg", color="green")) + facet_grid("cyl", "origin") + geom_point()

/home/choct155/analysis/Anaconda/lib/python2.7/site-packages/bokeh/functional.pyc in aes(x, y, *_kw)
14
15 def aes(x=None, y=None, *_kw):
---> 16 return Aesthetic(x=x, y=y, **kw)
17
18 factor = Factor

/home/choct155/analysis/Anaconda/lib/python2.7/site-packages/bokeh/ggplot.pyc in init(self, x, y, *_kwtraits)
63 def init(self, x=None, y=None, *_kwtraits):
64 if x:
---> 65 self.x = x
66 if y:
67 self.y = y

/home/choct155/analysis/Anaconda/lib/python2.7/site-packages/bokeh/properties.pyc in set(self, obj, value)
41 def set(self, obj, value):
42 old = self.get(obj)
---> 43 obj._changed_vars.add(self.name)
44 if self.matches(value, old):
45 return

AttributeError: 'Aesthetic' object has no attribute '_changed_vars'

@choct155
Copy link

choct155 commented Sep 2, 2013

Just bumping this issue again to keep it on the radar...

@pzwang
Copy link

pzwang commented Sep 3, 2013

Thanks for the heads-up. I'll take a look at this tomorrow.

@bryevdv
Copy link
Member

bryevdv commented Apr 10, 2014

@damianavila @pzwang has this issue be resolved or superseded by current work?

@damianavila
Copy link
Contributor

I think this issue can be close... and probably we need to revisit the ggplot "areas" inside bokeh. I will open another issue for that...

@damianavila
Copy link
Contributor

Since "old" ggplot support was removed, I am closing this one...

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

No branches or pull requests

4 participants