has2k1 / gnuplot_kernel

A Jupyter/IPython kernel for gnuplot
BSD 3-Clause "New" or "Revised" License
84 stars 25 forks source link

not work on Mac, can not display image~~ #4

Closed xtchenhui closed 6 years ago

xtchenhui commented 8 years ago

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

has2k1 commented 8 years ago

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.

nleclercq commented 7 years ago

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!