49899ef69309d2a0ab6ad785f455eb53a8443a06,scanpy/tools/dpt.py,,plot_groups,#Any#Any#Any#Any#Any#Any#,202

Before Change


        axs[1].legend(frameon=False, loc=params["legendloc"])

    // row categories / experimental groups in ddata
    if "rowcat" in ddata:
        if params["rowcat"] == "":
            // simply take a random key
            rowcat = list(ddata["rowcat"].keys())[0]

After Change


        axs[1].legend(frameon=False, loc=params["legendloc"])

    // sample annotation in adata
    if len(adata.smp_keys()) > 0:
        if params["smp"] == "":
            smp = adata.smp_keys()[0]
            sett.m(0, "coloring according to", smp)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: theislab/scanpy
Commit Name: 49899ef69309d2a0ab6ad785f455eb53a8443a06
Time: 2017-02-08
Author: f.alex.wolf@gmx.de
File Name: scanpy/tools/dpt.py
Class Name:
Method Name: plot_groups


Project Name: theislab/scanpy
Commit Name: 49899ef69309d2a0ab6ad785f455eb53a8443a06
Time: 2017-02-08
Author: f.alex.wolf@gmx.de
File Name: scanpy/tools/dpt.py
Class Name:
Method Name: plot


Project Name: theislab/scanpy
Commit Name: 49899ef69309d2a0ab6ad785f455eb53a8443a06
Time: 2017-02-08
Author: f.alex.wolf@gmx.de
File Name: scanpy/preprocess/advanced.py
Class Name:
Method Name: subsample