fixed the example figures and pep8 test_dsi_metrics.py