title: Plotly gives an empty field as output in jupyter lab
body: <p>I'm using plotly at jupyter lab, but I'm getting a blanked output. I'm having exactly the same problem described here: <a href="https://stackoverflow.com/questions/48560138/plotly-offline-iplot-gives-a-large-blank-field-as-its-output-why">plotly.offline.iplot gives a large blank field as its output - why?</a></p>
  
  <p>And I tried what they suggested in the answers, but it didn't work.</p>
  
  <p>Here is the code I'm using:</p>
  
  <pre><code>import pandas as pd
  import numpy as np
  %matplotlib inline
  
  from plotly.offline import download_plotlyjs, init_notebook_mode, plot, iplot
  init_notebook_mode(connected=True)
  cf.go_offline()
  
  df = pd.DataFrame(np.random.randn(100,4), columns='A B C D'.split())
  df2 = pd.DataFrame({'category':['A','B','C'], 'values':[32,43,50]})
  
  df.iplot(kind='scatter', x='A',y='B', mode='markers', size=10)
  </code></pre>
  
  <p>One of the suggestions was to change the notebook to 'trusted'. Do you know how can I do it in jupyter lab?</p>