890ad1b6596d353790180f3bcac7d028ddae21b1,scanpy/plotting/anndata.py,,heatmap,#Any#Any#Any#Any#Any#Any#Any#Any#,767

Before Change


    groupby_ax.set_ylabel(groupby)

    sns.heatmap(obs_tidy, yticklabels="none", ax=heatmap_ax, cbar_ax=heatmap_cbar_ax, **kwargs)
    heatmap_ax.set_yticklabels([])
    heatmap_ax.set_ylabel("")
    pl.subplots_adjust(wspace=0.02, hspace=0.01)
    utils.savefig_or_show("heatmap", show=show, save=save)

After Change


        value_sum += value
        label2code[label] = code

    groupby_ax.imshow(np.matrix([label2code[lab] for lab in obs_tidy.index]).T, aspect="auto")
    groupby_ax.set_yticks(ticks)
    groupby_ax.set_yticklabels(labels)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: theislab/scanpy
Commit Name: 890ad1b6596d353790180f3bcac7d028ddae21b1
Time: 2018-06-28
Author: fidel.ramirez@gmail.com
File Name: scanpy/plotting/anndata.py
Class Name:
Method Name: heatmap


Project Name: markovmodel/PyEMMA
Commit Name: 3da677d65756f228325cfeba341b56c2b4622297
Time: 2018-06-20
Author: thempel@zedat.fu-berlin.de
File Name: pyemma/plots/plots1d.py
Class Name:
Method Name: plot_feature_histograms


Project Name: prody/ProDy
Commit Name: cd2d6ad5bf8b7663ab3aedd2c5aadd429d3c17a3
Time: 2018-02-19
Author: shz66@pitt.edu
File Name: prody/utilities/catchall.py
Class Name:
Method Name: showMatrix