##// END OF EJS Templates
Merge pull request #9868 from has2k1/fix-dpi...
Min RK -
r22853:6e2950e1 merge
parent child Browse files
Show More
@@ -98,9 +98,7 b" def print_figure(fig, fmt='png', bbox_inches='tight', **kwargs):"
98 if not fig.axes and not fig.lines:
98 if not fig.axes and not fig.lines:
99 return
99 return
100
100
101 dpi = rcParams['savefig.dpi']
101 dpi = fig.dpi
102 if dpi == 'figure':
103 dpi = fig.dpi
104 if fmt == 'retina':
102 if fmt == 'retina':
105 dpi = dpi * 2
103 dpi = dpi * 2
106 fmt = 'png'
104 fmt = 'png'
General Comments 0
You need to be logged in to leave comments. Login now