1eaa81e72f8c378b46cde16e31740531a2214715,nussl/Repet.py,Repet,plot,#Repet#Any#,463

Before Change



        if plot_beat_spectrum:
            plt.plot(self.get_beat_spectrum())
            plt.title("Beat Spectrum for {}".format(self.audio_signal.file_name))
            plt.grid("on")

        elif plot_sim_matrix:
            plt.pcolormesh(self.get_similarity_matrix())

After Change


            raise AssertionError("Cannot set both plot_beat_spectrum=True and plot_sim_matrix=True!")

        if plot_beat_spectrum:
            beat_spec = self.get_beat_spectrum()
            length = self.audio_signal.signal_duration
            time_vect = np.linspace(0.0, length, num=len(beat_spec))
            plt.plot(time_vect, beat_spec)
            title = title if title is not None else "Beat Spectrum for {}".format(self.audio_signal.file_name)
            plt.title(title)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: interactiveaudiolab/nussl
Commit Name: 1eaa81e72f8c378b46cde16e31740531a2214715
Time: 2016-05-14
Author: eth@nmanilow.com
File Name: nussl/Repet.py
Class Name: Repet
Method Name: plot


Project Name: uber/ludwig
Commit Name: 8e8a0c8384cce0b7bdb85ae08c85013f9090c5f3
Time: 2019-02-09
Author: piero@uber.com
File Name: ludwig/utils/visualization_utils.py
Class Name:
Method Name: lerning_curves_plot


Project Name: streamlit/streamlit
Commit Name: 3e96b208fe5bc38223eb453b68a03dae51a33544
Time: 2018-10-22
Author: thiagot@gmail.com
File Name: lib/streamlit/caseconverters.py
Class Name:
Method Name: to_lower_camel_case