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