title: Is there a way to prevent warnings from printing in pdf or html file?
body: <p>I am working with JupyterLab and while working with square roots or complex values, python gives <code>RuntimeWarning</code> or <code>ComplexWarning</code>. Is there a way to prevent these warning from showing up when saving the file into a pdf or html?</p>