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

[BUG] AtomList Pretty Printing edge case failure #655

Closed
johnzl-777 opened this issue Jan 22, 2024 · 0 comments · Fixed by #656 or #657
Closed

[BUG] AtomList Pretty Printing edge case failure #655

johnzl-777 opened this issue Jan 22, 2024 · 0 comments · Fixed by #656 or #657
Assignees
Labels
bug Something isn't working

Comments

@johnzl-777
Copy link
Collaborator

Describe the bug
In the terminal, the pretty printing for AtomList assumes that the coordinates always have two elements (x and y). However this isn't always the case as in the examples below:

To Reproduce

atoms = AtomList([(0,), (1,), (2,)])

or

atoms = generate_sites(ChainLattice(), 9, scale = 5.72)

Expected behavior
Should show a scatterplot from UnicodePlots

Version Info

  • Julia version: 1.8.2
  • Package Version: 0.2.1

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant