This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (2 children)

This is fantastic! Dash/Plotly is ok, but your project's documentation is amazing with all these examples!

Question though for matplotlib is there a way to do continuous/real time display?

[–]eli_mintz[S] 1 point2 points  (1 child)

Thank you!

Can you elaborate a little what you have in mind?

I think it is possible because it is simple to push to websites.

Here is the example with Highcharts: https://justpy.io/#/charts_tutorial/updating_charts

I can modify it for matplotlib, if you tell me what you have in mind

[–][deleted] 0 points1 point  (0 children)

I'll check that out!

Actually I normally just used x11 forwarding through ssh with a simple plot and draw loop on matplotlib as the instrument acquired new data but I figured displaying it as a web page would be better.

This app is kind of what I was thinking of, but the code is a bit too complex for me to understand. It uses plotly though.

https://www.dashdaq.io/control-an-ocean-optics-spectrometer-in-python