{"image_url":null,"author_name":"XaroCydeykn","blog_title":"\u4f55\u304b\u3092\u66f8\u304d\u7559\u3081\u308b\u4f55\u304b","blog_url":"https://xaro.hatenablog.jp/","height":"190","categories":["Python","Mathematics"],"url":"https://xaro.hatenablog.jp/entry/2013/12/13/234542","author_url":"https://blog.hatena.ne.jp/XaroCydeykn/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxaro.hatenablog.jp%2Fentry%2F2013%2F12%2F13%2F234542\" title=\"\u81ea\u5206\u306e\u305f\u3081\u306enetworkX\u30e1\u30e2 - \u4f55\u304b\u3092\u66f8\u304d\u7559\u3081\u308b\u4f55\u304b\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2013-12-13 23:45:42","description":"\u300c\u30e9\u30f3\u30c0\u30e0\u30b0\u30e9\u30d5\u3092\u751f\u6210\u3057\u4fdd\u5b58\u3059\u308b\u3001\u305d\u3057\u3066\u3042\u308b\u64cd\u4f5c\u3092\u3057\u3066\u5f97\u3089\u308c\u305f\u30b0\u30e9\u30d5\u3092\u307e\u305f\u4fdd\u5b58\u3092\u3059\u308b\u300d\u3068\u3044\u3046\u306e\u306f\u30b0\u30e9\u30d5\u7406\u8ad6\u3092\u3084\u308b\u4eba\u306a\u3089\u3070\u3088\u304f\u3042\u308b\u5149\u666f\u3067\u306f\u306a\u3044\u3060\u308d\u3046\u304b\u3002\u305d\u3053\u3067\u79c1\u306f\u4ee5\u4e0b\u306e\u69d8\u306aPython\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u305f\u3002 import networkx as nx import matplotlib.pyplot as plt import random G = nx.fast_gnp_random_graph(20, 0.5) nx.draw_circular(G) plt.savefig(\"random.png\") # \u9802\u70b9\u3092\u30e9\u30f3\u30c0\u30e0\u306b10\u500b\u9078\u3093\u3067\u524a\u9664 G.remove_nodes_from(random.sa\u2026","width":"100%","title":"\u81ea\u5206\u306e\u305f\u3081\u306enetworkX\u30e1\u30e2","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","type":"rich","version":"1.0"}