Currently, I have 3 plots that I draw in 2x2 dual slots. It looks like this:
fig, axes = plt.subplots(nrows=2, ncols=2)
df1.plot('type_of_plot', ax=axes[0, 0]);
df2.plot('type_of_plot', ax=axes[0, 1]);
df3.plot('type_of_plot', ax=axes[1, 0]);
The 4th subplot is empty, and I would like the 3rd part to occupy the entire last line.
I tried various combinations of axes for the third subtitle. How axes[1], axes[1:], axes[1,:]. But everything leads to an error.
So how can I achieve what I want?
source
share