code: def createWPPointer(self):
          '''Creates the waypoint pointer relative to current heading.'''
          self.headingWPTri = patches.RegularPolygon((0.0,0.55),3,0.05,facecolor='lime',zorder=4,ec='k')
          self.axes.add_patch(self.headingWPTri)
          self.headingWPText = self.axes.text(0.0,0.45,'1',color='lime',size=self.fontSize,horizontalalignment='center',verticalalignment='center',zorder=4)   
          self.headingWPText.set_path_effects([PathEffects.withStroke(linewidth=1,foreground='k')]f createWPPointer(self):
          '''Creates the waypoint pointer relative to current heading.'''
          self.headingWPTri = patches.RegularPolygon((0.0,0.55),3,0.05,facecolor='lime',zorder=4,ec='k')
          self.axes.add_patch(self.headingWPTri)
          self.headingWPText = self.axes.text(0.0,0.45,'1',color='lime',size=self.fontSize,horizontalalignment='center',verticalalignment='center',zorder=4)   
          self.headingWPText.set_path_effects([PathEffects.withStroke(linewidth=1,foreground='k')])
docs: Creates the waypoint pointer relative to current heading.