<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hayataka2049</author_name>
  <author_url>https://blog.hatena.ne.jp/hayataka2049/</author_url>
  <blog_title>静かなる名辞</blog_title>
  <blog_url>https://hayataka2049.hatenablog.jp/</blog_url>
  <categories>
    <anon>python</anon>
    <anon>matplotlib</anon>
    <anon>Tips</anon>
  </categories>
  <description>概要 デフォルト設定だとタイトルに書いた通りの現象が起こります。網目模様が出て図が汚くなります。 実験 こんな単純なコード。 import numpy as np import matplotlib.pyplot as plt def main(): xx, yy = np.meshgrid(np.arange(0, 10, 0.1), np.arange(0, 10, 0.1)) zz = np.zeros(xx.shape) zz[xx &lt; 5] = 1 plt.pcolormesh(xx, yy, zz, alpha=0.03) plt.savefig(&quot;result.png&quot;) if …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhayataka2049.hatenablog.jp%2Fentry%2F2019%2F05%2F24%2F030924&quot; title=&quot;matplotlibのpcolormeshでalphaを小さくすると網目が出てくる対策 - 静かなる名辞&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/h/hayataka2049/20190524/20190524030351.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-05-24 03:09:24</published>
  <title>matplotlibのpcolormeshでalphaを小さくすると網目が出てくる対策</title>
  <type>rich</type>
  <url>https://hayataka2049.hatenablog.jp/entry/2019/05/24/030924</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
