<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>MikuHatsune</author_name>
  <author_url>https://blog.hatena.ne.jp/MikuHatsune/</author_url>
  <blog_title>驚異のアニヲタ社会復帰の予備</blog_title>
  <blog_url>https://mikuhatsune.hatenadiary.com/</blog_url>
  <categories>
    <anon>高度情報化</anon>
    <anon>LINUX</anon>
    <anon>Python</anon>
  </categories>
  <description>結論から言えば plt.show(block=False) Python で図を作るときはたいていmatplotlib から呼び出して、最終的にplt.show() する。 自分の環境としては、ターミナルで書いて実行しているが、何も考えずにplt.show() すると、GUI でプロットがでてきて、GUI 的にいろいろグリグリできるのはいいが、その間コンソールは何も入力を受け付けなくなり、GUI を閉じないと作業を復帰できない。 これを回避するには、plt.show(block=False) とする。 import matplotlib.pyplot as plt plt.plot(1) pl…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmikuhatsune.hatenadiary.com%2Fentry%2F20171219%2F1513674842&quot; title=&quot;matplotlib.pyplot.show でplot したはいいが、GUI がでてきてコンソールがブロックされるのは誰が得する仕様なのか - 驚異のアニヲタ社会復帰の予備&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-12-19 18:14:02</published>
  <title>matplotlib.pyplot.show でplot したはいいが、GUI がでてきてコンソールがブロックされるのは誰が得する仕様なのか</title>
  <type>rich</type>
  <url>https://mikuhatsune.hatenadiary.com/entry/20171219/1513674842</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
