<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nigimitama</author_name>
  <author_url>https://blog.hatena.ne.jp/nigimitama/</author_url>
  <blog_title>盆暗の学習記録</blog_title>
  <blog_url>https://nigimitama.hatenablog.jp/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>データ可視化</anon>
  </categories>
  <description>背景 日本語フォントが入っていない環境（Docker など）において日本語の含まれるグラフを matplotlib で描くとき、japanize_matplotlib パッケージ が便利でした。 しかし、2020 年から更新が停止されており、Python3.12 以降では使用できません。 japanize_matplotlib がやってくれることは、同梱している日本語対応フォント（IPAex ゴシック）を matplotlib の使用フォントに設定することなので、同様の処理を自分で書けば日本語対応できます。 Python のベースイメージを使った Docker 環境（あるいは Debian 系…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnigimitama.hatenablog.jp%2Fentry%2F2024%2F10%2F23%2F101321&quot; title=&quot;japanize_matplotlibを使わないmatplotlibの日本語対応 - 盆暗の学習記録&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/n/nigimitama/20241023/20241023100818.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-10-23 10:13:21</published>
  <title>japanize_matplotlibを使わないmatplotlibの日本語対応</title>
  <type>rich</type>
  <url>https://nigimitama.hatenablog.jp/entry/2024/10/23/101321</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
