Join GitHub today
Fix using .get_color() and friends in labels handling #10030
This code was introduced in v2.1.1 and, apparently, wasn't tested, because .get_color() returns array.
Here is examples (raises ValueError):
It does work for me (e.g. fix plotting tests in the Diofant), but apparently it breaks some matplotlib tests.
Unfortunately, no. Now I see this exception:
(This test coming from https://github.com/diofant/diofant/blob/master/diofant/plotting/tests/test_plot.py).