[cctbxbb] Deprecation warning?
Nathaniel Echols
nechols at lbl.gov
Wed Aug 8 11:14:37 PDT 2012
On Wed, Aug 8, 2012 at 3:52 AM, <Graeme.Winter at diamond.ac.uk> wrote:
> Interestingly I added this
>
> import warnings
> warnings.filterwarnings("ignore", category=DeprecationWarning)
>
> and it did not make the warnings go away… even though I tried both where I import matplotlib and also in the top of the main() routine.
>
> That seems odd to me - any ideas?
I guess my assumption about the inheritance of wxPyDeprecationWarning
was incorrect - at any rate, this seems to work:
warnings.filterwarnings("ignore", category=wx.wxPyDeprecationWarning)
-Nat
More information about the cctbxbb
mailing list