autowisp.browser_interface.diagnostics.views module

Collect all views for the diagnostics app.

Also where the stored expression library is fetched and handed to the plotting code. That code takes it as an argument and never looks it up, so that it needs no browser-interface database – the same reason the tiers below it take one too – which leaves this module, already the app’s Django side, as the place the two meet.

autowisp.browser_interface.diagnostics.views.diagnostics_section(request, x_quantity, y_quantity)[source]

Render one section, for the y selector to append to the page.

autowisp.browser_interface.diagnostics.views.display_diagnostics(request, x_quantity, y_quantities)[source]

Show a section per y quantity, the library and its prose included.

autowisp.browser_interface.diagnostics.views.download_diagnostics_plot(request, x_quantity)[source]

Regenerate the last figure as a PDF, library and all.

autowisp.browser_interface.diagnostics.views.update_diagnostics_plot(request, x_quantity)[source]

Redraw the figure, with the library available to every row.