has2k1 / gnuplot_kernel

A Jupyter/IPython kernel for gnuplot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

not work on Mac, can not display image~~

xtchenhui opened this issue · comments

An unknown error occured. Failed to read and display image file from gnuplot.
Out[4]:
Terminal type set to 'unknown'
^
unknown or ambiguous terminal type; type just 'set terminal' for a list

I do not use a a Mac so I am unable to verify whether this issue affects all Macs. However, I think it may be local, probably due a missing the cairopng backend.

Set the terminal to one that is available on your system. Also see the example notebook on how to change the terminal from within the IPython session.

I confirm that gnuplot-kernel 0.2.3 works on my mac:

sudo port install gnuplot     (installed gnuplot via mac ports)
pip install gnuplot_kernel   (no condo package so I used pip)
conda install metakernel  (use pip if you don't have anaconda)

done!