bokeh/plotting/tests/test_figure.py
def line_color_input_checks(self, p, rgb):
        """Helper method for checks specific to line_color= only input."""
        p.circle([1, 2, 3], [1, 2, 3], line_color=rgb)
        assert p.renderers[-1].glyph.line_color == rgb
        # should always be an integer by the time it is added to property
        for v in p.renderers[-1].glyph.line_color[0:3]:
            assert isinstance(v, int)
Helper method for checks specific to line_color= only input.
Helper method for checks specific to line_color= only input.
Helper method for checks specific to line_color = only input .
def line_color_input_checks(self, p, rgb):
        p.circle([1, 2, 3], [1, 2, 3], line_color=rgb)
        assert p.renderers[-1].glyph.line_color == rgb
        for v in p.renderers[-1].glyph.line_color[0:3]:
            assert isinstance(v, int)
def line_color_input_checks ( self , p , rgb ) : p . circle ( [ 1 , 2 , 3 ] , [ 1 , 2 , 3 ] , line_color = rgb ) assert p . renderers [ - 1 ] . glyph . line_color == rgb for v in p . renderers [ - 1 ] . glyph . line_color [ 0 : 3 ] : assert isinstance ( v , int )
Helper method for checks specific to line_color= only input.
Helper method for checks specific to line_color = only input .
"""Helper method for checks specific to line_color= only input.""" # should always be an integer by the time it is added to property
self
p
rgb