1
わからないがありません:matplotlibの:はAttributeError:「AxesSubplot」オブジェクトが属性「add_axes」は、次の属性のエラーを修正する方法を正確に確認してください
AttributeError: 'AxesSubplot' object has no attribute 'add_axes'
違反している問題は、私が設定した方法にリンクしているようです私のプロット:
gridspec_layout = gridspec.GridSpec(3,3)
pyplot_2 = fig.add_subplot(gridspec_layout[2])
ax = WCSAxes(fig, [0.1, 0.1, 0.8, 0.8], wcs=wcs)
pyplot_2.add_axes(ax)
誰かがこれを解決する方法を知っていますか?どうもありがとう。