##// END OF EJS Templates
Remove access to 'savefig.dpi', use figure.dpi...
Hassan Kibirige -
Show More
@@ -97,9 +97,7 b" def print_figure(fig, fmt='png', bbox_inches='tight', **kwargs):"
97 if not fig.axes and not fig.lines:
97 if not fig.axes and not fig.lines:
98 return
98 return
99
99
100 dpi = rcParams['savefig.dpi']
100 dpi = fig.dpi
101 if dpi == 'figure':
102 dpi = fig.dpi
103 if fmt == 'retina':
101 if fmt == 'retina':
104 dpi = dpi * 2
102 dpi = dpi * 2
105 fmt = 'png'
103 fmt = 'png'
General Comments 0
You need to be logged in to leave comments. Login now