def title(self, title=None):
if title is None:<EOL><INDENT>return self._title<EOL><DEDENT>else:<EOL><INDENT>if not isinstance(title, str):<EOL><INDENT>raise TypeError("<STR_LIT>" % str(title))<EOL><DEDENT>self._title = title<EOL><DEDENT>
Returns or sets (if a value is provided) the chart's title.

        :param str title: If given, the chart's title will be set to this.
        :rtype: ``str``