@@ -251,11 +251,11 @@ def plot_estimates(
251251    if  msr_df  is  not None :
252252        # Plot the measurements on both plots 
253253        pos_fig  =  overlay_measurements (
254-             msr_df , title , time_col_name ,  fig = pos_fig , show = False 
254+             pos_fig ,  msr_df , title , time_col_name , show = False 
255255        )
256256
257257        vel_fig  =  overlay_measurements (
258-             msr_df , title , time_col_name ,  fig = vel_fig , show = False 
258+             vel_fig ,  msr_df , title , time_col_name , show = False 
259259        )
260260
261261    if  html_out :
@@ -458,11 +458,11 @@ def plot_covar(
458458    if  msr_df  is  not None :
459459        # Plot the measurements on both plots 
460460        pos_fig  =  overlay_measurements (
461-             msr_df , title , time_col_name ,  fig = pos_fig , show = False 
461+             pos_fig ,  msr_df , title , time_col_name , show = False 
462462        )
463463
464464        vel_fig  =  overlay_measurements (
465-             msr_df , title , time_col_name ,  fig = vel_fig , show = False 
465+             vel_fig ,  msr_df , title , time_col_name , show = False 
466466        )
467467
468468    if  html_out :
@@ -681,7 +681,7 @@ def plot_residuals(
681681            if  msr_df  is  not None :
682682                # Plot the measurements on both plots 
683683                fig  =  overlay_measurements (
684-                     msr_df , title , time_col_name ,  fig = fig , show = False 
684+                     fig ,  msr_df , title , time_col_name , show = False 
685685                )
686686
687687            finalize_plot (
0 commit comments