Dear moon,
Thanks! It works.
Wush
2015-06-10 21:22 GMT+08:00 moon soo Lee :
> Hi,
>
> I could make matplotlib work in Zeppelin with helper function
>
> %pyspark
> import matplotlib.pyplot as plt
> import StringIO
> def show(p):
> img = StringIO.StringIO()
> p.savefig(img, format='svg')
>
Hi,
I could make matplotlib work in Zeppelin with helper function
%pyspark
import matplotlib.pyplot as plt
import StringIO
def show(p):
img = StringIO.StringIO()
p.savefig(img, format='svg')
img.seek(0)
print "%html " + img.buf + ""
Then it displays plot, like
%pyspark
show(plt)
attachi
Dear all,
I am trying the materials of an online spark course in edX (
https://www.edx.org/course/introduction-big-data-apache-spark-uc-berkeleyx-cs100-1x).
They use the ipython notebook to teach, and I want to test if zeppelin is
as good as ipython notebook when using pyspark.
However, the matpl