def bypixel(source, canvas, glyph, agg):
    dshape = discover(source)
    if not istabular(dshape):
        raise ValueError("source must be tabular")
    schema = dshape.measure
    glyph.validate(schema)
    agg.validate(schema)
    return bypixel.pipeline(source, schema, canvas, glyph, agg)
Compute an aggregate grouped by pixel sized bins.
dataset/ETHPy150Open bokeh/datashader/datashader/core.py/bypixel