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

Before Change


    return f,f.get_axes()

def plot_motif_scores(motif_scores,title="",figsize=(20,3),ylim=(0,20),xlim=None,show=True):
    if show==False:
        plt.ioff()
    else:
        plt.ion() 
    //remove any redundant axes
    motif_scores=motif_scores.squeeze()
    f=plt.figure(figsize=figsize)
    plt.plot(motif_scores, "-o")
    plt.xlabel("Sequence base")

After Change


    if ylim!=None:
        axes.set_ylim(ylim)
    if xlim!=None:
        axes.set_xlim(xlim)
    axes.set_title(title)
    if show==True:
        plt.show()
    else:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

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: mne-tools/mne-python
Commit Name: 64be522285d5eeea4e3fb4c6df133984fc65b74e
Time: 2018-09-08
Author: larson.eric.d@gmail.com
File Name: examples/time_frequency/plot_compute_source_psd_epochs.py
Class Name:
Method Name:


Project Name: DistrictDataLabs/yellowbrick
Commit Name: 08cbf0a9819b92eec39c6127cf8031935a217583
Time: 2017-05-21
Author: benjamin@bengfort.com
File Name: yellowbrick/features/scatter.py
Class Name: ScatterVisualizer
Method Name: draw


Project Name: deeptools/HiCExplorer
Commit Name: 6a11080171a22c91b18508cba9b17cee57d3e0a8
Time: 2017-10-18
Author: wolffj@informatik.uni-freiburg.de
File Name: hicexplorer/hicPlotMatrix.py
Class Name:
Method Name: plotEigenvector