(data, pipelines=None)
return fig, color_dict
Plot scores for all pipelines and all datasets

    Parameters
    ----------
    data: output of Results.to_dataframe()
        results on datasets
    pipelines: list of str | None
        pipelines to include in this plot

    Returns
    -------
    fig: Figure
        Pyplot handle
    color_dict: dict
        Dictionary with the facecolor
Plot scores for all pipelines and all datasets
Plot scores for all pipelines and all datasets
def score_plot(data, pipelines=None):
    """Plot scores for all pipelines and all datasets

    Parameters
    ----------
    data: output of Results.to_dataframe()
        results on datasets
    pipelines: list of str | None
        pipelines to include in this plot

    Returns
    -------
    fig: Figure
        Pyplot handle
    color_dict: dict
        Dictionary with the facecolor
    """
    data = collapse_session_scores(data)
    data["dataset"] = data["dataset"].apply(_simplify_names)
    if pipelines is not None:
        data = data[data.pipeline.isin(pipelines)]
    fig = plt.figure(figsize=(8.5, 11))
    ax = fig.add_subplot(111)
    # markers = ['o', '8', 's', 'p', '+', 'x', 'D', 'd', '>', '<', '^']
    sea.stripplot(
        data=data,
        y="dataset",
        x="score",
        jitter=0.15,
        palette=PIPELINE_PALETTE,
        hue="pipeline",
        dodge=True,
        ax=ax,
        alpha=0.7,
    )
    ax.set_xlim([0, 1])
    ax.axvline(0.5, linestyle="--", color="k", linewidth=2)
    ax.set_title("Scores per dataset and algorithm")
    handles, labels = ax.get_legend_handles_labels()
    color_dict = {lb: h.get_facecolor()[0] for lb, h in zip(labels, handles)}
    plt.tight_layout()
    return fig, color_dict
def score_plot ( data , pipelines = None ) : data = collapse_session_scores ( data ) data [ "dataset" ] = data [ "dataset" ] . apply ( _simplify_names ) if pipelines is not None : data = data [ data . pipeline . isin ( pipelines ) ] fig = plt . figure ( figsize = ( 8.5 , 11 ) ) ax = fig . add_subplot ( 111 ) # markers = ['o', '8', 's', 'p', '+', 'x', 'D', 'd', '>', '<', '^'] sea . stripplot ( data = data , y = "dataset" , x = "score" , jitter = 0.15 , palette = PIPELINE_PALETTE , hue = "pipeline" , dodge = True , ax = ax , alpha = 0.7 , ) ax . set_xlim ( [ 0 , 1 ] ) ax . axvline ( 0.5 , linestyle = "--" , color = "k" , linewidth = 2 ) ax . set_title ( "Scores per dataset and algorithm" ) handles , labels = ax . get_legend_handles_labels ( ) color_dict = { lb : h . get_facecolor ( ) [ 0 ] for lb , h in zip ( labels , handles ) } plt . tight_layout ( ) return fig , color_dict