histoprint


Namehistoprint JSON
Version 2.5.0 PyPI version JSON
download
home_pagehttps://github.com/scikit-hep/histoprint
SummaryPretty print of NumPy (and other) histograms to the console
upload_time2024-10-18 11:36:51
maintainerThe Scikit-HEP admins
docs_urlNone
authorLukas Koch
requires_python>=3.6
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ========================================================================
histoprint - pretty print of NumPy (and other) histograms to the console
========================================================================

|Scikit-HEP| |PyPI| |Conda-forge| |Zenodo-DOI|


How does it work?
-----------------

``Histoprint`` uses a mix of terminal color codes and Unicode trickery (i.e.
combining characters) to plot overlaying histograms. Some terminals are not
able to display Unicode combining characters correctly. ``Histoprint`` can still be
used in those terminals, but the character set needs to be constrained to the
non-combining ones (see below).


Installation
------------

::

    $ python -m pip install histoprint

::

    $ conda install -c conda-forge histoprint


Getting started
---------------

Basic examples::

    import numpy as np
    from histoprint import text_hist, print_hist

    A = np.random.randn(1000) - 2
    B = np.random.randn(1000)
    C = np.random.randn(1000) + 2
    D = np.random.randn(500) * 2

    # text_hist is a thin wrapper for numpy.histogram
    text_hist(
        B, bins=[-5, -3, -2, -1, -0.5, 0, 0.5, 1, 2, 3, 5], title="Variable bin widths"
    )

    histA = np.histogram(A, bins=15, range=(-5, 5))
    histB = np.histogram(B, bins=15, range=(-5, 5))
    histC = np.histogram(C, bins=15, range=(-5, 5))
    histD = np.histogram(D, bins=15, range=(-5, 5))
    histAll = ([histA[0], histB[0], histC[0], histD[0]], histA[1])

    # print_hist can be used to print multiple histograms at once
    # (or just to print a single one as returned by numpy.histogram)
    print_hist(histAll, title="Overlays", labels="ABCDE")
    print_hist(
        histAll,
        title="Stacks",
        stack=True,
        symbols="      ",
        bg_colors="rgbcmy",
        labels="ABCDE",
    )
    print_hist(
        histAll,
        title="Summaries",
        symbols=r"=|\/",
        fg_colors="0",
        bg_colors="0",
        labels=["AAAAAAAAAAAAAAAA", "B", "CCCCCCCCCCCCC", "D"],
        summary=True,
    )

.. image:: examples.png

The last example does not use terminal colors, so it can be copied as text::

                                       Summaries
    -5.00e+00 _
    -4.33e+00 _═⃫
    -3.67e+00 _═⃫═⃫═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏
    -3.00e+00 _═⃫═⃫═⃫═⃫═⃫═⃫═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏
    -2.33e+00 _╪⃫╪⃫═⃫═⃫═⃫═⃫═⃫═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏
    -1.67e+00 _╪⃫╪⃫╪⃫╪⃫╪⃫╪⃫╪⃫╪⃫╪⃫╪⃫═⃫═⃫═⃫═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏
    -1.00e+00 _╪⃫╪⃫╪⃫╪⃫╪⃫╪⃫╪⃫╪⃫╪⃫╪⃫╪⃫╪⃫╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏
    -3.33e-01 _╪⃥⃫╪⃥⃫╪⃫╪⃫╪⃫╪⃫╪⃫╪⃫╪⃫╪⃫╪⃫╪⃫╪⃫╪⃫╪⃫╪⃫╪⃫╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏
     3.33e-01 _╪⃥⃫╪⃥⃫╪⃥⃫╪⃥⃫╪⃥⃫╪⃥⃫╪⃫╪⃫╪⃫╪⃫│⃫│⃫│⃫│⃫│⃫│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏
     1.00e+00 _╪⃥⃫│⃥⃫│⃥⃫│⃥⃫│⃥⃫│⃥⃫│⃥⃫│⃥⃫│⃥⃫│⃥⃫│⃥⃫│⃥⃫│⃥⃫│⃥⃫│⃥⃫│⃥⃫│⃥│⃥│⃥│⃥│⃥│⃥│⃥│⃥│⃥│⃥│⃥│⃥│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏
     1.67e+00 _│⃥⃫│⃥⃫│⃥⃫│⃥⃫│⃥⃫│⃥⃫│⃥⃫│⃥⃫│⃥⃫│⃥⃫│⃥⃫│⃥│⃥│⃥│⃥│⃥│⃥│⃥│⃥│⃥│⃥│⃥│⃥│⃥│⃥│⃥│⃥│⃥│⃥│⃥│⃥│⃥│⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥
     2.33e+00 _│⃥⃫│⃥⃫│⃥⃫│⃥⃫│⃥⃫│⃥⃫│⃥⃫│⃥⃫│⃥│⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥
     3.00e+00 _│⃥⃫│⃥⃫ ⃥⃫ ⃥⃫ ⃥⃫ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥
     3.67e+00 _ ⃥⃫ ⃥⃫ ⃥⃫ ⃥⃫ ⃥⃫ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥
     4.33e+00 _ ⃥⃫ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥ ⃥
     5.00e+00 _ ⃥⃫ ⃥
                 ═͏ AAAAAAAAAAAAAAAA │͏ B          ⃥ CCCCCCCCCCCCC  ⃫ D
           Sum:  9.99e+02           1.00e+03    9.99e+02        4.92e+02
           Avg: -1.98e+00           1.13e-02    1.99e+00       -1.71e-01
           Std:  1.03e+00           1.03e+00    9.94e-01        2.00e+00


