Last change
on this file since 1757 was 1757, checked in by Kana Sugimoto, 15 years ago |
New Development: Yes
JIRA Issue: Yes (CAS-2211)
Ready for Test: Yes
Interface Changes: Yes
What Interface Changed: ASAP 3.0.0 interface changes
Test Programs:
Put in Release Notes: Yes
Module(s): all the CASA sd tools and tasks are affected.
Description: Merged ATNF-ASAP 3.0.0 developments to CASA (alma) branch.
Note you also need to update casa/code/atnf.
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
636 bytes
|
Rev | Line | |
---|
[111] | 1 | """
|
---|
| 2 | ASAP plotting class based on matplotlib.
|
---|
| 3 | """
|
---|
| 4 |
|
---|
[708] | 5 | from asap.asaplotbase import *
|
---|
[111] | 6 |
|
---|
[708] | 7 | from matplotlib.backends.backend_agg import FigureCanvasAgg
|
---|
[111] | 8 |
|
---|
[708] | 9 | class asaplot(asaplotbase):
|
---|
[111] | 10 | """
|
---|
| 11 | ASAP plotting class based on matplotlib.
|
---|
| 12 | """
|
---|
[1757] | 13 | def __init__(self, rows=1, cols=0, title='', size=None, buffering=False):
|
---|
[117] | 14 | """
|
---|
| 15 | Create a new instance of the ASAPlot plotting class.
|
---|
[119] | 16 |
|
---|
| 17 | If rows < 1 then a separate call to set_panels() is required to define
|
---|
| 18 | the panel layout; refer to the doctext for set_panels().
|
---|
[117] | 19 | """
|
---|
[708] | 20 | v = vars()
|
---|
| 21 | del v['self']
|
---|
| 22 | asaplotbase.__init__(self,**v)
|
---|
| 23 | self.canvas = FigureCanvasAgg(self.figure)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.