{"url":"https://airiphys.hatenadiary.com/entry/2020/04/16/163618","title":"Matplotlib\u81ea\u5206\u7528\u30e1\u30e2","blog_url":"https://airiphys.hatenadiary.com/","type":"rich","provider_name":"Hatena Blog","author_name":"philogos","width":"100%","version":"1.0","provider_url":"https://hatena.blog","height":"190","description":"\u8ef8\u306e\u6587\u5b57\u306a\u3069\u304c\u5207\u308c\u308b\u3068\u304d: plt.savefig(\"sample.eps\",bbox_inches=\"tight\") \u3092\u5165\u308c\u308b\uff0e \u30d7\u30ed\u30c3\u30c8\u306e\u8272\u3092\u900f\u3051\u3055\u305b\u305f\u3044\u6642alpha=0.3\u306a\u3069\u3060\u304c\uff0ceps\u3067\u4fdd\u5b58\u3059\u308b\u3068\u900f\u660e\u5ea6\u304c\u306a\u304f\u306a\u308b\u4ef6\uff1a \u7c21\u5358\u306b\u306fpdf\u4fdd\u5b58\u3059\u308c\u3070\u3044\u3044\uff0e \u30d2\u30b9\u30c8\u30b0\u30e9\u30e0\u304cdensity=True\u3084normed=True\u3067\u306f\u898f\u683c\u5316\u3055\u308c\u306a\u3044\u4ef6\uff1a \uff08bin\u306e\u5e45\u304c1\u306e\u5834\u5408\u306b\u3060\u3051\u6b63\u3057\u304f\u898f\u683c\u5316\u3055\u308c\u308b\uff09 w=np.ones(x)/float(x) hist(x,weights=w) \u3068\u3059\u308c\u3070\u3044\u3044\uff0e","categories":["python\u95a2\u4fc2"],"published":"2020-04-16 16:36:18","author_url":"https://blog.hatena.ne.jp/philogos/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fairiphys.hatenadiary.com%2Fentry%2F2020%2F04%2F16%2F163618\" title=\"Matplotlib\u81ea\u5206\u7528\u30e1\u30e2 - airiphys\u2019s memorandum\" 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":null,"blog_title":"airiphys\u2019s memorandum"}