You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, calling matplotlib.use(...) when a (different) backend is already set results in the warning
/usr/lib/python3.5/site-packages/matplotlib/__init__.py:1391: UserWarning: This call to matplotlib.use() has no effect
because the backend has already been chosen;
matplotlib.use() must be called *before* pylab, matplotlib.pyplot,
or matplotlib.backends is imported for the first time.
It would be helpful for debugging purposes if this also reported where the backend was set for the first time. This could be done, e.g., by saving the traceback (in text form) whenever matplotlib.backends is imported for the first time, and display that traceback in the later warning (perhaps only if the verbose flag is set).
The text was updated successfully, but these errors were encountered:
Currently, calling
matplotlib.use(...)
when a (different) backend is already set results in the warningIt would be helpful for debugging purposes if this also reported where the backend was set for the first time. This could be done, e.g., by saving the traceback (in text form) whenever
matplotlib.backends
is imported for the first time, and display that traceback in the later warning (perhaps only if the verbose flag is set).The text was updated successfully, but these errors were encountered: