def test_binary_hull_plot(self):
    ' Test plotting binary hull. '
    expected_files = ['KP_hull_simple.svg']
    cursor = res2dict((REAL_PATH + 'data/hull-KP-KSnP_pub/*.res'))[0]
    QueryConvexHull(cursor=cursor, elements=['K', 'P'], svg=True, hull_cutoff=0.0, plot_kwargs={'plot_fname': 'KP_hull_simple', 'svg': True})
    for expected_file in expected_files:
        self.assertTrue(os.path.isfile(expected_file))
Test plotting binary hull.
def test_binary_hull_plot(self):
    '  '
    expected_files = ['KP_hull_simple.svg']
    cursor = res2dict((REAL_PATH + 'data/hull-KP-KSnP_pub/*.res'))[0]
    QueryConvexHull(cursor=cursor, elements=['K', 'P'], svg=True, hull_cutoff=0.0, plot_kwargs={'plot_fname': 'KP_hull_simple', 'svg': True})
    for expected_file in expected_files:
        self.assertTrue(os.path.isfile(expected_file))