{% extends "base.html" %} {% block title %}Plot {{ plot.id }}{% endblock %} {% block body %}

{{ plot.name or plot.title }}

{{ plot.created_at }}

{% if plot.plot_config and selected_runs | selectattr('available', 'equalto', false) | list | length == 0 %}Edit plot{% endif %} Back to plots {% if plot.plot_path or plot.figure_json or plot.plot_config %}
Download
{% if plot.plot_path %}PNG{% endif %} {% if plot.figure_json or plot.plot_config %} Data Data + script {% endif %}
{% endif %}
{% if plot.plot_path %}
{% if plot.run_images %}

A copy is also saved beside each selected run's manifest.json.

{% endif %}
{% endif %}
{% if plot.figure_json %}

This saved comparison is stored as an interactive Plotly figure with persistent style and axis settings.

{% else %}

Plot image: {{ plots_dir }}/{{ plot.id }}/{{ plot.plot_path }}

{% endif %}
{% if plot.figure_json %}
{% else %} {{ plot.title }} {% endif %}

Selected runs

{% if plot.selected_runs %}
{% for run in selected_runs %}
{% if run.available %}{{ run.name }}{% else %}Run unavailable: {{ run.name }}{% endif %} {% if run.is_plane_mirror %}Plane-mirror reflectivity{% else %}Orders: {{ run.orders | join(', ') }}{% endif %}
{% endfor %}
{% else %}

No runs selected.

{% endif %}
{% endblock %}