Skip to content

Address #2303 unapplied pen parameter constructor options#2305

Merged
j9ac9k merged 2 commits intopyqtgraph:masterfrom
ntjess:pen-param-opts
May 18, 2022
Merged

Address #2303 unapplied pen parameter constructor options#2305
j9ac9k merged 2 commits intopyqtgraph:masterfrom
ntjess:pen-param-opts

Conversation

@ntjess
Copy link
Copy Markdown
Contributor

@ntjess ntjess commented May 18, 2022

Fixes #2303

Initial pen options specified in **opts were ignored in the pen parameter constructure. These can just be passed directly to the initialized pen.

ntjess added 2 commits May 18, 2022 11:43
`mkPen` ignores kwargs it doesn't recognize. Thus, additional options can be safely ignored when all opts are passed
@j9ac9k
Copy link
Copy Markdown
Member

j9ac9k commented May 18, 2022

Hi @ntjess

Thanks for the PR; would you mind renaming the title of the PR as it will be incorporated into the automatic release notes later?

@j9ac9k j9ac9k linked an issue May 18, 2022 that may be closed by this pull request
@ntjess ntjess changed the title Address #2303 Address #2303 unapplied pen parameter constructor options May 18, 2022
@j9ac9k
Copy link
Copy Markdown
Member

j9ac9k commented May 18, 2022

LGTM, thanks @ntjess for the quick PR!

@j9ac9k j9ac9k merged commit 74f0cca into pyqtgraph:master May 18, 2022
@ntjess ntjess deleted the pen-param-opts branch May 28, 2022 23:00
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.

Options passed PenParameter are not applied

2 participants