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

Allow users to specify FillRule for FillBetweenItem, undo regressionfrom #2971 #3006

Merged
merged 1 commit into from Apr 29, 2024

Conversation

j9ac9k
Copy link
Member

@j9ac9k j9ac9k commented Apr 27, 2024

Fixes #1698

@j9ac9k j9ac9k force-pushed the fix-fillbetween-regression branch 2 times, most recently from d24a434 to 02ea491 Compare April 29, 2024 01:11
@j9ac9k j9ac9k changed the title Ensure polygon being added is closed in FillBetweenItem Allow users to specify FillRule for FillBetweenItem, undo regressionfrom #2971 Apr 29, 2024
@j9ac9k j9ac9k force-pushed the fix-fillbetween-regression branch 4 times, most recently from bfcde03 to 39f9cdc Compare April 29, 2024 01:47
Users can now specify QtCore.Qt.FillRule.WindingFill as a fill rule to
FillBetweenItem, as opposed to the default FillRule.OddEvenFill.

Add some docstrings and type annotations for FillBetweenItem

Undo a regression introduced in 0.13.5 which attempted to fill in voided
enclosed areas, which the WindingFill rule can usually address.
@j9ac9k j9ac9k force-pushed the fix-fillbetween-regression branch from 39f9cdc to a933120 Compare April 29, 2024 01:58
@j9ac9k j9ac9k merged commit 1bd5c01 into pyqtgraph:master Apr 29, 2024
28 checks passed
@j9ac9k j9ac9k deleted the fix-fillbetween-regression branch April 29, 2024 02:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FillBetweenItem has no way to change FillRule
1 participant