Skip to content

Commit

Permalink
Make a couple small tweaks to sigma test data.
Browse files Browse the repository at this point in the history
  • Loading branch information
christabor committed May 16, 2017
1 parent efb04c1 commit 368b766
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions example_app/endpoints.py
Expand Up @@ -2,7 +2,7 @@

# -*- coding: utf-8 -*-

from itertools import combinations as combs
from itertools import combinations
import json
import locale
import os
Expand Down Expand Up @@ -148,7 +148,7 @@ def sigma():
if chart_name == 'random':
nodes = request.args.get('nodes', 'abcdefghij')
_vertices = list(nodes)
_edges = combs(_vertices, 2)
_edges = combinations(_vertices, 2)
edges, vertices = [], []
for (frm, to) in _edges:
edges.append(dict(
Expand Down
6 changes: 3 additions & 3 deletions example_app/examples/config/sigma.json
Expand Up @@ -8,7 +8,7 @@
"family": "SigmaJS",
"refresh": false,
"height": 600,
"width": "col-3",
"width": "col-4",
"dataSource": "http://localhost:5004/sigma?name=basic",
"override": false,
"refreshInterval": "",
Expand All @@ -22,7 +22,7 @@
"family": "SigmaJS",
"refresh": false,
"height": 600,
"width": "col-3",
"width": "col-4",
"dataSource": "http://localhost:5004/sigma?name=random",
"override": false,
"refreshInterval": "",
Expand All @@ -36,7 +36,7 @@
"family": "SigmaJS",
"refresh": false,
"height": 600,
"width": "col-6",
"width": "col-4",
"dataSource": "http://localhost:5004/sigma?name=random&nodes=abcdefghijklmnopqrstuvwxyz0123456789",
"override": false,
"refreshInterval": "",
Expand Down

0 comments on commit 368b766

Please sign in to comment.