-
-
Notifications
You must be signed in to change notification settings - Fork 153
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
PR: Add QtCharts
alias for backward compatibility with 1.x
#315
Conversation
QtCharts
alias for backward compatibility with 1.xQtCharts
alias for backward compatibility with 1.x
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because you're importing QtCharts in init, this makes the separate QtCharts module a hard dependency of QtPy, instead of just users importing qtpy.QtCharts
, This also causes our tests to fail on platforms that don't have it by default, on which the test would normally be skipped (aside from the coverage-related failure you fixed in #313 ). Can you do this manipulation inside qtpy.QtCharts
instead of in `init to resolve this issue? Thanks!
@dalthviz Just curious—is there a reason for using the the manual |
Pure habit basically |
7f4bc10
to
3b6735d
Compare
QtCharts
alias for backward compatibility with 1.xQtCharts
alias for backward compatibility with 1.x
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me now, thanks @dalthviz!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @dalthviz !
Fixes #304
Note: Needs a rebase after #313 is merged