Something is going really sideways on your system as `Gcf` is the
class that the static method is a member of.  If you have the method
to call it, then you have the class defined.

My guess is there is some race condition is the cleanup-at-exit code
where the system is cleaning up the class object before this function
is getting run.

I suspect a better fix is to change all of the staticmethods -> classmethods

Tom

On Fri, Oct 10, 2014 at 1:38 PM, Mark Janikas <[email protected]> wrote:
> 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: [email protected] [mailto:[email protected]] 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
>
>
> ------------------------------------------------------------------------------
> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
> http://p.sf.net/sfu/Zoho
> _______________________________________________
> Matplotlib-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>



-- 
Thomas Caswell
[email protected]

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://p.sf.net/sfu/Zoho
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to