We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a851860 commit 40e5a0aCopy full SHA for 40e5a0a
lib/matplotlib/tests/test_colors.py
@@ -618,8 +618,9 @@ def test_cn():
618
matplotlib.rcParams['axes.prop_cycle'] = cycler('color', ['8e4585', 'r'])
619
620
assert mcolors.to_hex("C0") == '#8e4585'
621
- # if '8e4585' gets parsed as a float before it gets detected as a hex colour it will be interpreted as a very
622
- # large number. this mustn't happen.
+ # if '8e4585' gets parsed as a float before it gets detected as a hex
+ # colour it will be interpreted as a very large number.
623
+ # this mustn't happen.
624
assert mcolors.to_rgb("C0")[0] != np.inf
625
626
0 commit comments