PR: Add QtCharts alias for backward compatibility with 1.x#315
PR: Add QtCharts alias for backward compatibility with 1.x#315CAM-Gerlach merged 3 commits intospyder-ide:masterfrom
QtCharts alias for backward compatibility with 1.x#315Conversation
QtCharts alias for backward compatibility with 1.xQtCharts alias for backward compatibility with 1.x
CAM-Gerlach
left a comment
There was a problem hiding this comment.
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
ccordoba12
left a comment
There was a problem hiding this comment.
Looks good to me now, thanks @dalthviz!
Fixes #304
Note: Needs a rebase after #313 is merged