Prettify the graphics callback