docstr: Read and return the HTML contents from a file_url in the
  form e.g. file:///Users/chriddyp/Repos/plotly.py/plotly-temp.html
docstr_tok: ["Read","and","return","the","HTML","contents","from","a","file_url","in","the","form","e.g",".","file",":","\/\/\/Users\/chriddyp\/Repos\/plotly.py\/plotly-temp.html"]
code: def _read_html(self, file_url):
      """Read and return the HTML contents from a file_url in the
      form e.g. file:///Users/chriddyp/Repos/plotly.py/plotly-temp.html
      """
      with open(file_url.replace("file://", "").replace(" ", "")) as f:
          return f.read()
  
file_path: plotly.py/packages/python/plotly/plotly/tests/test_optional/test_offline/test_offline.py
imports: import re
  from unittest import TestCase
  import pytest
  import plotly
  import plotly.io
  from plotly import optional_imports
label_desc: Use image node_id 2 for calling the PlotlyOfflineMPLTestCase obj's underlying member method code with example usage: obj._read_html(file_url) and returns: f