data-morph
data-morph copied to clipboard
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.
Fixes #157 What was done: - Created new easing functions in `plotting/animation` - Replaced pytweening easing functions in `morpher.py` with the new functions - Removed pytweening as a dependency from...
Maybe this was a limitation of the theme at the time, but try to switch from the hack here: https://github.com/stefmolin/data-morph/blob/f9af20101aeb5e1971c3ff5ecf731dcff43dee4b/src/data_morph/cli.py#L212-L230 to use `generate_parser` directly in the docs ([here](https://github.com/stefmolin/data-morph/blob/main/docs/cli.rst)). Try updating...
Replace [`pytweening` code](https://github.com/asweigart/pytweening/blob/master/pytweening/__init__.py) with embedded logic here: https://github.com/stefmolin/data-morph/blob/f9af20101aeb5e1971c3ff5ecf731dcff43dee4b/src/data_morph/morpher.py#L158-L165
As part of the GitHub Actions workflows that run when a PR is opened, I'd like to have something like Matplotlib has that makes it possible to preview the built...
As requested in https://github.com/stefmolin/data-morph/pull/198#discussion_r1685782050, this is now a separate PR. **Describe your changes** - remove `LineCollection._distance_point_to_line` method as it's not used anywhere anymore - use numpy vectorized ops when calling...
**Describe your changes** - use numpy instead of Pandas to avoid the overhead Perf before: ```plaintext 320361688 function calls (316213771 primitive calls) in 116.715 seconds ``` Perf after: ```plaintext 79419311...
Use the data from the [*A hypothesis is a liability*](https://genomebiology.biomedcentral.com/articles/10.1186/s13059-020-02133-w) paper (if available and permitted) as a new starter dataset. We should preserve the classes (the `sex` field) to use...
**Is your feature request related to a problem? Please describe.** Not really a problem, more like a potential optimization (I haven't worked out the details to see if it actually...
An implementation that resolves #201. **Describe your changes** This is a rather large-_looking_ PR (only because I am basing this off of https://github.com/stefmolin/data-morph/pull/198 for ease-of-merge!), and is a sort of...
Fixes #163 **Describe your changes** Add the logic to morph into a spade shape **Checklist** - [X] Test cases have been modified/added to cover any code changes. - [X] Docstrings...