Skip to content

type object 'HistogramGrid' has no attribute 'build_histogram_from_txt' #1

@liylin6688

Description

@liylin6688

Excuse me:
The main.py:
map_fname = 'map.txt'
resolution = 1 # node size = 1cm
hg = HistogramGrid.build_histogram_from_txt(map_fname, resolution)
print(*hg.histogram_grid, sep="\n")

but meet a mistake:
AttributeError: type object 'HistogramGrid' has no attribute 'build_histogram_from_txt'

I find the path :lib/histogram_grid class:HistogramGrid
there is no build_histogram_from_txt? what's wrong?

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