[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
unsubscribe
>
>
>
>
>
>
> 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]
> *
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
, 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
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
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)
>
>
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
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