Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jarrodmillman committed Jan 1, 2021
1 parent bb69073 commit a4be4d0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/external/plot_plotly.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@
}

layout = go.Layout(
title="Coauthorship network of scientists working on network theory and experiment"
+ "<br> Data source: <a href='http://networkdata.ics.uci.edu/data/netscience/netscience.gml'>"
+ "http://networkdata.ics.uci.edu/data/netscience/netscience.gml</a>",
title="Network scientist coauthorship network of scientists",
font={"size": 16},
showlegend=False,
xaxis=axis,
Expand All @@ -75,7 +73,8 @@
annotations=[
{
"showarrow": False,
"text": "This networkx.Graph has the Kamada-Kawai layout",
"text": "<a href='http://networkdata.ics.uci.edu/data/netscience/netscience.gml'>"
+ "http://networkdata.ics.uci.edu/data/netscience/netscience.gml</a>",
"xref": "paper",
"yref": "paper",
"x": 0,
Expand All @@ -88,4 +87,5 @@
)

fig = go.Figure(data=[edge_trace, node_trace], layout=layout)
fig.write_file("netscience.png")
fig

0 comments on commit a4be4d0

Please sign in to comment.