<commit_before>class ZVG.MultiLine extends ZVG.MultiPoint
  # Don't render lines if we have a filter active.
  _should_render_lines: ->
    if (@_data.length is 1) # FIXME for series
      return false
    @_series_3_domain.length is 1 and @_series_3_domain[0] is "all"

  debug: true

  _shape_callback: (chart, shape, d) ->
    if chart._should_render_lines()
      series_name = chart.survey_title_to_series_name[d.values.series_1]
      if chart.singletons[series_name] and chart.singletons[series_name][d.key]
        shape.selection.style('opacity', 1)
          .classed('label-hover', true)
          .classed('singleton', true)
      else
        shape.selection.style('opacity', 0)
          .classed('label-hover', true)

<commit_msg>remove multiline override<commit_after>class ZVG.MultiLine extends ZVG.MultiPoint
  # Don't render lines if we have a filter active.
  _should_render_lines: ->
    @_series_3_domain.length is 1 and @_series_3_domain[0] is "all"

  debug: true

  _shape_callback: (chart, shape, d) ->
    if chart._should_render_lines()
      series_name = chart.survey_title_to_series_name[d.values.series_1]
      if chart.singletons[series_name] and chart.singletons[series_name][d.key]
        shape.selection.style('opacity', 1)
          .classed('label-hover', true)
          .classed('singleton', true)
      else
        shape.selection.style('opacity', 0)
          .classed('label-hover', true)


{'fraction_non_alphanumeric': 0.11211699164345404, 'fraction_numerical': 0.010445682451253482, 'mean_word_length': 3.302395209580838, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '5516354', 'n_tokens_mistral': 485, 'n_tokens_neox': 466, 'n_words': 103}