<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>predora005</author_name>
  <author_url>https://blog.hatena.ne.jp/predora005/</author_url>
  <blog_title>どこにでもいる30代SEの学習ブログ</blog_title>
  <blog_url>https://predora005.hatenablog.com/</blog_url>
  <categories>
    <anon>プログラミング</anon>
    <anon>プログラミング-Python</anon>
    <anon>プログラミング-Python-Matplotlib</anon>
    <anon>機械学習</anon>
    <anon>機械学習-Matplotlib</anon>
    <anon>AWS</anon>
  </categories>
  <description>※ 2020/05/20にQrunchで書いた記事を移行しました。 matplotlibの文字化け対策は多くの情報がありますが、Amazon Linux2向けの情報はありませんでした。他のOSと基本的な対策方針は同様です。日本語フォントをインストールし、キャッシュを削除します。 対策手順 [1] 日本語フォントのインストール IPAexフォントの一つである'IPAGothic'をインストールします。 sudo yum -y install ipa-gothic-fonts [2] ソースコードに追記 キャッシュの削除、及び、日本語フォントを指定するコードを追加します。 import matpl…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpredora005.hatenablog.com%2Fentry%2F2020%2F10%2F26%2F190000&quot; title=&quot;【機械学習】matplotlibの日本語文字化け対策(Amazon Linux2) - どこにでもいる30代SEの学習ブログ&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/p/predora005/20200921/20200921201935.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-10-26 19:00:00</published>
  <title>【機械学習】matplotlibの日本語文字化け対策(Amazon Linux2)</title>
  <type>rich</type>
  <url>https://predora005.hatenablog.com/entry/2020/10/26/190000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
