fixed visualizations in ipython notebook