{"url":"https://nishiohirokazu.hatenadiary.org/entry/20111129/1322542197","blog_url":"https://nishiohirokazu.hatenadiary.org/","description":"matplotlib\u3067patch\u306btransform\u3092\u3064\u3051\u308b\u3068\u6d88\u3048\u3066\u3057\u307e\u3046\u3088\u3046\u306b\u898b\u3048\u308b\u73fe\u8c61\u304c\u8d77\u304d\u305f\u3002 \u307e\u305a\u3001\u6563\u5e03\u56f3\u306e\u4e0a\u306b\u666e\u901a\u306b\u9577\u65b9\u5f62\u306epatch\u3092\u4e57\u305b\u3066\u307f\u308b\u3002 clf() scatter(random(100), random(100)) ax = gca() rect = Rectangle((0, 0), 1, 1, alpha=0.3) ax.add_patch(rect) matplotlib.pyplot.savefig(\"test.png\", dpi=100) \u3053\u3053\u307e\u3067\u306f\u3068\u3066\u3082\u81ea\u7136\u306b\u3067\u304d\u308b\u3002\u3058\u3083\u3042\u3053\u306e\u9577\u65b9\u5f62\u3092\u56de\u8ee2\u3057\u3066\u307f\u3088\u3046\u3001\u3068transform\u3092\u6307\u5b9a\u3059\u308b\u3068\u6d88\u3048\u3066\u3057\u307e\u3046\u3002transf\u2026","version":"1.0","width":"100%","author_url":"https://blog.hatena.ne.jp/nishiohirokazu/","author_name":"nishiohirokazu","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnishiohirokazu.hatenadiary.org%2Fentry%2F20111129%2F1322542197\" title=\"matplotlib\u3067transform\u3092\u6307\u5b9a\u3057\u305fpatch\u3092add_patch\u3059\u308b\u3068\u89aaaxes\u306e\u5ea7\u6a19\u7cfb\u3092\u7121\u8996\u3059\u308b - \u897f\u5c3e\u6cf0\u548c\u306e\u306f\u3066\u306a\u30c0\u30a4\u30a2\u30ea\u30fc\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","title":"matplotlib\u3067transform\u3092\u6307\u5b9a\u3057\u305fpatch\u3092add_patch\u3059\u308b\u3068\u89aaaxes\u306e\u5ea7\u6a19\u7cfb\u3092\u7121\u8996\u3059\u308b","published":"2011-11-29 13:49:57","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/n/nishiohirokazu/20111129/20111129134505.png","height":"190","provider_name":"Hatena Blog","blog_title":"\u897f\u5c3e\u6cf0\u548c\u306e\u306f\u3066\u306a\u30c0\u30a4\u30a2\u30ea\u30fc","categories":[]}