code: def bismark_dedup_chart (self):
          
  
          # Specify the order of the different possible categories
          keys = OrderedDict()
          keys['dedup_reads'] = { 'name': 'Deduplicated reads (remaining)' }
          keys['dup_reads']   = { 'name': 'Duplicate reads (removed)' }
  
          # Config for the plot
          config = {
              'id': 'bismark_deduplication',
              'title': 'Bismark: Deduplication',
              'ylab': '% Reads',
              'cpswitch_c_active': False,
              'cpswitch_counts_label': 'Number of Reads'
          }
  
          self.add_section (
              name = 'Deduplication',
              anchor = 'bismark-deduplication',
              plot = bargraph.plot(self.bismark_data['dedup'], keys, config)
          )
docs: Make the deduplication plot