69386514305dab18b5710da8659a9a4b5992cd74,pyemma/plots/tests/test_plots1d.py,TestPlots1d,test_invalid_input,#TestPlots1d#,34

Before Change



    def test_invalid_input(self):
        with self.assertRaises(ValueError):
            plot_feature_histograms(self.data, feature_labels=np.random.rand(5))

    def test_feature_histograms_mpl_arguments(self):
        labels = ["PyEMMA" for _ in range(self.data.shape[1])]
        plot_feature_histograms(self.data,

After Change



    def test_invalid_input(self):
        with self.assertRaises(ValueError):
            fig, _ = plot_feature_histograms(self.data, feature_labels=np.random.rand(5))
            plt.close(fig)

    def test_feature_histograms_mpl_arguments(self):
        labels = ["PyEMMA" for _ in range(self.data.shape[1])]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: markovmodel/PyEMMA
Commit Name: 69386514305dab18b5710da8659a9a4b5992cd74
Time: 2018-06-20
Author: thempel@zedat.fu-berlin.de
File Name: pyemma/plots/tests/test_plots1d.py
Class Name: TestPlots1d
Method Name: test_invalid_input


Project Name: markovmodel/PyEMMA
Commit Name: 69386514305dab18b5710da8659a9a4b5992cd74
Time: 2018-06-20
Author: thempel@zedat.fu-berlin.de
File Name: pyemma/plots/tests/test_plots1d.py
Class Name: TestPlots1d
Method Name: test_feature_histograms_mpl_arguments


Project Name: markovmodel/PyEMMA
Commit Name: 69386514305dab18b5710da8659a9a4b5992cd74
Time: 2018-06-20
Author: thempel@zedat.fu-berlin.de
File Name: pyemma/plots/tests/test_plots1d.py
Class Name: TestPlots1d
Method Name: test_feature_histograms_ax_argument


Project Name: markovmodel/PyEMMA
Commit Name: 69386514305dab18b5710da8659a9a4b5992cd74
Time: 2018-06-20
Author: thempel@zedat.fu-berlin.de
File Name: pyemma/plots/tests/test_plots1d.py
Class Name: TestPlots1d
Method Name: test_feature_histograms