Skip to content

Instantly share code, notes, and snippets.

@ken333135
Created October 31, 2018 03:57
Show Gist options
  • Save ken333135/adda3b88d6c374269f42014717f426ec to your computer and use it in GitHub Desktop.
Save ken333135/adda3b88d6c374269f42014717f426ec to your computer and use it in GitHub Desktop.
fig = go.Figure(data=[edge_trace, node_trace],
layout=go.Layout(
title='<br>Network Graph of '+str(num_nodes)+' rules',
titlefont=dict(size=16),
showlegend=False,
hovermode='closest',
margin=dict(b=20,l=5,r=5,t=40),
annotations=[ dict(
showarrow=False,
xref="paper", yref="paper",
x=0.005, y=-0.002 ) ],
xaxis=dict(showgrid=False, zeroline=False, showticklabels=False),
yaxis=dict(showgrid=False, zeroline=False, showticklabels=False)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment