Derprecation warning: set_matpoltlib_formats

Hello, good morning. I’m trying to setup matplotlib to output svg format as default, because my got got deprecated. May someone help explain what this message mean with use set_matplotlib_formats directly? I cant find in documentation any package to call de below code derecly.

DeprecationWarning: `set_matplotlib_formats` is deprecated since IPython 7.23, directly use `matplotlib_inline.backend_inline.set_matplotlib_formats()`
  set_matplotlib_formats('svg')