- Removed cost_based.LayoutAlgorithmOptions (options are passed directly to the LayoutAlgorithm constructor instead).
Version 1.1.0
- Implemented a cost-based layout algorithm (Issue [#35](https://github.com/konstantint/matplotlib-venn/issues/35)).
The implementation depends on shapely, which is added as an optional
dependency (package needs to be installed as matplotlib-venn[shapely] for
it to be included).
Thanks to https://github.com/paulbrodersen
- Added a set diagram to the README (Issue [#51](https://github.com/konstantint/matplotlib-venn/issues/51)).
- Fixed doctests that started failing due to different numpy versions representing values differently.
- Dropped support for Python versions below 3.5 (by excluding those versions from CI builds).
- Added typing annotations. Some arguments are now a bit more strictly typed.
E.g. what previously would accept a List now requires (at least as far as type annotations are concerned) a tuple.
- Refactored the code by abstracting away the layout algorithms to allow plug-in customization (Issue [#35](https://github.com/konstantint/matplotlib-venn/issues/35)).
This deprecated the `normalize_to` input argument to the venn2 and venn3 functions, and made
`venn2_unweighted` and `venn3_unweighted` obsolete. These will be removed in some future version.
Commits
3efffe5 Remove LayoutAlgorithmOptions before it is too late.
b9a34b0 Version 1.1.0. Implementation of the cost-based layout algorithm.
af058cf More changes to make doctests pass on both older and newer Numpy versions.
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps matplotlib-venn from 0.11.10 to 1.1.1.
Changelog
Sourced from matplotlib-venn's changelog.
Commits
3efffe5
Remove LayoutAlgorithmOptions before it is too late.b9a34b0
Version 1.1.0. Implementation of the cost-based layout algorithm.af058cf
More changes to make doctests pass on both older and newer Numpy versions.c742161
Fix failing doctests (numpy representations changed).6d8884f
README.rst syntax fix343fd54
Version 1.0.0. Fixes #78.2ca159b
Fix README.rst syntax errors.bf81b77
Version 1.0.0-alpha. Extracted layout logic into separate classes, added typi...3788e87
Extracted layout logic into separate classes, added typing annotations.You can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show