Skip to content
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

Colors on sunburst example are broken #45

Merged
merged 1 commit into from Dec 30, 2013

Conversation

nblumoe
Copy link

@nblumoe nblumoe commented Dec 30, 2013

The sunburst example does not use the previously defined color-scale but just uses hardcoded "white"

[vomnibus.d3 :only [flare]]
[vomnibus.d3-color :only [Categorical-20]]))

(let [radius 270
;;Partition will give us entries for every node;
;;we only want slices, so filter out the root node.
slices (filter #(-> % :partition :depth (not= 0))
slices (filter #(-> % :partition :depth (not= 0))
Copy link
Author

Choose a reason for hiding this comment

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

just wiping whitespace here

@lynaghk
Copy link
Owner

lynaghk commented Dec 30, 2013

Hi Nils, thanks for the fixup.

lynaghk added a commit that referenced this pull request Dec 30, 2013
@lynaghk lynaghk merged commit f107e2c into lynaghk:master Dec 30, 2013
@nblumoe nblumoe deleted the fix/sunburst-example-colors branch December 30, 2013 16:57
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.

None yet

2 participants