          span_starts = []
          for entity in entities:
              color = self.colors.get(entity["label"].upper(), self.default_color)
              span_start = (
                  self.span_start_template.format(
                      bg=color,
                      top_offset=top_offset,
                      label=entity["label"],
                      kb_link=entity["kb_link"],
 
</s> remove                     top_offset=self.top_offset + step,
 </s> add                     top_offset=top_offset, </s> remove         for entity, step in zip(entities, itertools.count(step=self.offset_step)):
 </s> add         for entity in entities: </s> remove                 bg=color, top_offset=self.top_offset + step
 </s> add                 bg=color,
                top_offset=top_offset, </s> remove         for entity, step in zip(entities, itertools.count(step=self.offset_step)):
 </s> add         for entity in entities:
            # rather than iterate over multiples of offset_step, we use entity['render_slot']
            # to determine the vertical position, since that tells where
            # the span starts vertically so we can extend it horizontally,
            # past other spans that might have already ended
            top_offset = self.top_offset + (
                self.offset_step * (entity["render_slot"] - 1)
            )
          span_starts = []
          for entity in entities:
              color = self.colors.get(entity["label"].upper(), self.default_color)
            top_offset = self.top_offset + (
                self.offset_step * (entity["render_slot"] - 1)
            )
              span_start = (
                  self.span_start_template.format(
                      bg=color,
                      top_offset=top_offset,
                      label=entity["label"],
                      kb_link=entity["kb_link"],
keep keep add keep keep keep keep keep keep
 displaCy Spans Vertical Alignment Fix 2 (#11092)

* add in span render slot fix

* fix spacing off by one

* rm demo

* adjust comments

* fix whitespace and overlap issue 
spacy/displacy/render.py