def atacseq_mark_duplicates_hist_plot(df, **kwargs):
    """Plot qualimap global statistics.

    Args:
      df(:class:`~pandas.DataFrame`): data frame holding summary of qualimap results. The summary is provided by :meth:`snakemakelib.odo.picard.resource_dup_metrics`.
      kwargs(dict): keyword arguments

    Returns:
      :class:`bokeh.plotting.figure`: bokeh figure

    Examples:

    .. bokeh-plot::
        :source-position: above

        import pandas as pd
        from bokeh.plotting import show
        from snakemakelib_workflows.atacseq.app import atacseq_mark_duplicates_hist_plot

        df = pd.DataFrame([['S1', 1.0, 1.5],
                           ['S1', 2.0, 2.8],
                           ['S2', 1.0, 1.9],
                           ['S2', 2.0, 12.5]],
                          columns=['SM','BIN','VALUE'])
        p = atacseq_mark_duplicates_hist_plot(df, width=200, height=200)
        show(p)


    """
    p = figure(width=kwargs.get('width', 400),
               height=kwargs.get('height', 400),
               title="Return of investment (no data)")
    if df is None:
        return p
    lines(p, df=df, groups=["SM"], x="BIN", y="VALUE", legend="SM",
          color="blue", line_width=2)
    p.title.text = "Return of investment"
    return p
def atacseq_mark_duplicates_hist_plot(df, **kwargs):
    p = figure(width=400, height=400, title="Return of investment")
    lines(p, df=df, groups=["SM"], x="BIN", y="VALUE", legend="SM", color="blue", line_width=2)
    return p