<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>chayarokurokuro</author_name>
  <author_url>https://blog.hatena.ne.jp/chayarokurokuro/</author_url>
  <blog_title>よちよちpython   </blog_title>
  <blog_url>https://chayarokurokuro.hatenablog.com/</blog_url>
  <categories>
    <anon>JupyterNotebook</anon>
    <anon>matplotlib</anon>
    <anon>numpy</anon>
    <anon>python</anon>
    <anon>画像処理</anon>
  </categories>
  <description>今回も飽きずにNumpyで市松模様を作ります。 前々回と前回より色の配列設置の方法をスッキリさせました。 手順の説明 全要素ゼロの3次元配列を作る 1の配列のにRGB色を2色ぶん設定する 2の配列を結合してブロック作成 3をnp.tile()で拡大 手順1. 基本となる三次元配列の生成 import numpy as np import matplotlib.pyplot as plt # 単色の一辺サイズ p=5 # 基本配列 np_3d = np.zeros(p*p*3, dtype=int).reshape(p,p,3) # 表示(省略 #np_3d 手順2. RGB色の設定 若苗色 R…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchayarokurokuro.hatenablog.com%2Fentry%2F2020%2F12%2F29%2F104821&quot; title=&quot;【Numpy】np.tile()で市松模様を作る - よちよち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/c/chayarokurokuro/20201229/20201229104431.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-12-29 10:48:21</published>
  <title>【Numpy】np.tile()で市松模様を作る</title>
  <type>rich</type>
  <url>https://chayarokurokuro.hatenablog.com/entry/2020/12/29/104821</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
