38512d92a8682a62e73c5b9e86366888be374532,dragonn/vis/__init__.py,,plot_motif_scores,#,48

Before Change


    plt.title(title)
    if show==True:
        plt.show()
    return f,f.axes

def plot_model_weights(model,layer_idx=-2,show=True):
    if show==False:

After Change


    //remove any redundant axes
    motif_scores=motif_scores.squeeze()
    if axes is None:
        f,axes=plt.subplots(1,dpi=80,figsize=figsize)
        show=True
    else:
        show=False
    axes.plot(motif_scores, "-o")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: kundajelab/dragonn
Commit Name: 38512d92a8682a62e73c5b9e86366888be374532
Time: 2019-05-29
Author: annashcherbina@gmail.com
File Name: dragonn/vis/__init__.py
Class Name:
Method Name: plot_motif_scores


Project Name: scikit-learn/scikit-learn
Commit Name: b4db36d337a4ff83f1bcb37c5a8c615d3134d372
Time: 2020-05-20
Author: jliu176@gmail.com
File Name: examples/covariance/plot_mahalanobis_distances.py
Class Name:
Method Name:


Project Name: luispedro/mahotas
Commit Name: 8385a44c5aa5fd4f615341a9557214db78a6c982
Time: 2019-03-17
Author: luis@luispedro.org
File Name: mahotas/demos/surf_luispedro.py
Class Name:
Method Name: