plot can now be updated interactively