Skip to content

Allow histogram.py and other scripts to be imported/used as python modules #37

@bw2

Description

@bw2

Hi, I'd like to generate histograms to standard out in my python script, and currently have to do
os.system("echo '%s' | historgram.py" % "\n".join(values))

It would be great if I could instead do

from data_stacks import histogram
histogram.histogram(values)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions