dfd377ee6413c816c74ed1c88fe0fcd3e53a6d8b,tests/test_style/test_colors.py,TestGetColorCycle,test_mpl_ge_150,#TestGetColorCycle#,54
Before Change
Test get color cycle with matplotlib 1.5 or later
assert get_color_cycle() == mpl.rcParams["axes.color_cycle"]
@pytest.mark.filterwarnings()
@pytest.mark.skipif(not mpl_ge_150, reason="requires matplotlib ealier than 1.5")
After Change
assert len(colors) == len(cycle)
// Ensure the colors and cycle match
for color, cycle_color in zip(colors, cycle):
assert color == cycle_color["color"]
@pytest.mark.filterwarnings()
@pytest.mark.skipif(mpl_ge_150, reason="requires matplotlib ealier than 1.5")
def test_mpl_lt_150(self):
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 5
Instances
Project Name: DistrictDataLabs/yellowbrick
Commit Name: dfd377ee6413c816c74ed1c88fe0fcd3e53a6d8b
Time: 2018-03-10
Author: benjamin@bengfort.com
File Name: tests/test_style/test_colors.py
Class Name: TestGetColorCycle
Method Name: test_mpl_ge_150
Project Name: dit/dit
Commit Name: 9c4c33461ddb2d621c2b393a779aa67fea3bef84
Time: 2013-10-18
Author: ryangregoryjames@gmail.com
File Name: dit/utils/tests/test_misc.py
Class Name:
Method Name: test_flatten1
Project Name: dit/dit
Commit Name: 82fde8c147af15b304d7e3b7b1aba1da3bcf988f
Time: 2013-10-23
Author: ryangregoryjames@gmail.com
File Name: dit/tests/test_distribution.py
Class Name:
Method Name: test_dist_iter1
Project Name: PyMVPA/PyMVPA
Commit Name: 2efc3e954f1540ddc62cf729f9fc64ba26f29f80
Time: 2019-05-03
Author: debian@onerussian.com
File Name: mvpa2/tests/test_gnb.py
Class Name:
Method Name: test_gnb_sensitivities
Project Name: dit/dit
Commit Name: 82fde8c147af15b304d7e3b7b1aba1da3bcf988f
Time: 2013-10-23
Author: ryangregoryjames@gmail.com
File Name: dit/tests/test_distribution.py
Class Name:
Method Name: test_dist_iter2