1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-14 00:06:58 +08:00

Remove unnecessary use of comprehension

Signed-off-by: shubhendra <withshubh@gmail.com>
This commit is contained in:
shubhendra
2021-03-06 13:01:02 +05:30
parent 07eef18337
commit 6f034ccb5d
3 changed files with 3 additions and 3 deletions

View File

@@ -161,7 +161,7 @@ class DistplotGraph(BaseGraph):
"""
_t_df = self._df.dropna()
_data_list = [_t_df[_col] for _col in self._name_dict]
_label_list = [_name for _name in self._name_dict.values()]
_label_list = list(self._name_dict.values())
_fig = create_distplot(_data_list, _label_list, show_rug=False, **self._graph_kwargs)
return _fig["data"]