@@ -41,9 +41,9 @@ def main(start=3.0, stop=11.0, step=1.0, repeats=2, use_diffrax: bool = False):
4141 jax .config .update ("jax_enable_x64" , True )
4242
4343 # Simulate once to plot the state
44- ts , ys = solve_ivp_once ()
44+ _ts , ys = solve_ivp_once ()
4545
46- fig , ax = plt .subplots (figsize = (5 , 3 ))
46+ _fig , ax = plt .subplots (figsize = (5 , 3 ))
4747 ax .plot (ys [:, :7 ], ys [:, 7 :14 ], linestyle = "solid" , marker = "None" )
4848 ax .plot (ys [0 , :7 ], ys [0 , 7 :14 ], linestyle = "None" , marker = "." , markersize = 4 )
4949 ax .plot (ys [- 1 , :7 ], ys [- 1 , 7 :14 ], linestyle = "None" , marker = "*" , markersize = 8 )
@@ -92,7 +92,7 @@ def main(start=3.0, stop=11.0, step=1.0, repeats=2, use_diffrax: bool = False):
9292 param_to_wp = workprec (algo , precision_fun = precision_fun , timeit_fun = timeit_fun )
9393 results [label ] = param_to_wp (tolerances )
9494
95- fig , ax = plt .subplots (figsize = (7 , 3 ))
95+ _fig , ax = plt .subplots (figsize = (7 , 3 ))
9696 for label , wp in results .items ():
9797 ax .loglog (wp ["precision" ], wp ["work_mean" ], label = label )
9898
0 commit comments