|
From: Mark J. <mja...@es...> - 2014-10-10 17:38:15
|
Thanks for pointer on the None…. Just got the future warning in my code when comparing a numpy array param in a class of mine that defaults to None. That should be solved differently… but I have plenty of other params that default to None and I will change them accordingly…. Back to the traceback… it occurs on matplotlib 1.3 AND 1.4 TY, MJ From: ben...@gm... [mailto:ben...@gm...] On Behalf Of Benjamin Root Sent: Wednesday, October 8, 2014 6:20 PM To: Mark Janikas Cc: Matplotlib Users Subject: Re: [Matplotlib-users] FW: traceback when import matplotlib.pyplot twice Which version of matplotlib and which backend? Also, don't use == or != when comparing to None. Use "is" and "is not". Ben Root |