RE: can't plot

2019-11-01 Thread Manuel Sopena Ballesteros
[mailto:zjf...@gmail.com] Sent: Wednesday, October 30, 2019 5:10 PM To: users Subject: Re: can't plot It might be due other reason, you can set the interpreter log level to be DEBUG to get more info. Add following into log4j.properties log4j.logger.org.apache.zeppelin.interpreter=DEBUG Manuel

RE: can't plot

2019-10-30 Thread Queimado, Fernando (Nokia - PT/Amadora)
unsubscribe

Re: can't plot

2019-10-30 Thread Jeff Zhang
> > > > > > > https://zeppelin.apache.org/docs/0.8.0/interpreter/python.html#ipython-support > > > > both grpcio and jupyter are installed > > > > any idea? > > > > Manuel > > > > *From:* Jeff Zhang [mailto:zjf...@gmail.com] > *

RE: can't plot

2019-10-29 Thread Manuel Sopena Ballesteros
installed any idea? Manuel From: Jeff Zhang [mailto:zjf...@gmail.com] Sent: Wednesday, October 30, 2019 12:53 PM To: users Subject: Re: can't plot Based on the error message, you are still using python instead of ipython. It is hard to tell what's wrong. One suggestion is to try 0.8.2 which is

Re: can't plot

2019-10-29 Thread Jeff Zhang
, ast.PyCF_ONLY_AST, 1) > > File "", line 1 > > %matplotlib inline > > ^ > > SyntaxError: invalid syntax > > > > Manuel > > > > *From:* Jeff Zhang [mailto:zjf...@gmail.com] > *Sent:* Wednesday, October 30, 2019 12:43 PM > *To:* users > *Subj

RE: can't plot

2019-10-29 Thread Manuel Sopena Ballesteros
join(stmts), '', 'exec', ast.PyCF_ONLY_AST, 1) File "", line 1 %matplotlib inline ^ SyntaxError: invalid syntax Manuel From: Jeff Zhang [mailto:zjf...@gmail.com] Sent: Wednesday, October 30, 2019 12:43 PM To: users Subject: Re: can't plot Try this %pyspark %matplotlib inline import matp

Re: can't plot

2019-10-29 Thread Jeff Zhang
Try this %pyspark %matplotlib inline import matplotlib.pyplot as plt plt.figure() plt.plot([1, 2, 3]) Manuel Sopena Ballesteros 于2019年10月30日周三 上午9:39写道: > Another example: > > > > %pyspark > > > > import matplotlib.pyplot as plt > > > > plt.plot([1, 2, 3]) > > z.show(plt) > >

Re: can't plot

2019-10-29 Thread Jeff Zhang
I guess you are using ipython (starting from 0.8.x zeppelin will try to use ipython first if it is available) For matplotlib ploting in ipython, you need to add the following line %matplotlib inline Manuel Sopena Ballesteros 于2019年10月30日周三 上午9:12写道: > Dear Zeppelin user community, > > > > I

RE: can't plot

2019-10-29 Thread Manuel Sopena Ballesteros
Another example: %pyspark import matplotlib.pyplot as plt plt.plot([1, 2, 3]) z.show(plt) plt.close() According to documentation https://zeppelin.apache.org/docs/0.8.0/interpreter/python.html#matplotlib-integration Am I right assuming that I can use z.show in %pyspark? Thank you Manuel