gosling.DummyTrack¶
- class gosling.DummyTrack(type=Undefined, _invalidTrack=Undefined, assembly=Undefined, height=Undefined, id=Undefined, layout=Undefined, orientation=Undefined, overlayOnPreviousTrack=Undefined, static=Undefined, style=Undefined, title=Undefined, width=Undefined, zoomLimits=Undefined, **kwds)¶
DummyTrack schema wrapper
Mapping(required=[type]) A placeholder track. In contrast to other tracks, this track does not display any data. Instead it provides empty space for third party tools to display their data on top of.
- Attributes:
- typestring
Used to specify the dummy track
- _invalidTrackboolean
internal
- assemblystring
No assemblies can be associated with a dummy track
- heightfloat
Specify the track height in pixels.
- idstring
Assigned to uid in a HiGlass view config, used for API and caching.
- layoutstring
Only linear layout are supported at this time
- orientation
Orientation
Specify the orientation.
- overlayOnPreviousTrackboolean
- staticboolean
Whether to disable [Zooming and Panning](http://gosling-lang.org/docs/user-interaction#zooming-and-panning), __Default:__ false.
- style
DummyTrackStyle
Defines how the track is styled
- titlestring
Text that gets shown on the DummyTrack
- widthfloat
Specify the track width in pixels.
- zoomLimitsList(None)
Unused property for DummyTrack
- __init__(type=Undefined, _invalidTrack=Undefined, assembly=Undefined, height=Undefined, id=Undefined, layout=Undefined, orientation=Undefined, overlayOnPreviousTrack=Undefined, static=Undefined, style=Undefined, title=Undefined, width=Undefined, zoomLimits=Undefined, **kwds)¶
Methods
__init__
([type, _invalidTrack, assembly, ...])copy
([deep, ignore])Return a copy of the object
from_dict
(dct[, validate, _wrapper_classes])Construct class from a dictionary representation
from_json
(json_string[, validate])Instantiate the object from a valid JSON string
resolve_references
([schema])Resolve references in the context of this object's schema or root schema.
to_dict
([validate, ignore, context])Return a dictionary representation of the object
to_json
([validate, ignore, context, indent, ...])Emit the JSON representation for this object as a string.
validate
(instance[, schema])Validate the instance against the class schema in the context of the rootschema.
validate_property
(name, value[, schema])Validate a property against property schema in the context of the rootschema