@@ -34,11 +34,11 @@ def make_subplot(ax, true_csd, est_csd, estm_x, title=None, ele_pos=None,
3434 x = np .linspace (0 , 1 , 100 )
3535 l1 = ax .plot (x , true_csd , label = 'True CSD' , lw = 2. )
3636 if est_csd_LC is not None :
37- l2 = ax .plot (estm_x , est_csd , label = 'kCSD_CV ' , lw = 2. )
38- l3 = ax .plot (estm_x , est_csd_LC , label = 'kCSD_LC ' , lw = 2. )
37+ l2 = ax .plot (estm_x , est_csd , label = 'kCSD Cross-validation ' , lw = 2. )
38+ l3 = ax .plot (estm_x , est_csd_LC , label = 'kCSD L-Curve ' , lw = 2. )
3939 else :
4040 l2 = ax .plot (estm_x , est_csd , label = 'kCSD' , lw = 2. )
41- s1 = ax .scatter (ele_pos , np .zeros (len (ele_pos )), 13 , 'k' , label = 'Electrodes' )
41+ s1 = ax .scatter (ele_pos , np .zeros (len (ele_pos )), 17 , 'k' , label = 'Electrodes' )
4242 #ax.legend(fontsize=10)
4343 ax .set_xlim ([0 , 1 ])
4444 if xlabel :
@@ -50,7 +50,7 @@ def make_subplot(ax, true_csd, est_csd, estm_x, title=None, ele_pos=None,
5050 if np .max (est_csd ) < 1.2 :
5151 ax .set_ylim (- 0.2 , 1.2 )
5252 elif np .max (est_csd ) > 500 :
53- ax .set_yticks ([- 5000 , 0 , 5000 ])
53+ ax .set_yticks ([- 5000 , 0 , 5000 ], [ - 5000 , 0 , 5000 ] )
5454 ax .set_xticks ([0 , 0.5 , 1 ])
5555 set_axis (ax , letter = letter )
5656 # ax.legend(frameon=False, loc='upper center', ncol=3)
0 commit comments