japanize-matplotlib icon indicating copy to clipboard operation
japanize-matplotlib copied to clipboard

`plt.style.use()`を使う場合の挙動

Open spring-haru opened this issue 3 years ago • 0 comments

import japanize_matplotlibの位置によってエラーが発生する。

エラーが発生するケース:

import matplotlib.pyplot as plt
import japanize_matplotlib
plt.style.use('dark_background')

エラーが発生しないケース:

import matplotlib.pyplot as plt
plt.style.use('dark_background')
import japanize_matplotlib

spring-haru avatar Aug 02 '22 08:08 spring-haru