stefmolin / data-morph

Morph an input dataset of 2D points into select shapes, while preserving the summary statistics to a given number of decimal points through simulated annealing. It is intended to be used as a teaching tool to illustrate the importance of data visualization.
https://stefaniemolin.com/data-morph/
MIT License
60 stars 16 forks source link

[BUG] incorrect return type None should be BoundingBox #208

Closed robvdl closed 3 weeks ago

robvdl commented 3 weeks ago

Required attestation

Describe the bug

The return type of these three methods is set to None, but it returns a BoundingBox:

To Reproduce It returns BoundingBox but the function signature says the return type is None.

Expected behavior The function signature return type should be BoundingBox.

Screenshots If applicable, add screenshots to help explain your problem.

Environment

Additional context Add any other context about the problem here.

github-actions[bot] commented 3 weeks ago

It looks like this is your first issue here – welcome! Please familiarize yourself with the contributing guidelines, if you haven't already.