<jupyter_start><jupyter_text>The ``Str`` pane allows rendering arbitrary text in a panel. Unlike ``Markdown`` and ``HTML``, a ``Str`` is interpreted as a raw string without applying any markup and is displayed in a fixed-width font by default. The pane will render any text, and if given an object will display the object's Python `repr`. Parameters:For layout and styling related parameters see the [customization user guide](../../user_guide/Customization.ipynb).* **``object``** (str or object): The string to display. If a non-string type is supplied, the `repr` of that object is displayed. * **``style``** (dict): Dictionary specifying CSS styles___<jupyter_code>str_pane = pn.pane.Str('This is a raw string which will not be formatted in any way except for the applied style.', style={'font-size': '12pt'})
str_pane<jupyter_output><empty_output><jupyter_text>Like other panes the ``Str`` pane can be updated by setting its ``object`` parameter.  As mentioned above, non-string types are automatically cast to a string:<jupyter_code>str_pane.object = 1.3234232<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.10948905109489052, 'fraction_numerical': 0.009124087591240875, 'mean_word_length': 5.689024390243903, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, '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}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '220985', 'license': 'BSD-3-Clause', 'n_tokens_mistral': 323, 'n_tokens_neox': 308, 'n_words': 136, 'path': 'examples/reference/panes/Str.ipynb', 'repo_name': 'rupakgoyal/panel-', 'size': '1096'}