'Read and return the HTML contents from a file_url
in the form e.g. file:///Users/chriddyp/Repos/plotly.py/plotly-temp.html'

def _read_html(self, file_url):

    with open(file_url.replace('file://', '').replace('    ', '')) as f:
        return f.read()
