-
Notifications
You must be signed in to change notification settings - Fork 99
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
FIX: Circular imports in toolbar_plot and transform_color_mapper #469
Conversation
The fix is to import ColorMapper directly from chaco.color_mapper
Looks good; why not go the whole hog and prefer direct module imports over imports from
|
The hog is now whole. No more Ready for review. |
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.
That's great, thanks for doing this! There are some import errors from chaco.scales
, but presumably those can be fixed easily.
Yes, that was an easy fix. I got bitten by the fact that |
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 @achabotl !
Import directly from the module where each class is implemented instead of importing from
chaco.api
.