hi,
  With zeppelin0.6.0, (matplotlib)plt fail with %python would fail: 
RuntimeError: could not open display.

If in place of %pyspark, it's OK. How to fix it?


code:
%pythoh
import matplotlib
import io
matplotlib.use('Agg')
import matplotlib.pyplot as plt
plt.figure()
plt.plot([1,2,3,4])
plt.ylabel('some')
show(plt)

Thanks,



Treble Meng

Reply via email to