Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
step : anyOf(float, :class:`signal`)
as : oneOf(List(anyOf(string, :class:`signal`)), :class:`signal`)
"""
_schema = {'$ref': '#/defs/quantileTransform'}
_rootschema = Root._schema
def __init__(self, field=Undefined, type=Undefined, groupby=Undefined, probs=Undefined,
signal=Undefined, step=Undefined, **kwds):
super(quantileTransform, self).__init__(field=field, type=type, groupby=groupby, probs=probs,
signal=signal, step=step, **kwds)
class sampleTransform(VegaSchema):
"""sampleTransform schema wrapper
Mapping(required=[type])
Attributes
----------
type : enum('sample')
signal : string
size : anyOf(float, :class:`signal`)
"""
_schema = {'$ref': '#/defs/sampleTransform'}
_rootschema = Root._schema
super(facet, self).__init__(facet=facet, data=data, **kwds)
class markclip(VegaSchema):
"""markclip schema wrapper
oneOf(:class:`booleanOrSignal`, Mapping(required=[path]), Mapping(required=[sphere]))
"""
_schema = {'$ref': '#/refs/markclip'}
_rootschema = Root._schema
def __init__(self, *args, **kwds):
super(markclip, self).__init__(*args, **kwds)
class style(VegaSchema):
"""style schema wrapper
oneOf(string, List(string))
"""
_schema = {'$ref': '#/refs/style'}
_rootschema = Root._schema
def __init__(self, *args, **kwds):
super(style, self).__init__(*args, **kwds)
class marktype(VegaSchema):
"""marktype schema wrapper
string
"""
as : oneOf(List(anyOf(string, :class:`signal`)), :class:`signal`)
"""
_schema = {'$ref': '#/defs/forceTransform'}
_rootschema = Root._schema
def __init__(self, type=Undefined, alpha=Undefined, alphaMin=Undefined, alphaTarget=Undefined,
forces=Undefined, iterations=Undefined, restart=Undefined, signal=Undefined,
static=Undefined, velocityDecay=Undefined, **kwds):
super(forceTransform, self).__init__(type=type, alpha=alpha, alphaMin=alphaMin,
alphaTarget=alphaTarget, forces=forces,
iterations=iterations, restart=restart, signal=signal,
static=static, velocityDecay=velocityDecay, **kwds)
class contourTransform(VegaSchema):
"""contourTransform schema wrapper
Mapping(required=[type, size])
Attributes
----------
size : oneOf(List(anyOf(float, :class:`signal`)), :class:`signal`)
type : enum('contour')
bandwidth : anyOf(float, :class:`signal`)
cellSize : anyOf(float, :class:`signal`)
count : anyOf(float, :class:`signal`)
transform=transform, **kwds)
class listener(VegaSchema):
"""listener schema wrapper
oneOf(:class:`signal`, Mapping(required=[scale]), :class:`stream`)
"""
_schema = {'$ref': '#/defs/listener'}
_rootschema = Root._schema
def __init__(self, *args, **kwds):
super(listener, self).__init__(*args, **kwds)
class onEvents(VegaSchema):
"""onEvents schema wrapper
List(allOf(Mapping(required=[events]), oneOf(Mapping(required=[encode]),
Mapping(required=[update]))))
"""
_schema = {'$ref': '#/defs/onEvents'}
_rootschema = Root._schema
def __init__(self, *args):
super(onEvents, self).__init__(*args)
class onTrigger(VegaSchema):
"""onTrigger schema wrapper
List(Mapping(required=[trigger]))
type : enum('geopoint')
signal : string
as : oneOf(List(anyOf(string, :class:`signal`)), :class:`signal`)
"""
_schema = {'$ref': '#/defs/geopointTransform'}
_rootschema = Root._schema
def __init__(self, fields=Undefined, projection=Undefined, type=Undefined, signal=Undefined, **kwds):
super(geopointTransform, self).__init__(fields=fields, projection=projection, type=type,
signal=signal, **kwds)
class geoshapeTransform(VegaSchema):
"""geoshapeTransform schema wrapper
Mapping(required=[type])
Attributes
----------
type : enum('geoshape')
field : oneOf(:class:`scaleField`, :class:`paramField`, :class:`expr`)
pointRadius : anyOf(float, :class:`signal`, :class:`expr`, :class:`paramField`)
projection : string
signal : string
oneOf(List(allOf(:class:`rule`, allOf(:class:`stringModifiers`, anyOf(oneOf(:class:`signal`,
Mapping(required=[value]), Mapping(required=[field]), Mapping(required=[range])),
Mapping(required=[scale, value]), Mapping(required=[scale, band]),
Mapping(required=[offset]))))), allOf(:class:`stringModifiers`, anyOf(oneOf(:class:`signal`,
Mapping(required=[value]), Mapping(required=[field]), Mapping(required=[range])),
Mapping(required=[scale, value]), Mapping(required=[scale, band]),
Mapping(required=[offset]))))
"""
_schema = {'$ref': '#/refs/baselineValue'}
_rootschema = Root._schema
def __init__(self, *args, **kwds):
super(baselineValue, self).__init__(*args, **kwds)
class directionValue(VegaSchema):
"""directionValue schema wrapper
oneOf(List(allOf(:class:`rule`, allOf(:class:`stringModifiers`, anyOf(oneOf(:class:`signal`,
Mapping(required=[value]), Mapping(required=[field]), Mapping(required=[range])),
Mapping(required=[scale, value]), Mapping(required=[scale, band]),
Mapping(required=[offset]))))), allOf(:class:`stringModifiers`, anyOf(oneOf(:class:`signal`,
Mapping(required=[value]), Mapping(required=[field]), Mapping(required=[range])),
Mapping(required=[scale, value]), Mapping(required=[scale, band]),
Mapping(required=[offset]))))
"""
_schema = {'$ref': '#/refs/directionValue'}
_rootschema = Root._schema
def __init__(self, *args, **kwds):
super(directionValue, self).__init__(*args, **kwds)
super(labelOverlap, self).__init__(*args, **kwds)
class tickBand(VegaSchema):
"""tickBand schema wrapper
oneOf(enum('center', 'extent'), :class:`signal`)
"""
_schema = {'$ref': '#/refs/tickBand'}
_rootschema = Root._schema
def __init__(self, *args, **kwds):
super(tickBand, self).__init__(*args, **kwds)
class tickCount(VegaSchema):
"""tickCount schema wrapper
oneOf(float, enum('millisecond', 'second', 'minute', 'hour', 'day', 'week', 'month',
'year'), Mapping(required=[interval]), :class:`signal`)
"""
_schema = {'$ref': '#/refs/tickCount'}
_rootschema = Root._schema
def __init__(self, *args, **kwds):
super(tickCount, self).__init__(*args, **kwds)
class element(VegaSchema):
"""element schema wrapper
string
oneOf(List(allOf(:class:`rule`, allOf(:class:`stringModifiers`, anyOf(oneOf(:class:`signal`,
Mapping(required=[value]), Mapping(required=[field]), Mapping(required=[range])),
Mapping(required=[scale, value]), Mapping(required=[scale, band]),
Mapping(required=[offset]))))), allOf(:class:`stringModifiers`, anyOf(oneOf(:class:`signal`,
Mapping(required=[value]), Mapping(required=[field]), Mapping(required=[range])),
Mapping(required=[scale, value]), Mapping(required=[scale, band]),
Mapping(required=[offset]))))
"""
_schema = {'$ref': '#/refs/anyValue'}
_rootschema = Root._schema
def __init__(self, *args, **kwds):
super(anyValue, self).__init__(*args, **kwds)
class numberValue(VegaSchema):
"""numberValue schema wrapper
oneOf(List(allOf(:class:`rule`, allOf(:class:`numberModifiers`, anyOf(oneOf(:class:`signal`,
Mapping(required=[value]), Mapping(required=[field]), Mapping(required=[range])),
Mapping(required=[scale, value]), Mapping(required=[scale, band]),
Mapping(required=[offset]))))), allOf(:class:`numberModifiers`, anyOf(oneOf(:class:`signal`,
Mapping(required=[value]), Mapping(required=[field]), Mapping(required=[range])),
Mapping(required=[scale, value]), Mapping(required=[scale, band]),
Mapping(required=[offset]))))
"""
_schema = {'$ref': '#/refs/numberValue'}
_rootschema = Root._schema
def __init__(self, *args, **kwds):
super(numberValue, self).__init__(*args, **kwds)
class tickCount(VegaSchema):
"""tickCount schema wrapper
oneOf(float, enum('millisecond', 'second', 'minute', 'hour', 'day', 'week', 'month',
'year'), Mapping(required=[interval]), :class:`signal`)
"""
_schema = {'$ref': '#/refs/tickCount'}
_rootschema = Root._schema
def __init__(self, *args, **kwds):
super(tickCount, self).__init__(*args, **kwds)
class element(VegaSchema):
"""element schema wrapper
string
"""
_schema = {'$ref': '#/refs/element'}
_rootschema = Root._schema
def __init__(self, *args):
super(element, self).__init__(*args)
class paramField(VegaSchema):
"""paramField schema wrapper
Mapping(required=[field])
class onEvents(VegaSchema):
"""onEvents schema wrapper
List(allOf(Mapping(required=[events]), oneOf(Mapping(required=[encode]),
Mapping(required=[update]))))
"""
_schema = {'$ref': '#/defs/onEvents'}
_rootschema = Root._schema
def __init__(self, *args):
super(onEvents, self).__init__(*args)
class onTrigger(VegaSchema):
"""onTrigger schema wrapper
List(Mapping(required=[trigger]))
"""
_schema = {'$ref': '#/defs/onTrigger'}
_rootschema = Root._schema
def __init__(self, *args):
super(onTrigger, self).__init__(*args)
class onMarkTrigger(VegaSchema):
"""onMarkTrigger schema wrapper
List(Mapping(required=[trigger]))
"""