Skip to content

Commit fb085d4

Browse files
friedkeenanpre-commit-ci[bot]AntonBallmaier
authored
Added :class:~.Polygram, rework the polygon inheritance tree, and add :class:~.Star (#1490)
* Add Polygram, reorder Polygon inheritance around it, add Star * Add tests * Spiff up tests and docs * Avoid spaces allowing a newline in the middle of example coordinate * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix doctest * Change Polygram.round_corners example * Change StarExample to show how stars overlap with their regular polygram equivalent * Apply suggestions from code review Co-authored-by: Anton Ballmaier <[email protected]> * Apply docs suggestions * Change round_corners example to use a star * Allow any iterable to be passed to Polygram * Fix tests by converting all vertices to numpy arrays * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Anton Ballmaier <[email protected]>
1 parent 18bab20 commit fb085d4

File tree

6 files changed

+454
-114
lines changed

6 files changed

+454
-114
lines changed

0 commit comments

Comments
 (0)