Custom preview on python component - minimal example?

Hi Toni, I shared a bunch of content over here that goes through how to draw things with GHPython, that should help you get going I imagine: