code: def makeHTML(self,mustachepath,htmlpath):
          '''Write an html file by applying this ideogram's attributes to a mustache template. '''
          subs = dict()
          if self.title:
              subs["title"]=self.title
              subs["has_title"]=True
          else:
              subs["has_title"]=False
          subs["font_size"] = self.font_size
          subs["font_family"] = self.font_family
          subs["colorscheme"] = self.colorscheme
          subs["title_color"] = self.title_color
          subs["bgcolor"] = self.bgcolor
          with open(mustachepath,'r') as infile:
              mustache_text = pystache.render(infile.read(), subs)
              with open(htmlpath,'w+') as outfile:
                  outfile.write(mustache_textf makeHTML(self,mustachepath,htmlpath):
          '''Write an html file by applying this ideogram's attributes to a mustache template. '''
          subs = dict()
          if self.title:
              subs["title"]=self.title
              subs["has_title"]=True
          else:
              subs["has_title"]=False
          subs["font_size"] = self.font_size
          subs["font_family"] = self.font_family
          subs["colorscheme"] = self.colorscheme
          subs["title_color"] = self.title_color
          subs["bgcolor"] = self.bgcolor
          with open(mustachepath,'r') as infile:
              mustache_text = pystache.render(infile.read(), subs)
              with open(htmlpath,'w+') as outfile:
                  outfile.write(mustache_text)
docs: Write an html file by applying this ideogram's attributes to a mustache template.