de rigueur vs necessary

de rigueur

adj
  • Necessary according to etiquette, protocol or fashion. 

necessary

adj
  • Required, essential, whether logically inescapable or needed in order to achieve a desired result or avoid some penalty. 

  • Unavoidable, inevitable. 

How often have the words de rigueur and necessary occurred in a corpus of books? (source: Google Ngram Viewer )