seqme.plot_scatter#
- seqme.plot_scatter(df, metrics=None, *, color=None, show_arrow=True, marker='o', marker_size=None, linestyle='--', linewidth=1.0, show_deviation=True, deviation_alpha=0.5, deviation_linewidth=1.0, legend_loc='right margin', figsize=(4, 3), ax=None)[source]#
Plot a scatter plot for two metrics with optional error rectangles or bars.
- Parameters:
df (
DataFrame) – Metric dataframe.metrics (
Union[list[str],tuple[str,str],None]) – The name of the metrics to plot. IfNone, plot all metrics indf, assumes two metrics are in the dataframe.show_arrow (
bool) – Whether to show an arrow indicating maximize/minimize in the x- and y-labels.marker (
str|list[str]) – Marker type for serie values. IfNone, no marker is shown.marker_size (
Optional[float]) – Size of marker. IfNone, auto-selects size.linestyle (
str|None) – Series linestyle. IfNone, dont show connecting lines.linewidth (
float) – Line width of connected points.show_deviation (
bool) – Whether to plot the deviation if available.deviation_alpha (
float) – opacity level of deviation intervals.deviation_linewidth (
float) – Deviation line width.legend_loc (
Union[Literal['right margin'],str,None]) – Legend location.ax (
Optional[Axes]) – Optional matplotlib Axes to plot on.