python - matplotlib.figure.Figure.add_subplots() and add_axes() return None instead of axes - Stack Overflow

matplotlibが古いのが原因。matplotlibをアップデートする。