
.. 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

        :ref:`Go to the end <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 9-15

.. code-block:: Python


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

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





.. rst-class:: sphx-glr-script-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 16-17

One line out

.. GENERATED FROM PYTHON SOURCE LINES 17-19

.. code-block:: Python


    print("one line out")




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

 .. code-block:: none

    one line out





.. _sphx_glr_download_auto_examples_no_output_plot_strings.py:

.. only:: html

  .. container:: sphx-glr-footer 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-jupyter

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

    .. 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-zip

      :download:`Download zipped: plot_strings.zip <plot_strings.zip>`


.. only:: html

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

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