def remove_series(self, series):
if len(self.all_series()) == <NUM_LIT:1>:<EOL><INDENT>raise ValueError("<STR_LIT>" % str(self))<EOL><DEDENT>self._all_series.remove(series)<EOL>series._chart = None<EOL>
Removes a :py:class:`.Series` from the chart.

        :param Series series: The :py:class:`.Series` to remove.
        :raises ValueError: if you try to remove the last\
        :py:class:`.Series`.