Docstring missing for
format_pct_axis
1220 return res.replace(".0", "")
1221
1222
1223def format_pct_axis(x, _):1224 x *= 100 # lambda x, loc: "{:,}%".format(int(x * 100))
1225 if x >= 1e12:
1226 res = "%1.1fT%%" % (x * 1e-12)
Docstring missing for
format_cur_axis
1203 return None
1204
1205
1206def format_cur_axis(x, _):1207 if x >= 1e12:
1208 res = "$%1.1fT" % (x * 1e-12)
1209 return res.replace(".0T", "T")
Docstring missing for
plot_table
1111 return None
1112
1113
1114def plot_table(1115 tbl,
1116 columns=None,
1117 title="",
Docstring missing for
plot_distribution
998 return None
999
1000
1001def plot_distribution(1002 returns,
1003 figsize=(10, 6),
1004 fontname="Arial",
Docstring missing for
plot_longest_drawdowns
883 return None
884
885
886def plot_longest_drawdowns( 887 returns,
888 periods=5,
889 lw=1.5,
Docstring missing for
plot_rolling_beta
736 return None
737
738
739def plot_rolling_beta( 740 returns,
741 benchmark,
742 window1=126,
Docstring missing for
plot_rolling_stats
607 return None
608
609
610def plot_rolling_stats( 611 returns,
612 benchmark=None,
613 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
Description
The module/function docstring is missing.
If you want to ignore this, you can configure this in the .deepsource.toml
file. Please refer to docs for available options.