Support for other histogram types
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

``Histoprint`` can directly plot other (more fancy) types of histograms if they
follow the `PlottableProtocol` conventions, or offer a way of being converted to
the NumPy format. Currently this means they have to expose a ``numpy()`` or
``to_numpy()`` method. Both the ROOT ``TH1`` histograms of `uproot4 <https://github.com/scikit-hep/uproot4>`__,
as well as the histograms of `boost-histogram <https://github.com/scikit-hep/boost-histogram>`__,
are supported::

    import boost_histogram as bh
    hist = bh.Histogram(bh.axis.Regular(20, -3, 3))
    hist.fill(np.random.randn(1000))
    print_hist(hist, title="Boost Histogram")

    import uproot
    file = uproot.open("http://scikit-hep.org/uproot3/examples/Event.root")
    hist = file["htime"]
    print_hist(hist, title="uproot TH1")


Disabling Unicode combining characters
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Some terminals are not able to display Unicode combining characters correctly.
To disable the use of combining characters, simply do not use them when calling
``print_hist``::

    print_hist(some_histograms, symbols=" =|")

The combining characters are ``/`` and ``\``. Note that they are used in the
default set of characters for the 4th and 5th histogram if they are present.


Command line interface
----------------------

``Histoprint`` also comes with a simple command-line interface to create
histograms of tabulated data or even ROOT files (with the help of ``uproot``).
It can read in files or take data directly from STDIN::

    $ histoprint --help
    Usage: histoprint [OPTIONS] INFILE

      Read INFILE and print a histogram of the contained columns.

      INFILE can be '-', in which case the data is read from STDIN.

    Options:
      -b, --bins TEXT                 Number of bins or space-separated bin edges.
      -t, --title TEXT                Title of the histogram.
      --stack / --nostack             Stack the histograms.
      -s, --summary / -S, --nosummary
                                      Print summary statistics.
      -l, --label TEXT                Labels for the data, one for each column.
      --symbols TEXT                  Symbol cycle for multiple histograms.
                                      Choices & default: ' |=/\'

      --fg-colors TEXT                Colour cycle for foreground colours.
                                      Default: 'WWWWW', Choices:
                                      '0rgbcmykwRGBCMYKW'

      --bg-colors TEXT                Colour cycle for background colours.
                                      Default: 'K0000', Choices:
                                      '0rgbcmykwRGBCMYKW'

      -f, --field TEXT                Which fields to histogram. Interpretation of
                                      the fields depends on the file format. TXT
                                      files only support integers for column
                                      numbers starting at 0. For CSV files, the
                                      fields must be the names of the columns as
                                      specified in the first line of the file.
                                      When plotting from ROOT files, at least one
                                      field must be specified. This can either be
                                      the path to a single TH1, or one or more
                                      paths to TTree branches. Also supports
                                      slicing of array-like branches, e.g. use
                                      'tree/branch[:,2]' to histogram the 3rd
                                      elements of a vector-like branch.

      -C, --cut TEXT                  Filter the data to be plotted by a cut
                                      condition. For ROOT files, variables must be
                                      referenced by their branch name within the
                                      TTree, e.g. 'momentum > 100.' rather than
                                      'tree/object/momentum > 100.'. For text
                                      files, the fields are referred to as
                                      'data[i]', where 'i' is the field number.
                                      The variables used in the cut do not have to
                                      be part of the plotted fields.

      -c, --columns INTEGER           Total width of the displayed histogram in
                                      characters. Defaults to width of the
                                      terminal.

      -r, --lines INTEGER             Approximate total height of the displayed
                                      histogram in characters. Calculated from
                                      number of columns by default.

      --version                       Show the version and exit.
      --help                          Show this message and exit.

    $ histoprint -t "Title" -s -b "0.5 1.5 2.5 3.5 4.5" -l A -l B --fg-colors "0" --bg-colors "0" --symbols "|=" - <<EOF
    1 2
    2 3
    2 3
    2 nan
    3 4
    3 4
    EOF
                                         Title
     5.00e-01 _
               │͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏
               │͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏
               │͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏
     1.50e+00 _│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏
               ╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏
               ╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏
               ╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏
     2.50e+00 _╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏│͏
               ╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏
               ╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏
               ╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏
     3.50e+00 _╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏╪͏
               ═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏
               ═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏
               ═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏
     4.50e+00 _═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏═͏
                                   │͏ A         ═͏ B
                             Tot:  6.00e+00    5.00e+00
                             Avg:  2.17e+00    3.20e+00
                             Std:  6.87e-01    7.48e-01


