Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

Commit

Permalink
fix: minor wordcloud update
Browse files Browse the repository at this point in the history
  • Loading branch information
kristw committed Nov 20, 2019
1 parent 9b14285 commit 73e09f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export default class WordCloud extends React.PureComponent<
const { data, width, height, rotation, encoding } = this.props;

const encoder = this.createEncoder(encoding);
encoder.channels.fontSize.setDomainFromDataset(data);
encoder.setDomainFromDataset(data);

cloudLayout()
.size([width, height])
Expand Down

0 comments on commit 73e09f6

Please sign in to comment.