'Helper method to test mixed global and specific color args.'

def test_mixed_inputs(self):

    p = plt.figure()
    rgb = (100, 0, 0)
    rgb_other = (0, 100, 0)
    alpha1 = 0.5
    alpha2 = 0.75
    p.circle([1, 2, 3], [1, 2, 3], color=rgb, line_color=rgb_other)
    self.assertTupleEqual(p.renderers[(-1)].glyph.fill_color, rgb)
    self.assertTupleEqual(p.renderers[(-1)].glyph.line_color, rgb_other)
    p.circle([1, 2, 3], [1, 2, 3], color=rgb, fill_color=rgb_other)
    self.assertTupleEqual(p.renderers[(-1)].glyph.line_color, rgb)
    self.assertTupleEqual(p.renderers[(-1)].glyph.fill_color, rgb_other)
    p.circle([1, 2, 3], [1, 2, 3], color=rgb, alpha=alpha1, line_alpha=alpha2)
    self.assertEqual(p.renderers[(-1)].glyph.line_alpha, alpha2)
    self.assertEqual(p.renderers[(-1)].glyph.fill_alpha, alpha1)
