我一直在看这个例子"scatterhist"在Matplotlib画廊中。此时x/y子图分别在顶部和右侧,即:divider=make_axes_locatable(axScatter)axHistx=divider.append_axes("top",1.2,pad=0.1,sharex=axScatter)axHisty=divider.append_axes("right",1.2,pad=0.1,sharey=axScatter)但是,如果我将子图位置更改为:divider=make_axes_locatable(axScatter)axHistx=divider.append