@@ -406,13 +406,13 @@ def plot_2D_modes_at_frequency(modes, freq_required, freq, vars_idx=[0], modes_i
406406 real_ax = fig .add_subplot (1 , 2 , 1 )
407407 real = real_ax .contourf (
408408 x1 , x2 , np .real (mode ).T ,
409- vmin = - np .abs (mode ).max ()* 1.2 ,
410- vmax = np .abs (mode ).max ()* 1.2 )
409+ vmin = - np .abs (mode ).max ()* 1. ,
410+ vmax = np .abs (mode ).max ()* 1. )
411411 imag_ax = fig .add_subplot (1 , 2 , 2 )
412412 imag = imag_ax .contourf (
413413 x1 , x2 , np .imag (mode ).T ,
414- vmin = - np .abs (mode ).max ()* 1.2 ,
415- vmax = np .abs (mode ).max ()* 1.2 )
414+ vmin = - np .abs (mode ).max ()* 1. ,
415+ vmax = np .abs (mode ).max ()* 1. )
416416 if plot_max :
417417 idx_x1 ,idx_x2 = np .where (np .abs (mode ) == np .amax (np .abs (mode )))
418418 real_ax .axhline (x1 [idx_x1 ], xmin = 0 , xmax = 1 ,color = 'k' ,linestyle = '--' )
@@ -469,8 +469,8 @@ def plot_2D_modes_at_frequency(modes, freq_required, freq, vars_idx=[0], modes_i
469469 real_ax = plt .gca ()
470470 real = real_ax .contourf (
471471 x1 , x2 , np .real (mode ).T ,
472- vmin = - np .abs (mode ).max ()* 1.2 ,
473- vmax = np .abs (mode ).max ()* 1.2 )
472+ vmin = - np .abs (mode ).max ()* 1. ,
473+ vmax = np .abs (mode ).max ()* 1. )
474474 if plot_max :
475475 idx_x1 ,idx_x2 = np .where (np .abs (mode ) == np .amax (np .abs (mode )))
476476 real_ax .axhline (x1 [idx_x1 ], xmin = 0 , xmax = 1 ,color = 'k' ,linestyle = '--' )
0 commit comments