ntqr.plots
==========

.. py:module:: ntqr.plots

.. autoapi-nested-parse::

   Module for convenience plotting functions related to NTQR algorithms.



Functions
---------

.. autoapisummary::

   ntqr.plots.plot_pair_logical_alarm_at_qs
   ntqr.plots.plot_pair_label_evals
   ntqr.plots._plot_pair_label_evals


Module Contents
---------------

.. py:function:: plot_pair_logical_alarm_at_qs(labels: collections.abc.Sequence[str], classifiers: collections.abc.Sequence[int | str], qs: collections.abc.Sequence[int], responses: collections.abc.Sequence[collections.abc.Sequence[int]], plt: types.ModuleType = plt)

   Plot pair possible evaluations given qs and responses.

   :param labels: The labels to be used.
   :type labels: Sequence[str]
   :param classifiers: Classifier identifiers, could be integers or strings: 1 or 'i', eg.
   :type classifiers: Sequence[str | int]
   :param qs: Number of label questions
   :type qs: Sequence[int]
   :param responses: Number of label responses by each classifier.
   :type responses: Sequence[Sequence[int]]
   :param plt:
   :type plt: Handle into the pyplot module.

   :returns: Plots a square of possible evaluations and safety specification
             satisfying evaluations for each of the labels.
   :rtype: None


.. py:function:: plot_pair_label_evals(ql, pair_label_evals, safety_evals, vars, plt=plt)

.. py:function:: _plot_pair_label_evals(ax, ql, pair_label_evals, safety_evals, vars, plt=plt)

