<commit_before>import React, { PropTypes } from 'react';
import classNames from 'classnames';
import { castArray, map, pick } from 'lodash';
import Scatter from './scatter';

import { propResolver, PureComponent, CommonDefaultProps, CommonPropTypes } from '../../../utils';

export default class MultiScatter extends PureComponent {
  render() {
    const {
      className,
      clipPathId,
      colorScale,
      data,
      fieldAccessors,
      scatterClassName,
      scatterValuesIteratee,
      selection,
      style,
      symbolScale,
      symbolStyle,
    } = this.props;

    const {
      color: colorField,
      data: dataField,
      key: keyField,
      symbol: symbolField,
    } = fieldAccessors;

    const childProps = pick(this.props, [
      'dataAccessors',
      'focus',
      'focusedClassName',
      'focusedStyle',
      'onClick',
      'onMouseLeave',
      'onMouseMove',
      'onMouseOver',
      'selectedClassName',<commit_msg>pass color scale to scatter<commit_after>import React, { PropTypes } from 'react';
import classNames from 'classnames';
import { castArray, map, pick } from 'lodash';
import Scatter from './scatter';

import { propResolver, PureComponent, CommonDefaultProps, CommonPropTypes } from '../../../utils';

export default class MultiScatter extends PureComponent {
  render() {
    const {
      className,
      clipPathId,
      colorScale,
      data,
      fieldAccessors,
      scatterClassName,
      scatterValuesIteratee,
      selection,
      style,
      symbolScale,
      symbolStyle,
    } = this.props;

    const {
      color: colorField,
      data: dataField,
      key: keyField,
      symbol: symbolField,
    } = fieldAccessors;

    const childProps = pick(this.props, [
      'colorScale',
      'dataAccessors',
      'focus',
      'focusedClassName',
      'focusedStyle',
      'onClick',
      'onMouseLeave',
      'onMouseMove',
      'onMouseOver',
      'selectedClassName',
{'fraction_non_alphanumeric': 0.10823170731707317, 'fraction_numerical': 0.0, 'mean_word_length': 2.619485294117647, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4209554', 'n_tokens_mistral': 563, 'n_tokens_neox': 556, 'n_words': 140}