title: How to visualize networkx graph object using plotly (in Jupyter notebook)
body: <p>In a Jupyter notebook, I have created a networkx graph object based on data stored in a dataframe. I now wish to draw an interactive graph of the network that will reveal node labels when they are hovered over. </p>
  
  <p>I am having trouble getting started with plotly and I cannot seem to find any tutorials that cover the basics of visualizing networkx graph objects using this library. Most tutorials are more advanced and dive immediately into 3D representations. </p>
  
  <p>This is already allows me to visualize the graph in my Jupyter notebook using matplotlib. How can I customize this graph using plotly?</p>
  
  <pre><code>import networkx as nx
  import matplotlib.pyplot as plt
  %matplotlib inline
  
  Gp=nx.from_pandas_edgelist(comments, source='text_y', target='text_x', edge_attr=True, create_using = nx.MultiDiGraph)
  
  #draw graph 
  nx.draw(Gp, with_labels=False)
  plt.draw()
  </code></pre>