Changeset 2483


Ignore:
Timestamp:
05/07/12 15:04:18 (13 years ago)
Author:
Malte Marquarding
Message:

debian lenny seems to fail here. NOTE we are mixing pyplot api with object oriented one when using gcf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asaplot.py

    r2451 r2483  
    2727        self.canvas = FigureCanvasAgg(self.figure)
    2828        self.figmgr = FigureManagerBase(self.canvas,1)
     29        # This seems necessary when using Gcf, as this is done in
     30        # pyplot.figure. Otherwise this can cause atexit errors at cleanup
     31       
     32        self.figmgr._cidgcf = None
    2933        _pylab_helpers.Gcf.figs[self.figmgr.num] = self.figmgr
    3034
Note: See TracChangeset for help on using the changeset viewer.