2019-11

Python

matplotlibでA4サイズのfigureを作成する

A4でグラフを作ると印刷する時に色々捗るので調べてみた plt.figure(figsize=(11.69,8.27), dpi=100) これでA4サイズと同等である横11.69インチ、縦8.27インチの図表が出来る 参考
Python

matplotlibで大量のfigureを作って怒られる

色んなパターンでグラフを作ってループ処理していた時のこと RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot i...
Python

matplotlibで画像をグリッド状に並べて軸ラベルを消す

ディープラーニングでよくみるグリッド上の画像を作りたいのでやってみた from keras.datasets import mnist from matplotlib import pyplot as plt import numpy as...