title: plotly plotting in emr illeggal character error
body: <p>I am trying to use plotly in AWS EMR , As I have spark dataframe converting to python . From below code df is my pandas dataframe .</p>
  <pre><code>import pandas as pd
  fig = px.bar(df, x='name', y='score',labels={'Features':'Importance'}, height=900)
  fig.update_layout(title_text='Feature Importance')
  fig.update_xaxes(tickangle=35)
  fig.show()
  </code></pre>
  <p>When I plot something using emr I get error as below</p>
  <pre><code> Illegal character ((CTRL-CHAR, code 27)): only regular white space (\r, \n, \t) is allowed between tokens   at [Source: Getting http://127.0.0.1:43463/; line: 1, column: 2]
  </code></pre>
  <p>Can anyone help me in crossing this hurdle</p>