<commit_before>Sequences
=========

.. image:: https://raw.github.com/synw/django-chartflo/master/docs/img/sequence.png

A widget showing a serie of key/value pairs with optional thresholds.

Example code:

   ```python
   from chartflo.apps import cf
   
   
   cf.sequence(widget_slug, "dashboard_name", "Key column", "Value column",
                    style="width:46px;padding:0.2em 0.6em 0.6em 0.2em",
                    trs=dict(high=3.0, low=0))
   ```<commit_msg>Correction in doc for sequence<commit_after>Sequences
=========

.. image:: https://raw.github.com/synw/django-chartflo/master/docs/img/sequence.png

A widget showing a serie of key/value pairs with optional thresholds.

Example code:

.. highlight:: python

::
   
   from chartflo.apps import cf
   
   
   cf.sequence(widget_slug, "dashboard_name", "Key column", "Value column",
                    style="width:46px;padding:0.2em 0.6em 0.6em 0.2em",
                    trs=dict(high=3.0, low=0))
{'fraction_non_alphanumeric': 0.14388489208633093, 'fraction_numerical': 0.02672147995889003, 'mean_word_length': 2.865079365079365, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4893835', 'n_tokens_mistral': 335, 'n_tokens_neox': 317, 'n_words': 71}