Skip to content

Import color palette from chaco.api directly#675

Merged
rahulporuri merged 2 commits into
masterfrom
ref/dont-use-color-palette-from-example-support
Apr 16, 2021
Merged

Import color palette from chaco.api directly#675
rahulporuri merged 2 commits into
masterfrom
ref/dont-use-color-palette-from-example-support

Conversation

@rahulporuri
Copy link
Copy Markdown
Contributor

Some of the examples import cbrewer from chaco.api as COLOR_PALETTE from chaco.example_support. I am not sure chaco.example_support should be a public module and I don't think we should be promoting this usage. This PR replaces all instances of from chaco.example_support import COLOR_PALETTE with from chaco.api import cbrewer as COLOR_PALETTE.

Copy link
Copy Markdown
Contributor

@aaronayres35 aaronayres35 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Eventually when we flake8 clean everything we will want imports in alphabetical order but that can be dealt with in a later PR.

@rahulporuri rahulporuri merged commit 81a789a into master Apr 16, 2021
@rahulporuri rahulporuri deleted the ref/dont-use-color-palette-from-example-support branch April 16, 2021 12:30
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