TerminatorPlotter#
- class biotite.sequence.graphics.TerminatorPlotter(bar_width: float = 5)[source]#
Bases:
FeaturePlotterA plotter for regulatory features with the terminator class.
Draws a vertical bar.
- Parameters:
- bar_widthfloat, optional
The width of the line representing the bar.
- draw(axes: Axes, feature: Feature, bbox: Bbox, loc: Location, style_param: dict[str, Any]) None#
Draw a feature onto an axes.
- Parameters:
- axesAxes
A Matplotlib axes, that is used as plotting area.
- featureFeature
The feature to be drawn.
- bboxBbox
The bounding box, that describes the area on the axes, where the feature should be drawn.
- locationint
The location of the feature, that should be drawn. Might be useful, when the visualization is dependent on e.g. location defects.
- style_paramdict
Additional style parameters.
- matches(feature: Feature) bool#
Check, whether this object is able to draw a given sequence feature.
- Parameters:
- featureFeature
The sequence feature to be checked.
- Returns:
- compatibilitybool
True, if this object is able to draw the given feature, false otherwise.