<commit_before>// *
// * Colors
// *
const yellow200 = "#FFF59D";
const deepOrange600 = "#F4511E";
const lime300 = "#DCE775";
const lightGreen500 = "#8BC34A";
const teal700 = "#00796B";
const cyan900 = "#006064";
const colors = [
  deepOrange600,
  yellow200,
  lime300,
  lightGreen500,
  teal700,
  cyan900
];
const blueGrey50 = "#ECEFF1";
// const blueGrey100 = "#CFD8DC";
const blueGrey300 = "#90A4AE";
// const blueGrey400 = "#78909C";
const blueGrey700 = "#455A64";
const grey900 = "#212121";
// *
// * Typography
// *
const sansSerif = "'Roboto', 'Helvetica Neue', Helvetica, sans-serif";
const letterSpacing = "normal";
const fontSize = 12;
// *
// * Layout
// *
const padding = 8;
const baseProps = {
  width: 350,
  height: 350
};
// *
// * Labels
// *
const baseLabelStyles = {
  fontFamily: sansSerif,
  fontSize,
  letterSpacing,
  padding,
  fill: blueGrey700
};
// *
// * Strokes
// *
const strokeDasharray = "10, 5";
const strokeLinecap = "round";
const strokeLinejoin = "round";

export default {
  area: {
    data: {
      fill: grey900
    },
    labels: baseLabelStyles,
    parent: {}
  },
  axis: {
    axis: {
      fill: "none",
      stroke: blueGrey300,
      strokeWidth: 2,
      strokeLinecap,
      strokeLinejoin
    },
    axisLabel: Object.assign({}, baseLabelStyles,
      {
        padding,
        stroke: "transparent"
      }),
    grid: {
      fill: "none",
      stroke: blueGrey50,
      strokeDasharray,
      strokeLinecap,
      strokeLinejoin
    },
    ticks: {
      fill: "none",
      padding,
      size: 5,
      stroke: blueGrey300,
      strokeWidth: 1,
      strokeLinecap,
      strokeLinejoin
    },
    tickLabels: Object.assign({}, baseLabelStyles,
      {
        fill: blueGrey700,
        stroke: "transparent"
      })
  },
  bar: {
    data: {
      fill: blueGrey700,
      opacity: 1,
      padding,
      stroke: "transparent",
      strokeWidth: 0,
      width: 5
    },
    labels: baseLabelStyles,
    parent: {}
  },
  candlestick: {
    data: {
      stroke: blueGrey700
    },
    labels: baseLabelStyles,
    parent: {},
    props: Object.assign({}, baseProps,
      {
        candeColors: {
          positive: "#ffffff",
          negative: blueGrey700
        }
      })
  },
  line: {
    data: {
      fill: "none",
      opacity: 1,
      stroke: blueGrey700,
      strokeWidth: 2
    },
    labels: Object.assign({}, baseLabelStyles,
      {
        stroke: "transparent",
        strokeWidth: 0,
        textAnchor: "start"
      }),
    parent: {}
  },
  pie: {
    props: Object.assign({}, baseProps,
      {
        colorScale: [
          "#252525",
          "#636363",
          "#969696",
          "#bdbdbd",
          "#d9d9d9",
          "#f7f7f7"
        ]
      }),
    style: {
      data: {
        padding,
        stroke: "#f7f7f7",
        strokeWidth: 1
      },
      labels: Object.assign({}, baseLabelStyles,
        {
          padding: 200,
          strokeWidth: 0,
          stroke: "transparent",
          textAnchor: "middle"
        }),
      parent: {}
    }
  },
  scatter: {
    data: {
      fill: blueGrey700,
      opacity: 1,
      stroke: "transparent",<commit_msg>Remove dead code; Update styles for pie<commit_after>// *
// * Colors
// *
const yellow200 = "#FFF59D";
const deepOrange600 = "#F4511E";
const lime300 = "#DCE775";
const lightGreen500 = "#8BC34A";
const teal700 = "#00796B";
const cyan900 = "#006064";
const colors = [
  deepOrange600,
  yellow200,
  lime300,
  lightGreen500,
  teal700,
  cyan900
];
const blueGrey50 = "#ECEFF1";
const blueGrey300 = "#90A4AE";
const blueGrey700 = "#455A64";
const grey900 = "#212121";
// *
// * Typography
// *
const sansSerif = "'Roboto', 'Helvetica Neue', Helvetica, sans-serif";
const letterSpacing = "normal";
const fontSize = 12;
// *
// * Layout
// *
const padding = 8;
const baseProps = {
  width: 350,
  height: 350
};
// *
// * Labels
// *
const baseLabelStyles = {
  fontFamily: sansSerif,
  fontSize,
  letterSpacing,
  padding,
  fill: blueGrey700
};
// *
// * Strokes
// *
const strokeDasharray = "10, 5";
const strokeLinecap = "round";
const strokeLinejoin = "round";

export default {
  area: {
    data: {
      fill: grey900
    },
    labels: baseLabelStyles,
    parent: {}
  },
  axis: {
    axis: {
      fill: "none",
      stroke: blueGrey300,
      strokeWidth: 2,
      strokeLinecap,
      strokeLinejoin
    },
    axisLabel: Object.assign({}, baseLabelStyles,
      {
        padding,
        stroke: "transparent"
      }),
    grid: {
      fill: "none",
      stroke: blueGrey50,
      strokeDasharray,
      strokeLinecap,
      strokeLinejoin
    },
    ticks: {
      fill: "none",
      padding,
      size: 5,
      stroke: blueGrey300,
      strokeWidth: 1,
      strokeLinecap,
      strokeLinejoin
    },
    tickLabels: Object.assign({}, baseLabelStyles,
      {
        fill: blueGrey700,
        stroke: "transparent"
      })
  },
  bar: {
    data: {
      fill: blueGrey700,
      opacity: 1,
      padding,
      stroke: "transparent",
      strokeWidth: 0,
      width: 5
    },
    labels: baseLabelStyles,
    parent: {}
  },
  candlestick: {
    data: {
      stroke: blueGrey700
    },
    labels: baseLabelStyles,
    parent: {},
    props: Object.assign({}, baseProps,
      {
        candeColors: {
          positive: "#ffffff",
          negative: blueGrey700
        }
      })
  },
  line: {
    data: {
      fill: "none",
      opacity: 1,
      stroke: blueGrey700,
      strokeWidth: 2
    },
    labels: Object.assign({}, baseLabelStyles,
      {
        stroke: "transparent",
        strokeWidth: 0,
        textAnchor: "start"
      }),
    parent: {}
  },
  pie: {
    props: Object.assign({}, baseProps,
      {
        colorScale: colors
      }),
    style: {
      data: {
        padding,
        stroke: blueGrey50,
        strokeWidth: 1
      },
      labels: Object.assign({}, baseLabelStyles,
        {
          padding: 200,
          stroke: "transparent",
          strokeWidth: 0,
          textAnchor: "middle"
        }),
      parent: {}
    }
  },
  scatter: {
    data: {
      fill: blueGrey700,
      opacity: 1,
      stroke: "transparent",
{'fraction_non_alphanumeric': 0.13921600258106145, 'fraction_numerical': 0.05307307630262945, 'mean_word_length': 1.9893924783027965, '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': '4414561', 'n_tokens_mistral': 2319, 'n_tokens_neox': 2115, 'n_words': 458}