{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsucrose.hatenablog.com%2Fentry%2F2013%2F07%2F23%2F235143\" title=\"matplotlib\u3067\u7a4d\u307f\u4e0a\u3052\u68d2\u30b0\u30e9\u30d5 - \u552f\u7269\u662f\u771f @Scaled_Wurm\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":"http://cdn-ak.f.st-hatena.com/images/fotolife/s/sucrose/20130723/20130723010745.png","width":"100%","type":"rich","blog_title":"\u552f\u7269\u662f\u771f @Scaled_Wurm","provider_name":"Hatena Blog","description":"\u7a4d\u307f\u4e0a\u3052\u68d2\u30b0\u30e9\u30d5(stacked bar chart)\u306f\u3001\u68d2\u30b0\u30e9\u30d5\u3092\u7a4d\u307f\u91cd\u306d\u305f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5f62\u306e\u30b0\u30e9\u30d5\u3067\u3059 matplotlib\u306ebar\u95a2\u6570\u3067\u306f\u30aa\u30d5\u30bb\u30c3\u30c8\u3092\u6307\u5b9a\u3067\u304d\u308b\u306e\u3067\u3001\u30aa\u30d5\u30bb\u30c3\u30c8\u3092\u8db3\u3057\u306a\u304c\u3089\u68d2\u30b0\u30e9\u30d5\u3092\u304b\u3044\u3066\u3044\u3051\u3070\u7a4d\u307f\u4e0a\u3052\u68d2\u30b0\u30e9\u30d5\u304c\u3067\u304d\u307e\u3059 from pylab import * def bar_stacked(data, colors, labels, ticks): offset = zeros(data.shape[0]) for i in xrange(data.shape[1]): bar(range(data.shape[0]), data[:, i], 0.8, offset, \u2026","categories":["python"],"blog_url":"https://sucrose.hatenablog.com/","url":"https://sucrose.hatenablog.com/entry/2013/07/23/235143","author_url":"https://blog.hatena.ne.jp/sucrose/","provider_url":"https://hatena.blog","published":"2013-07-23 23:51:43","author_name":"sucrose","version":"1.0","height":"190","title":"matplotlib\u3067\u7a4d\u307f\u4e0a\u3052\u68d2\u30b0\u30e9\u30d5"}