- static MatplotlibBackend.switch_backend(backend, sloppy=True)¶
Switch matplotlib backend.
- backend (str) Name of matplotlib backend to switch to.
- sloppy (bool) If True, only uses matplotlib.pyplot.switch_backend() and no warning will be shown if the backend was not switched successfully. If False, additionally tries to use matplotlib.use() first and also shows a warning if the backend was not switched successfully.