Answers for "matplotlib different size subplots"

0

matplotlib different size subplots

plt.subplots(1, 2, gridspec_kw={'width_ratios': [3, 1]})
or
plt.subplots(rows,1,figsize=(35, rows*3), sharex=True, gridspec_kw={'height_ratios': [1,1,1,1,1,1, 3]})
Posted by: Guest on August-18-2021

Browse Popular Code Answers by Language