GMT (cli, not pygmt) in jupyter notebook

Hi there,

I’m trying to create some teaching material using jupyter notebook. So I installed everything, I launched a bash kernel, wrote some basic stuff and ran the cells.

  1. The simple print output (echo "hello world") come with extra stdout + the exit code. Any idea on how to consistently get rid of it?
  2. I’d like the GMT figures to be printed inside the notebook instead of externally. Any suggestion?

Best,

This notebook may be helpful.

Oh!
import IPython.display and manually invoke Image where the missing parts.

Thanks ! :slight_smile: