{# Library install widget: one row of method tabs, one panel per method. The first panel is visible by default; widget.js mirrors localStorage onto and the CSS in widget.css swaps panel visibility based on that attribute. Each install body runs through Sphinx's Pygments via the ``highlight`` Jinja filter so sphinx-copybutton's prompt-strip regex picks it up automatically. The quickstart body is highlighted as ``python``. #}
{% for method in methods %} {% endfor %}
{% for panel in panels %}
{% if panel.method.doc_url %}

With {{ panel.method.label }} installed:

{% endif %}
{{ panel.install_body | highlight("console") }}

Then drive the library from Python:

{{ panel.quickstart_body | highlight("python") }}
{% endfor %}