def dataToBarDataRow(data): result = [] for d in data: result.append(QtDataVisualization.QBarDataItem(d)) return result
def dataToBarDataRow(data): return list(QtDataVisualization.QBarDataItem(d) for d in data)
def data_to_bar_data_row(self, data): """ DOCSTRING """ return list(QtDataVisualization.QBarDataItem(d) for d in data)