Ignore:
Timestamp:
04/22/11 18:21:29 (13 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: No (a fix)

Ready for Test: Yes

Interface Changes: added a new method new_asaplot() to module asapplotter which returns asaplot instance based on your backend selection.

What Interface Changed:

Test Programs: sdaverage, sdsmooth with verify=True and plotlevel > 0

Put in Release Notes: No

Module(s):

Description: proper handling of plotting in non-TkAgg? backend.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asapfitter.py

    r2047 r2150  
    538538            return
    539539        if not self._p or self._p.is_dead:
    540             if rcParams['plotter.gui']:
    541                 from asap.asaplotgui import asaplotgui as asaplot
    542             else:
    543                 from asap.asaplot import asaplot
    544             self._p = asaplot()
     540            #if rcParams['plotter.gui']:
     541            #    from asap.asaplotgui import asaplotgui as asaplot
     542            #else:
     543            #    from asap.asaplot import asaplot
     544            #self._p = asaplot()
     545            from asap.asapplotter import new_asaplot
     546            self._p = new_asaplot(rcParams['plotter.gui'])
    545547        self._p.hold()
    546548        self._p.clear()
Note: See TracChangeset for help on using the changeset viewer.