improper vs that’s the ticket

improper

adj
  • unsuitable to needs or circumstances; inappropriate; inapt 

  • Not properly named; See, for example, improper fraction 

  • Not in keeping with conventional mores or good manners; indecent or immodest 

  • Not consistent with established facts; incorrect 

  • Of a complex random variable, correlated with its conjugate 

  • Not according to facts; inaccurate or erroneous 

that’s the ticket

How often have the words improper and that’s the ticket occurred in a corpus of books? (source: Google Ngram Viewer )