##// END OF EJS Templates
Backport PR #9299: FIX: account for dpi == 'figure'...
Min RK -
r22155:1c5d7488 4.0.x
parent child Browse files
Show More
@@ -98,6 +98,8 b" def print_figure(fig, fmt='png', bbox_inches='tight', **kwargs):"
98 return
98 return
99
99
100 dpi = rcParams['savefig.dpi']
100 dpi = rcParams['savefig.dpi']
101 if dpi == 'figure':
102 dpi = fig.dpi
101 if fmt == 'retina':
103 if fmt == 'retina':
102 dpi = dpi * 2
104 dpi = dpi * 2
103 fmt = 'png'
105 fmt = 'png'
General Comments 0
You need to be logged in to leave comments. Login now