Skip to article frontmatterSkip to article content

Xeus-Cling supports displaying rich content in Jupyter Notebooks, but you need a C++ library like Python’s Matplotlib that supports it. While you can find few projects on GitHub for that, they’re either abandoned (e.g. xplot) or in an early stage for a long time (e.g. XVega).

Back in 2022, I was in need of such a library to no avail. I started to think of a quick-and-dirty hack like the one mentioned here. After attending a SHARCNET’s General Interest webinar by my colleague Ge Baolai about realtime display with Gnuplot around the same time, the idea of using Gnuplot as the backend sparked in my mind and G3P was born.

G3P 101

Let’s switch to G3P Guide➡️ to learn more about it.