Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

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]})
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #matplotlib #size #subplots
ADD COMMENT
Topic
Name
8+9 =