5b7bf6c9d574a8a91a2ed9a0da011e1a41967073,skbio/draw/tests/test_distributions.py,DistributionsTests,test_create_legend,#DistributionsTests#,340
Before Change
def test_create_legend(self):
_create_box_plot_legend() should create a legend on valid input.
fig, ax = _create_plot()
_create_legend(ax, ["b", "r"], ["dist1", "dist2"], "colors")
self.assertEqual(len(ax.get_legend().get_texts()), 2)
fig, ax = _create_plot()
After Change
def test_create_legend(self):
_create_box_plot_legend() should create a legend on valid input.
fig, ax = plt.subplots()
_create_legend(ax, ["b", "r"], ["dist1", "dist2"], "colors")
self.assertEqual(len(ax.get_legend().get_texts()), 2)
fig, ax = plt.subplots()
In pattern: SUPERPATTERN
Frequency: 18
Non-data size: 3
Instances
Project Name: biocore/scikit-bio
Commit Name: 5b7bf6c9d574a8a91a2ed9a0da011e1a41967073
Time: 2014-03-19
Author: jorgecanardo@gmail.com
File Name: skbio/draw/tests/test_distributions.py
Class Name: DistributionsTests
Method Name: test_create_legend
Project Name: biocore/scikit-bio
Commit Name: 5b7bf6c9d574a8a91a2ed9a0da011e1a41967073
Time: 2014-03-19
Author: jorgecanardo@gmail.com
File Name: skbio/draw/tests/test_distributions.py
Class Name: DistributionsTests
Method Name: test_set_figure_size_long_labels
Project Name: biocore/scikit-bio
Commit Name: 5b7bf6c9d574a8a91a2ed9a0da011e1a41967073
Time: 2014-03-19
Author: jorgecanardo@gmail.com
File Name: skbio/draw/tests/test_distributions.py
Class Name: DistributionsTests
Method Name: test_set_figure_size_invalid
Project Name: biocore/scikit-bio
Commit Name: 5b7bf6c9d574a8a91a2ed9a0da011e1a41967073
Time: 2014-03-19
Author: jorgecanardo@gmail.com
File Name: skbio/draw/tests/test_distributions.py
Class Name: DistributionsTests
Method Name: test_plot_bar_data_bad_error_bar_type
Project Name: biocore/scikit-bio
Commit Name: 5b7bf6c9d574a8a91a2ed9a0da011e1a41967073
Time: 2014-03-19
Author: jorgecanardo@gmail.com
File Name: skbio/draw/tests/test_distributions.py
Class Name: DistributionsTests
Method Name: test_set_axes_options_ylim
Project Name: biocore/scikit-bio
Commit Name: 5b7bf6c9d574a8a91a2ed9a0da011e1a41967073
Time: 2014-03-19
Author: jorgecanardo@gmail.com
File Name: skbio/draw/tests/test_distributions.py
Class Name: DistributionsTests
Method Name: test_color_box_plot_invalid_input
Project Name: biocore/scikit-bio
Commit Name: 5b7bf6c9d574a8a91a2ed9a0da011e1a41967073
Time: 2014-03-19
Author: jorgecanardo@gmail.com
File Name: skbio/draw/tests/test_distributions.py
Class Name: DistributionsTests
Method Name: test_set_figure_size
Project Name: biocore/scikit-bio
Commit Name: 5b7bf6c9d574a8a91a2ed9a0da011e1a41967073
Time: 2014-03-19
Author: jorgecanardo@gmail.com
File Name: skbio/draw/tests/test_distributions.py
Class Name: DistributionsTests
Method Name: test_color_box_plot
Project Name: biocore/scikit-bio
Commit Name: 5b7bf6c9d574a8a91a2ed9a0da011e1a41967073
Time: 2014-03-19
Author: jorgecanardo@gmail.com
File Name: skbio/draw/tests/test_distributions.py
Class Name: DistributionsTests
Method Name: test_plot_scatter_data_empty
Project Name: biocore/scikit-bio
Commit Name: 5b7bf6c9d574a8a91a2ed9a0da011e1a41967073
Time: 2014-03-19
Author: jorgecanardo@gmail.com
File Name: skbio/draw/tests/test_distributions.py
Class Name: DistributionsTests
Method Name: test_plot_bar_data_empty
Project Name: biocore/scikit-bio
Commit Name: 5b7bf6c9d574a8a91a2ed9a0da011e1a41967073
Time: 2014-03-19
Author: jorgecanardo@gmail.com
File Name: skbio/draw/tests/test_distributions.py
Class Name: DistributionsTests
Method Name: test_set_figure_size_defaults
Project Name: biocore/scikit-bio
Commit Name: 5b7bf6c9d574a8a91a2ed9a0da011e1a41967073
Time: 2014-03-19
Author: jorgecanardo@gmail.com
File Name: skbio/draw/tests/test_distributions.py
Class Name: DistributionsTests
Method Name: test_plot_bar_data
Project Name: biocore/scikit-bio
Commit Name: 5b7bf6c9d574a8a91a2ed9a0da011e1a41967073
Time: 2014-03-19
Author: jorgecanardo@gmail.com
File Name: skbio/draw/tests/test_distributions.py
Class Name: DistributionsTests
Method Name: test_plot_scatter_data
Project Name: biocore/scikit-bio
Commit Name: 5b7bf6c9d574a8a91a2ed9a0da011e1a41967073
Time: 2014-03-19
Author: jorgecanardo@gmail.com
File Name: skbio/draw/tests/test_distributions.py
Class Name: DistributionsTests
Method Name: test_plot_box_data
Project Name: biocore/scikit-bio
Commit Name: 5b7bf6c9d574a8a91a2ed9a0da011e1a41967073
Time: 2014-03-19
Author: jorgecanardo@gmail.com
File Name: skbio/draw/tests/test_distributions.py
Class Name: DistributionsTests
Method Name: test_set_axes_options_bad_ylim
Project Name: biocore/scikit-bio
Commit Name: 5b7bf6c9d574a8a91a2ed9a0da011e1a41967073
Time: 2014-03-19
Author: jorgecanardo@gmail.com
File Name: skbio/draw/tests/test_distributions.py
Class Name: DistributionsTests
Method Name: test_plot_box_data_empty
Project Name: biocore/scikit-bio
Commit Name: 5b7bf6c9d574a8a91a2ed9a0da011e1a41967073
Time: 2014-03-19
Author: jorgecanardo@gmail.com
File Name: skbio/draw/tests/test_distributions.py
Class Name: DistributionsTests
Method Name: test_set_axes_options
Project Name: biocore/scikit-bio
Commit Name: 5b7bf6c9d574a8a91a2ed9a0da011e1a41967073
Time: 2014-03-19
Author: jorgecanardo@gmail.com
File Name: skbio/draw/tests/test_distributions.py
Class Name: DistributionsTests
Method Name: test_create_legend_invalid_input