@@ -457,9 +457,9 @@ def plot_spatial(axs: np.ndarray) -> None:
457457 (ds ["r0" ] / 1000 ).plot (ax = axs [1 ], cbar_kwargs = {"label" : "" })
458458 ds ["vmax" ].plot (ax = axs [0 ], cbar_kwargs = {"label" : "" })
459459 no = (- 90.25 , 29.25 )
460- axs [0 ].scatter (* no , color = "black" , s = 30 , marker = "x" )
461- axs [1 ].scatter (* no , color = "black" , s = 30 , marker = "x" )
462- axs [1 ].set_title ("Potential intensity, $V_{p}$ [m s$^{-1}$]" )
460+ axs [0 ].scatter (* no , color = "black" , s = 100 , marker = "x" )
461+ axs [1 ].scatter (* no , color = "black" , s = 100 , marker = "x" )
462+ axs [0 ].set_title ("Potential intensity, $V_{p}$ [m s$^{-1}$]" )
463463 axs [1 ].set_title ("Potential size, $r_a$ [km]" )
464464
465465
@@ -488,8 +488,8 @@ def plot_timeseries(axs: np.ndarray) -> None:
488488 print ("rho_sst_r0" , rho_sst_r0 )
489489 print ("rho_sst" , rho_sst )
490490
491- axs [0 ].text (0.8 , 0.9 , f"$\\ rho$ = { rho_vmax :.2f} " , transform = axs [0 ].transAxes )
492- axs [1 ].text (0.8 , 0.9 , f"$\\ rho$ = { rho_r0 :.2f} " , transform = axs [1 ].transAxes )
491+ axs [0 ].text (0.75 , 0.9 , f"$\\ rho$ = { rho_vmax :.2f} " , transform = axs [0 ].transAxes )
492+ axs [1 ].text (0.75 , 0.9 , f"$\\ rho$ = { rho_r0 :.2f} " , transform = axs [1 ].transAxes )
493493
494494 # work out gradient with error bars for same period
495495 fit_vmax = safe_grad (years , vmaxs )
@@ -500,13 +500,13 @@ def plot_timeseries(axs: np.ndarray) -> None:
500500 print ("fit_vmax_sst timeseries" , fit_vmax_sst , "m s$^{-1}$C$ ^{-1}$" )
501501
502502 axs [0 ].text (
503- 0.66 ,
503+ 0.60 ,
504504 0.05 ,
505505 f"$m=$ " + "${:.1eL}$" .format (fit_vmax ) + "\n \t \t \t m s$^{-1}$ yr$^{-1}$" ,
506506 transform = axs [0 ].transAxes ,
507507 )
508508 axs [1 ].text (
509- 0.66 ,
509+ 0.60 ,
510510 0.1 ,
511511 f"$m=$" + "${:.2L}$" .format (fit_r0 ) + " km yr$^{-1}$" ,
512512 transform = axs [1 ].transAxes ,
@@ -532,7 +532,7 @@ def figure_two():
532532 _ , axs = plt .subplots (
533533 2 ,
534534 2 ,
535- figsize = get_dim (ratio_of_linewidth = 1.5 ),
535+ figsize = get_dim (fraction_of_line_width = 1.5 ),
536536 width_ratios = [1 , 1.5 ],
537537 height_ratios = [1 , 1 ],
538538 )
0 commit comments