(x, C, color="C0", s=None)
| 77 | |
| 78 | |
| 79 | def plot_graph(x, C, color="C0", s=None): |
| 80 | for j in range(C.shape[0]): |
| 81 | for i in range(j): |
| 82 | if C[i, j] > 0: |
| 83 | pl.plot([x[i, 0], x[j, 0]], [x[i, 1], x[j, 1]], alpha=0.2, color="k") |
| 84 | pl.scatter( |
| 85 | x[:, 0], x[:, 1], c=color, s=s, zorder=10, edgecolors="k", cmap="tab10", vmax=9 |
| 86 | ) |
| 87 | |
| 88 | |
| 89 | pl.figure(1, (10, 5)) |
no outgoing calls
no test coverage detected