.. |Scikit-HEP| image:: https://scikit-hep.org/assets/images/Scikit--HEP-Project-blue.svg
   :target: https://scikit-hep.org/

.. |PyPI| image:: https://img.shields.io/pypi/v/histoprint.svg
   :target: https://pypi.python.org/pypi/histoprint

.. |Conda-forge| image:: https://img.shields.io/conda/vn/conda-forge/histoprint.svg
   :target: https://github.com/conda-forge/histoprint-feedstock

.. |Zenodo-DOI| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.4792209.svg
   :target: http://doi.org/10.5281/zenodo.4792209

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/scikit-hep/histoprint",
    "name": "histoprint",
    "maintainer": "The Scikit-HEP admins",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "scikit-hep-admins@googlegroups.com",
    "keywords": null,
    "author": "Lukas Koch",
    "author_email": "lukas.koch@mailbox.org",
    "download_url": "https://files.pythonhosted.org/packages/64/fa/29dbb978a7ad653f2e7eefbba1c283aa8f32222948a6f70d87cf24f770e1/histoprint-2.5.0.tar.gz",
    "platform": null,
    "description": "========================================================================\nhistoprint - pretty print of NumPy (and other) histograms to the console\n========================================================================\n\n|Scikit-HEP| |PyPI| |Conda-forge| |Zenodo-DOI|\n\n\nHow does it work?\n-----------------\n\n``Histoprint`` uses a mix of terminal color codes and Unicode trickery (i.e.\ncombining characters) to plot overlaying histograms. Some terminals are not\nable to display Unicode combining characters correctly. ``Histoprint`` can still be\nused in those terminals, but the character set needs to be constrained to the\nnon-combining ones (see below).\n\n\nInstallation\n------------\n\n::\n\n    $ python -m pip install histoprint\n\n::\n\n    $ conda install -c conda-forge histoprint\n\n\nGetting started\n---------------\n\nBasic examples::\n\n    import numpy as np\n    from histoprint import text_hist, print_hist\n\n    A = np.random.randn(1000) - 2\n    B = np.random.randn(1000)\n    C = np.random.randn(1000) + 2\n    D = np.random.randn(500) * 2\n\n    # text_hist is a thin wrapper for numpy.histogram\n    text_hist(\n        B, bins=[-5, -3, -2, -1, -0.5, 0, 0.5, 1, 2, 3, 5], title=\"Variable bin widths\"\n    )\n\n    histA = np.histogram(A, bins=15, range=(-5, 5))\n    histB = np.histogram(B, bins=15, range=(-5, 5))\n    histC = np.histogram(C, bins=15, range=(-5, 5))\n    histD = np.histogram(D, bins=15, range=(-5, 5))\n    histAll = ([histA[0], histB[0], histC[0], histD[0]], histA[1])\n\n    # print_hist can be used to print multiple histograms at once\n    # (or just to print a single one as returned by numpy.histogram)\n    print_hist(histAll, title=\"Overlays\", labels=\"ABCDE\")\n    print_hist(\n        histAll,\n        title=\"Stacks\",\n        stack=True,\n        symbols=\"      \",\n        bg_colors=\"rgbcmy\",\n        labels=\"ABCDE\",\n    )\n    print_hist(\n        histAll,\n        title=\"Summaries\",\n        symbols=r\"=|\\/\",\n        fg_colors=\"0\",\n        bg_colors=\"0\",\n        labels=[\"AAAAAAAAAAAAAAAA\", \"B\", \"CCCCCCCCCCCCC\", \"D\"],\n        summary=True,\n    )\n\n.. image:: examples.png\n\nThe last example does not use terminal colors, so it can be copied as text::\n\n                                       Summaries\n    -5.00e+00 _\n    -4.33e+00 _\u2550\u20eb\n    -3.67e+00 _\u2550\u20eb\u2550\u20eb\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\n    -3.00e+00 _\u2550\u20eb\u2550\u20eb\u2550\u20eb\u2550\u20eb\u2550\u20eb\u2550\u20eb\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\n    -2.33e+00 _\u256a\u20eb\u256a\u20eb\u2550\u20eb\u2550\u20eb\u2550\u20eb\u2550\u20eb\u2550\u20eb\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\n    -1.67e+00 _\u256a\u20eb\u256a\u20eb\u256a\u20eb\u256a\u20eb\u256a\u20eb\u256a\u20eb\u256a\u20eb\u256a\u20eb\u256a\u20eb\u256a\u20eb\u2550\u20eb\u2550\u20eb\u2550\u20eb\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\n    -1.00e+00 _\u256a\u20eb\u256a\u20eb\u256a\u20eb\u256a\u20eb\u256a\u20eb\u256a\u20eb\u256a\u20eb\u256a\u20eb\u256a\u20eb\u256a\u20eb\u256a\u20eb\u256a\u20eb\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\n    -3.33e-01 _\u256a\u20e5\u20eb\u256a\u20e5\u20eb\u256a\u20eb\u256a\u20eb\u256a\u20eb\u256a\u20eb\u256a\u20eb\u256a\u20eb\u256a\u20eb\u256a\u20eb\u256a\u20eb\u256a\u20eb\u256a\u20eb\u256a\u20eb\u256a\u20eb\u256a\u20eb\u256a\u20eb\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\n     3.33e-01 _\u256a\u20e5\u20eb\u256a\u20e5\u20eb\u256a\u20e5\u20eb\u256a\u20e5\u20eb\u256a\u20e5\u20eb\u256a\u20e5\u20eb\u256a\u20eb\u256a\u20eb\u256a\u20eb\u256a\u20eb\u2502\u20eb\u2502\u20eb\u2502\u20eb\u2502\u20eb\u2502\u20eb\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\n     1.00e+00 _\u256a\u20e5\u20eb\u2502\u20e5\u20eb\u2502\u20e5\u20eb\u2502\u20e5\u20eb\u2502\u20e5\u20eb\u2502\u20e5\u20eb\u2502\u20e5\u20eb\u2502\u20e5\u20eb\u2502\u20e5\u20eb\u2502\u20e5\u20eb\u2502\u20e5\u20eb\u2502\u20e5\u20eb\u2502\u20e5\u20eb\u2502\u20e5\u20eb\u2502\u20e5\u20eb\u2502\u20e5\u20eb\u2502\u20e5\u2502\u20e5\u2502\u20e5\u2502\u20e5\u2502\u20e5\u2502\u20e5\u2502\u20e5\u2502\u20e5\u2502\u20e5\u2502\u20e5\u2502\u20e5\u2502\u20e5\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\n     1.67e+00 _\u2502\u20e5\u20eb\u2502\u20e5\u20eb\u2502\u20e5\u20eb\u2502\u20e5\u20eb\u2502\u20e5\u20eb\u2502\u20e5\u20eb\u2502\u20e5\u20eb\u2502\u20e5\u20eb\u2502\u20e5\u20eb\u2502\u20e5\u20eb\u2502\u20e5\u20eb\u2502\u20e5\u2502\u20e5\u2502\u20e5\u2502\u20e5\u2502\u20e5\u2502\u20e5\u2502\u20e5\u2502\u20e5\u2502\u20e5\u2502\u20e5\u2502\u20e5\u2502\u20e5\u2502\u20e5\u2502\u20e5\u2502\u20e5\u2502\u20e5\u2502\u20e5\u2502\u20e5\u2502\u20e5\u2502\u20e5\u2502\u20e5\u2502\u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5\n     2.33e+00 _\u2502\u20e5\u20eb\u2502\u20e5\u20eb\u2502\u20e5\u20eb\u2502\u20e5\u20eb\u2502\u20e5\u20eb\u2502\u20e5\u20eb\u2502\u20e5\u20eb\u2502\u20e5\u20eb\u2502\u20e5\u2502\u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5\n     3.00e+00 _\u2502\u20e5\u20eb\u2502\u20e5\u20eb \u20e5\u20eb \u20e5\u20eb \u20e5\u20eb \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5\n     3.67e+00 _ \u20e5\u20eb \u20e5\u20eb \u20e5\u20eb \u20e5\u20eb \u20e5\u20eb \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5\n     4.33e+00 _ \u20e5\u20eb \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5 \u20e5\n     5.00e+00 _ \u20e5\u20eb \u20e5\n                 \u2550\u034f AAAAAAAAAAAAAAAA \u2502\u034f B          \u20e5 CCCCCCCCCCCCC  \u20eb D\n           Sum:  9.99e+02           1.00e+03    9.99e+02        4.92e+02\n           Avg: -1.98e+00           1.13e-02    1.99e+00       -1.71e-01\n           Std:  1.03e+00           1.03e+00    9.94e-01        2.00e+00\n\n\nSupport for other histogram types\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n``Histoprint`` can directly plot other (more fancy) types of histograms if they\nfollow the `PlottableProtocol` conventions, or offer a way of being converted to\nthe NumPy format. Currently this means they have to expose a ``numpy()`` or\n``to_numpy()`` method. Both the ROOT ``TH1`` histograms of `uproot4 <https://github.com/scikit-hep/uproot4>`__,\nas well as the histograms of `boost-histogram <https://github.com/scikit-hep/boost-histogram>`__,\nare supported::\n\n    import boost_histogram as bh\n    hist = bh.Histogram(bh.axis.Regular(20, -3, 3))\n    hist.fill(np.random.randn(1000))\n    print_hist(hist, title=\"Boost Histogram\")\n\n    import uproot\n    file = uproot.open(\"http://scikit-hep.org/uproot3/examples/Event.root\")\n    hist = file[\"htime\"]\n    print_hist(hist, title=\"uproot TH1\")\n\n\nDisabling Unicode combining characters\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nSome terminals are not able to display Unicode combining characters correctly.\nTo disable the use of combining characters, simply do not use them when calling\n``print_hist``::\n\n    print_hist(some_histograms, symbols=\" =|\")\n\nThe combining characters are ``/`` and ``\\``. Note that they are used in the\ndefault set of characters for the 4th and 5th histogram if they are present.\n\n\nCommand line interface\n----------------------\n\n``Histoprint`` also comes with a simple command-line interface to create\nhistograms of tabulated data or even ROOT files (with the help of ``uproot``).\nIt can read in files or take data directly from STDIN::\n\n    $ histoprint --help\n    Usage: histoprint [OPTIONS] INFILE\n\n      Read INFILE and print a histogram of the contained columns.\n\n      INFILE can be '-', in which case the data is read from STDIN.\n\n    Options:\n      -b, --bins TEXT                 Number of bins or space-separated bin edges.\n      -t, --title TEXT                Title of the histogram.\n      --stack / --nostack             Stack the histograms.\n      -s, --summary / -S, --nosummary\n                                      Print summary statistics.\n      -l, --label TEXT                Labels for the data, one for each column.\n      --symbols TEXT                  Symbol cycle for multiple histograms.\n                                      Choices & default: ' |=/\\'\n\n      --fg-colors TEXT                Colour cycle for foreground colours.\n                                      Default: 'WWWWW', Choices:\n                                      '0rgbcmykwRGBCMYKW'\n\n      --bg-colors TEXT                Colour cycle for background colours.\n                                      Default: 'K0000', Choices:\n                                      '0rgbcmykwRGBCMYKW'\n\n      -f, --field TEXT                Which fields to histogram. Interpretation of\n                                      the fields depends on the file format. TXT\n                                      files only support integers for column\n                                      numbers starting at 0. For CSV files, the\n                                      fields must be the names of the columns as\n                                      specified in the first line of the file.\n                                      When plotting from ROOT files, at least one\n                                      field must be specified. This can either be\n                                      the path to a single TH1, or one or more\n                                      paths to TTree branches. Also supports\n                                      slicing of array-like branches, e.g. use\n                                      'tree/branch[:,2]' to histogram the 3rd\n                                      elements of a vector-like branch.\n\n      -C, --cut TEXT                  Filter the data to be plotted by a cut\n                                      condition. For ROOT files, variables must be\n                                      referenced by their branch name within the\n                                      TTree, e.g. 'momentum > 100.' rather than\n                                      'tree/object/momentum > 100.'. For text\n                                      files, the fields are referred to as\n                                      'data[i]', where 'i' is the field number.\n                                      The variables used in the cut do not have to\n                                      be part of the plotted fields.\n\n      -c, --columns INTEGER           Total width of the displayed histogram in\n                                      characters. Defaults to width of the\n                                      terminal.\n\n      -r, --lines INTEGER             Approximate total height of the displayed\n                                      histogram in characters. Calculated from\n                                      number of columns by default.\n\n      --version                       Show the version and exit.\n      --help                          Show this message and exit.\n\n    $ histoprint -t \"Title\" -s -b \"0.5 1.5 2.5 3.5 4.5\" -l A -l B --fg-colors \"0\" --bg-colors \"0\" --symbols \"|=\" - <<EOF\n    1 2\n    2 3\n    2 3\n    2 nan\n    3 4\n    3 4\n    EOF\n                                         Title\n     5.00e-01 _\n               \u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\n               \u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\n               \u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\n     1.50e+00 _\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\n               \u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\n               \u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\n               \u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\n     2.50e+00 _\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\u2502\u034f\n               \u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\n               \u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\n               \u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\n     3.50e+00 _\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\u256a\u034f\n               \u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\n               \u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\n               \u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\n     4.50e+00 _\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\u2550\u034f\n                                   \u2502\u034f A         \u2550\u034f B\n                             Tot:  6.00e+00    5.00e+00\n                             Avg:  2.17e+00    3.20e+00\n                             Std:  6.87e-01    7.48e-01\n\n\n.. |Scikit-HEP| image:: https://scikit-hep.org/assets/images/Scikit--HEP-Project-blue.svg\n   :target: https://scikit-hep.org/\n\n.. |PyPI| image:: https://img.shields.io/pypi/v/histoprint.svg\n   :target: https://pypi.python.org/pypi/histoprint\n\n.. |Conda-forge| image:: https://img.shields.io/conda/vn/conda-forge/histoprint.svg\n   :target: https://github.com/conda-forge/histoprint-feedstock\n\n.. |Zenodo-DOI| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.4792209.svg\n   :target: http://doi.org/10.5281/zenodo.4792209\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Pretty print of NumPy (and other) histograms to the console",
    "version": "2.5.0",
    "project_urls": {
        "Homepage": "https://github.com/scikit-hep/histoprint"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "929f9126acd9635c24a28c55a003456e28fbcfc22a2e587a03d30d6676667cc6",
                "md5": "c91f3ffc7574ab1574ee37781230f827",
                "sha256": "0e2ecb9b2cca26ab6a95567df28abbaf3c76b4eaee4f9192692b59178f4f3b92"
            },
            "downloads": -1,
            "filename": "histoprint-2.5.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c91f3ffc7574ab1574ee37781230f827",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 16606,
            "upload_time": "2024-10-18T11:36:50",
            "upload_time_iso_8601": "2024-10-18T11:36:50.314562Z",
            "url": "https://files.pythonhosted.org/packages/92/9f/9126acd9635c24a28c55a003456e28fbcfc22a2e587a03d30d6676667cc6/histoprint-2.5.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "64fa29dbb978a7ad653f2e7eefbba1c283aa8f32222948a6f70d87cf24f770e1",
                "md5": "ab1569361ff497918ac97b2b40181d69",
                "sha256": "9097e7396ab3a9a83c916f7e53c462ea46e4f645c1ad91604738f2d8383efd4f"
            },
            "downloads": -1,
            "filename": "histoprint-2.5.0.tar.gz",
            "has_sig": false,
            "md5_digest": "ab1569361ff497918ac97b2b40181d69",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 360296,
            "upload_time": "2024-10-18T11:36:51",
            "upload_time_iso_8601": "2024-10-18T11:36:51.600247Z",
            "url": "https://files.pythonhosted.org/packages/64/fa/29dbb978a7ad653f2e7eefbba1c283aa8f32222948a6f70d87cf24f770e1/histoprint-2.5.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-18 11:36:51",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "scikit-hep",
    "github_project": "histoprint",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "histoprint"
}
        
Elapsed time: 0.30707s