'Close the stream connection to plotly\'s streaming servers.
For more help, see: `help(plotly.plotly.Stream)`
or see examples and tutorials here:
https://plot.ly/python/streaming/'

def close(self):

    try:
        self._stream.close()
    except AttributeError:
        raise exceptions.PlotlyError('Stream    has    not    been    opened    yet.')
