How do I fix or suppress the warning from the following code:
from matplotlib import pyplot as plt
import warnings
warnings.filterwarnings('ignore')
plt.clf()
Output:
(__main__.py:188073): Gtk-WARNING **: 19:37:54.366: Theme parsing error: gtk.css:3408:30: The style property GtkButton:image-spacing is deprecated and shouldn't be used anymore. It will be removed in a future version
Numerous StackOverflow answers say to use the warnings library, which I have applied as broadly as possible in the code without success. This is just a small example code. I make plt calls throughout my main code, so I'm looking for some broad suppression.
I'm using Matplotlib 3.1.1 on CentOS 7.6.