code: def flexbar_barplot (self):
          
  
          # Specify the order of the different possible categories
          keys = OrderedDict()
          keys['remaining_reads'] =                { 'color': '#437bb1', 'name': 'Remaining reads' }
          keys['skipped_due_to_uncalled_bases'] =  { 'color': '#e63491', 'name': 'Skipped due to uncalled bases' }
          keys['short_prior_to_adapter_removal'] = { 'color': '#b1084c', 'name': 'Short prior to adapter removal' }
          keys['finally_skipped_short_reads'] =    { 'color': '#7f0000', 'name': 'Finally skipped short reads' }
  
          # Config for the plot
          pconfig = {
              'id': 'flexbar_plot',
              'title': 'Flexbar: Processed Reads',
              'ylab': '# Reads',
              'cpswitch_counts_label': 'Number of Reads',
              'hide_zero_cats': False
          }
  
          self.add_section( plot = bargraph.plot(self.flexbar_data, keys, pconfig) )
docs: Make the HighCharts HTML to plot the flexbar rates