VLinePlot#

class pyopenms_viz._core.VLinePlot(data, x: str | None = None, y: str | None = None, z: str | None = None, kind=None, by: str | None = None, plot_3d: bool = False, relative_intensity: bool = False, subplots: bool | None = None, sharex: bool | None = None, sharey: bool | None = None, height: int | None = None, width: int | None = None, grid: bool | None = None, toolbar_location: str | None = None, fig: 'figure' | None = None, title: str | None = None, xlabel: str | None = None, ylabel: str | None = None, zlabel: str | None = None, x_axis_location: str | None = None, y_axis_location: str | None = None, title_font_size: int | None = None, xaxis_label_font_size: int | None = None, yaxis_label_font_size: int | None = None, xaxis_tick_font_size: int | None = None, yaxis_tick_font_size: int | None = None, annotation_font_size: int | None = None, line_type: str | None = None, line_width: float | None = None, min_border: int | None = None, show_plot: bool | None = None, aggregate_duplicates: bool | None = None, legend: LegendConfig | Dict | None = None, feature_config: FeatureConfig | Dict | None = None, _config: _BasePlotConfig | None = None, **kwargs)#

Bases: BasePlot, ABC

_add_annotations(fig, ann_texts: list[str], ann_xs: list[float], ann_ys: list[float], ann_colors: list[str])#

Add annotations to a VLinePlot figure.

Parameters: fig: The figure to add annotations to. ann_texts (list[str]): List of texts for the annotations. ann_xs (list[float]): List of x-coordinates for the annotations. ann_ys (list[float]): List of y-coordinates for the annotations. ann_colors: (list[str]): List of colors for annotation text.

property _kind#

The kind of plot to assemble. Must be overridden by subclasses.