Skip to content

Interactive refactoring#2404

Merged
j9ac9k merged 2 commits intopyqtgraph:masterfrom
ntjess:interactive-refactoring
Sep 3, 2022
Merged

Interactive refactoring#2404
j9ac9k merged 2 commits intopyqtgraph:masterfrom
ntjess:interactive-refactoring

Conversation

@ntjess
Copy link
Copy Markdown
Contributor

@ntjess ntjess commented Sep 2, 2022

See commit messages for more information. Very minor housekeeping that is easier to perform before widespread adoption of the Interactor feature set

@ntjess ntjess force-pushed the interactive-refactoring branch from 94ac774 to c37f471 Compare September 2, 2022 13:50
The name `title` implies a string rather than a formatting callable. The intentionality behind `titleFormat` is much more explicit and doesn't clash with existing conventions for `Parameter.title()`
@ntjess ntjess force-pushed the interactive-refactoring branch from c37f471 to 642b9db Compare September 2, 2022 14:11
@j9ac9k
Copy link
Copy Markdown
Member

j9ac9k commented Sep 3, 2022

Thanks for the update @ntjess LGTM, merging!

@j9ac9k j9ac9k merged commit 12bf819 into pyqtgraph:master Sep 3, 2022
ntjess added a commit to ntjess/pyqtgraph that referenced this pull request Sep 7, 2022
The new example used to fail before this PR. A result of pyqtgraph#2404 was that `inspect.signature` no longer realized that `self` was a bound variable in class-defined, outside-decorated functions. Fix this simply by calling `functionToParameterDict` on the original function, rather than the interactive version.
ntjess added a commit to ntjess/pyqtgraph that referenced this pull request Sep 7, 2022
The new example used to fail before this PR. A result of pyqtgraph#2404 was that `inspect.signature` no longer realized that `self` was a bound variable in class-defined, outside-decorated functions. Fix this simply by calling `functionToParameterDict` on the original function, rather than the interactive version.
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.

2 participants