MCPcopy
hub / github.com/microsoft/qlib / _get_data

Method _get_data

qlib/contrib/report/graph.py:152–162  ·  view source on GitHub ↗

:return:

(self)

Source from the content-addressed store, hash-verified

150 _name = "distplot"
151
152 def _get_data(self):
153 """
154
155 :return:
156 """
157 _t_df = self._df.dropna()
158 _data_list = [_t_df[_col] for _col in self._name_dict]
159 _label_list = list(self._name_dict.values())
160 _fig = create_distplot(_data_list, _label_list, show_rug=False, **self._graph_kwargs)
161
162 return _fig["data"]
163
164
165class HeatmapGraph(BaseGraph):

Callers

nothing calls this directly

Calls 1

valuesMethod · 0.80

Tested by

no test coverage detected