<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rare_Remrin</author_name>
  <author_url>https://blog.hatena.ne.jp/rare_Remrin/</author_url>
  <blog_title>Remrinのpython攻略日記</blog_title>
  <blog_url>https://python-remrin.hatenadiary.jp/</blog_url>
  <categories>
    <anon>matplotlib</anon>
    <anon>ライブラリ</anon>
    <anon>python</anon>
  </categories>
  <description>matplotlibで図形を描く方法。 plot()関数が呼ばれると背後でfigure()が呼ばれ、続いてaxes()が呼ばれてfigureの中に軸をつくる。 plot()関数を呼ばずにfigure()やaxes()で図、軸を設定できる。 import matplotlib.pyplot as plt c1 = plt.Circle((0, 0), radius=1, fc=&quot;yellow&quot;, ec=&quot;r&quot;) ax = plt.gca() ax.add_patch(c1) plt.axis(&quot;scaled&quot;) plt.show() ○figure()関数 Figureオブジェクトを作る。 De…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpython-remrin.hatenadiary.jp%2Fentry%2F2017%2F05%2F06%2F163214&quot; title=&quot;matplotlibで図形 - Remrinのpython攻略日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/r/rare_Remrin/20170506/20170506162014.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-05-06 16:32:14</published>
  <title>matplotlibで図形</title>
  <type>rich</type>
  <url>https://python-remrin.hatenadiary.jp/entry/2017/05/06/163214</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
