matplotlibで日本語フォントを表示する際には、多くの人がuehara1414さんが作成されたjapanize-matoplotlibにお世話になっていたかと思います。importするだけで日本語フォント対応できるので、とても有り難いライブラリです。 ただ、Python3.12からはdistutilsが含まれ ...
from matplotlib.backends.backend_gtk4agg import FigureCanvas # or gtk4cairo.
# Many of the MultiIndex slicing operations will fail if the index is not sorted. # The multiindex is not sorted lexographically.