I am currently extracting positional data from G-Code of a model and using it to simulate a real-time line plot, layer by layer. So far I have tested matplotlib and plotly. The simulation works fine but after each line plot it starts to slow down to a point where you are not able to interact with the plot anymore.
I need fast alternatives to simulate my problem which allows me to interact with the plot in real-time as well as after the plotting is complete.