ranaroussi / quantstats

Missing module/function docstring PY-D0003
Documentation
Minor
11 occurrences in this check
Docstring missing for format_pct_axis
1211    return res.replace(".0", "")
1212
1213
1214def format_pct_axis(x, _):1215    x *= 100  # lambda x, loc: "{:,}%".format(int(x * 100))
1216    if x >= 1e12:
1217        res = "%1.1fT%%" % (x * 1e-12)
Docstring missing for format_cur_axis
1194    return None
1195
1196
1197def format_cur_axis(x, _):1198    if x >= 1e12:
1199        res = "$%1.1fT" % (x * 1e-12)
1200        return res.replace(".0T", "T")
Docstring missing for plot_table
1102    return None
1103
1104
1105def plot_table(1106    tbl,
1107    columns=None,
1108    title="",
Docstring missing for plot_distribution
 989    return None
 990
 991
 992def plot_distribution( 993    returns,
 994    figsize=(10, 6),
 995    fontname="Arial",
Docstring missing for plot_longest_drawdowns
 874    return None
 875
 876
 877def plot_longest_drawdowns( 878    returns,
 879    periods=5,
 880    lw=1.5,
Docstring missing for plot_rolling_beta
 727    return None
 728
 729
 730def plot_rolling_beta( 731    returns,
 732    benchmark,
 733    window1=126,
Docstring missing for plot_rolling_stats
 598    return None
 599
 600
 601def plot_rolling_stats( 602    returns,
 603    benchmark=None,
 604    title="",
Docstring missing for plot_histogram
 403    return None
 404
 405
 406def plot_histogram( 407    returns,
 408    benchmark,
 409    resample="M",
Docstring missing for plot_timeseries
 240    return None
 241
 242
 243def plot_timeseries( 244    returns,
 245    benchmark=None,
 246    title="Returns",
Docstring missing for plot_returns_bars
  92    return colors, ls, alpha
  93
  94
  95def plot_returns_bars(  96    returns,
  97    benchmark=None,
  98    returns_label="Strategy",
Docstring missing for _get_colors
  81]
  82
  83
  84def _get_colors(grayscale):  85    colors = _FLATUI_COLORS
  86    ls = "-"
  87    alpha = 0.8