add basic ipython graphics support