cdc6a9b4491b48d9136992c4604792f0057c8bc2,scanpy/tests/plotting.py,,test_matrixplot,#,77

Before Change


    tolerance = 15
    res = compare_images(ROOT + "/master_matrixplot.png", outfile.name, tolerance)

    assert res is None, res

    os.remove(outfile.name)

    // test matrixplot numeric column and alternative cmap

After Change


def test_matrixplot():
    adata = sc.datasets.krumsiek11()
    sc.pl.matrixplot(adata, adata.var_names, "cell_type", use_raw=False, show=False)
    save_and_compare_images("master_matrixplot", tolerance=15)

    // test matrixplot numeric column and alternative cmap
    adata.obs["Gata2"] = adata.X[:, 0]
    sc.pl.matrixplot(adata, adata.var_names, "Gata2", use_raw=False,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: theislab/scanpy
Commit Name: cdc6a9b4491b48d9136992c4604792f0057c8bc2
Time: 2018-10-09
Author: fidel.ramirez@gmail.com
File Name: scanpy/tests/plotting.py
Class Name:
Method Name: test_matrixplot


Project Name: theislab/scanpy
Commit Name: cdc6a9b4491b48d9136992c4604792f0057c8bc2
Time: 2018-10-09
Author: fidel.ramirez@gmail.com
File Name: scanpy/tests/plotting.py
Class Name:
Method Name: test_violin


Project Name: theislab/scanpy
Commit Name: cdc6a9b4491b48d9136992c4604792f0057c8bc2
Time: 2018-10-09
Author: fidel.ramirez@gmail.com
File Name: scanpy/tests/plotting.py
Class Name:
Method Name: test_dotplot


Project Name: theislab/scanpy
Commit Name: cdc6a9b4491b48d9136992c4604792f0057c8bc2
Time: 2018-10-09
Author: fidel.ramirez@gmail.com
File Name: scanpy/tests/plotting.py
Class Name:
Method Name: test_stacked_violin