Remove Matplotlib Depreciation Warning From Showing
I'm getting simply a MatplotlibDepreciationWarning which I don't like to see on my console. And therefore I don't want to see it. Here's the warning: /home/.../pyvirt/networkx/lib/
Solution 1:
Instead of category=DepreciationWarning, category was supposed to be UserWarning for matplotlib. Therefore solution is add the following lines before starting of code-
import warnings
warnings.filterwarnings("ignore", category=UserWarning)
Post a Comment for "Remove Matplotlib Depreciation Warning From Showing"