ImperialCollegeLondon / Faraday-liionsden

BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Implement plotting framework #8

Closed dalonsoa closed 1 year ago

dalonsoa commented 3 years ago

Background

A plotting framework will be integrated within the webapp to visualize the experimental data. Initially, this will handle single variables from one experiment, but it will be designed to be easily expandable in the future with new functionality. This task will code all the relevant backend to easily create plots and deploy them in the public front end on demand.

Tools

Dash/Plotly will be used for this as it offers a rich set of options for interacting with the plots. ~Django-Dash seems likes a nice and simple way of doing this, but its features will need to be reviewed in detail. It is also GPL/LGPL, so we need to check the licence they want to give to Liionsden.~ ~Django-Plotly-Dash also looks appropriate, and it is MIT, so potentially more convenient.~

Individual tasks

Individual issues:

Potential blockers

dandavies99 commented 2 years ago

For tools, Django-Plotly-Dash is probably a good place to start. The live demo in their docs gives some confidence it should do what we want.

Update resorting to just using plotly on its own. see #174 for reasons.