@@ -222,12 +222,7 @@ def check_lens(dic):
222222
223223bath4 [bath4 < - 10 ** 10 ] = np .nan
224224bath [bath < - 10 ** 10 ] = np .nan
225- #%%
226- #plt.pcolormesh(bath4, vmin=-3, vmax=3)
227- #plt.colorbar()
228- #plt.show()
229225
230- #assert False
231226#%% start figure
232227
233228print ('start figure' )
@@ -269,7 +264,6 @@ def check_lens(dic):
269264 aspect = 18 , extend = 'both' )
270265
271266cbar_ax .set_visible (False )
272- # cbar.ax.xaxis.set_label_position('right')
273267cbar .ax .set_ylabel ('$^{\circ}$C' , fontsize = fs , rotation = 'horizontal' )
274268cbar .ax .yaxis .set_label_coords (- 0.1 , - 0.3 )
275269cbar .ax .tick_params (labelsize = fs )
@@ -279,9 +273,9 @@ def check_lens(dic):
279273 lw = 0 , marker = 'x' , markersize = 15 ),
280274 Line2D ([0 ], [0 ], markeredgecolor = 'k' , markerfacecolor = 'k' ,
281275 lw = 0 , marker = '+' , markersize = 15 )]
282- # assert False
276+ #
283277
284- ax .legend (custm , ['38-34Ma proxies' , '42-38Ma proxies' ],
278+ ax .legend (custm , ['38–34 Ma proxies' , '42–38 Ma proxies' ],
285279 bbox_to_anchor = (.25 , 1.41 ), loc = 'upper right' ,prop = {'size' :fs - 4 })
286280
287281custm = [Line2D ([0 ], [0 ], color = 'k' ,
@@ -313,8 +307,8 @@ def check_lens(dic):
313307file24 = '/Volumes/HD/Eocene/output/time_mean/final/pop_38Ma_4pic_merT_avgyear23to27.nc'
314308#%
315309
316- panell = {'2pic' :['(b)' , '(c) 38-34Ma proxy data' ,'(g) HR2' ,'(h) LR2' ],
317- '4pic' :['(e)' , '(f) 42-38Ma proxy data' ,'(i) HR4' ,'(j) LR4' ]}
310+ panell = {'2pic' :['(b)' , '(c) 38-34 Ma proxy data' ,'(g) HR2' ,'(h) LR2' ],
311+ '4pic' :['(e)' , '(f) 42-38 Ma proxy data' ,'(i) HR4' ,'(j) LR4' ]}
318312
319313# Define the inner grids
320314
@@ -353,7 +347,9 @@ def check_lens(dic):
353347 panell = panell , config = '4pic' )
354348
355349if (True ):
350+ plt .savefig ('SSTdiff_merT.tif' ,
351+ dpi = 400 ,bbox_inches = 'tight' ,pad_inches = 0 )
356352 plt .savefig ('SSTdiff_merT.png' ,
357- dpi = 300 ,bbox_inches = 'tight' ,pad_inches = 0 )
353+ dpi = 400 ,bbox_inches = 'tight' ,pad_inches = 0 )
358354
359355plt .show ()
0 commit comments