
.. DO NOT EDIT.
.. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY.
.. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE:
.. "auto_examples/no_output/plot_strings.py"
.. LINE NUMBERS ARE GIVEN BELOW.

.. only:: html

    .. note::
        :class: sphx-glr-download-link-note

        Click :ref:`here <sphx_glr_download_auto_examples_no_output_plot_strings.py>`
        to download the full example code or to run this example in your browser via Binder

.. rst-class:: sphx-glr-example-title

.. _sphx_glr_auto_examples_no_output_plot_strings.py:


Constrained Text output frame
=============================

This example captures the standard output and includes it in the
example. If output is too long it becomes automatically
framed into a text area.

.. GENERATED FROM PYTHON SOURCE LINES 10-16

.. code-block:: python3


    # Code source: Óscar Nájera
    # License: BSD 3 clause

    print('This is a long test Output\n' * 50)





.. rst-class:: sphx-glr-script-out

 Out:

 .. code-block:: none

    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output
    This is a long test Output





.. GENERATED FROM PYTHON SOURCE LINES 17-18

One line out

.. GENERATED FROM PYTHON SOURCE LINES 18-20

.. code-block:: python3


    print('one line out')




.. rst-class:: sphx-glr-script-out

 Out:

 .. code-block:: none

    one line out




**Estimated memory usage:**  9 MB


.. _sphx_glr_download_auto_examples_no_output_plot_strings.py:


.. only :: html

 .. container:: sphx-glr-footer
    :class: sphx-glr-footer-example


  .. container:: binder-badge

    .. image:: images/binder_badge_logo.svg
      :target: https://mybinder.org/v2/gh/sphinx-gallery/sphinx-gallery.github.io/master?urlpath=lab/tree/notebooks/auto_examples/no_output/plot_strings.ipynb
      :alt: Launch binder
      :width: 150 px


  .. container:: sphx-glr-download sphx-glr-download-python

     :download:`Download Python source code: plot_strings.py <plot_strings.py>`



  .. container:: sphx-glr-download sphx-glr-download-jupyter

     :download:`Download Jupyter notebook: plot_strings.ipynb <plot_strings.ipynb>`


.. only:: html

 .. rst-class:: sphx-glr-signature

    `Gallery generated by Sphinx-Gallery <https://sphinx-gallery.github.io>`_
