{% extends "dist/project/baseWidget.html" %} {% load static %} {% load project_extras %} {% block otherCSS %}{% if B_DARK_THEME %}{% else %}{% endif %} {% endblock %} {% block title %} Plot DB {% endblock %} {% block body %}{% endblock %} {% block content %}

Get widget component

You can now access this plot with the following commands:
{% comment %} from spartaqube import Spartaqube {% endcomment %}
{{ plot_data_cmd|linebreaks }}

Use widget as template

You can reuse this component with new data like that:
{% comment %} from spartaqube import Spartaqube {% endcomment %}
{{ plot_data_cmd_inputs|linebreaks }}
                        
{% endblock %} {% block otherJS %} {% comment %}{% endcomment %}{% comment %}{% endcomment %} {% comment %}{% endcomment %}{% endblock %}