Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
liylin6688 opened this issue May 15, 2022 · 0 comments

Comments

@liylin6688
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant