If one changes the voltage it takes a very long time for the graph to react appropriately. That is because it is plotting charge-flow / ticks and charge_flow only increases with time so it is plotting the average since the beginning of the run.
If it just plots charge-flow and after the call to tick one inserts set charge-flow 0 then the graph responds immediately. And one sees that the current measurement is noisy which seems appropriate in this model.