(self)
return 'Top results for an unknown field'
Returns a title for the chart.
Returns a title for the chart.
Returns a title for the chart .
def chart_title(self):
        """Returns a title for the chart."""
        if self.field:
            return f'Top results for "{self.field:s}"'
        return 'Top results for an unknown field'
def chart_title ( self ) : if self . field : return f'Top results for "{self.field:s}"' return 'Top results for an unknown field'