misc: fix missing-parentheses-for-call-in-test pylint error (#56288)
This commit is contained in:
parent
7a96ec095e
commit
9ce912f39b
|
@ -434,7 +434,7 @@ class ChartNgCell(CellBase):
|
|||
chart.compute_sum = bool(response.get('measure') == 'integer' and chart.axis_count > 0)
|
||||
|
||||
formatter = self.get_value_formatter(response.get('unit'), response.get('measure'))
|
||||
if formatter:
|
||||
if formatter is not None:
|
||||
chart.config.value_formatter = formatter
|
||||
|
||||
return x_labels, y_labels, data
|
||||
|
|
Loading…
Reference in New Issue