Opened 20 years ago
Closed 20 years ago
#23 closed defect (fixed)
plotter.plot failing
| Reported by: | Owned by: | Malte Marquarding | |
|---|---|---|---|
| Priority: | normal | Milestone: | ASAP2 release |
| Component: | General | Version: | 2.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Here's the error message:
ASAP> plotter.plot(s1)
------------------------------------------------------------
Traceback (most recent call last):
File "<console>", line 1, in ?
File "/usr/local/asap2/asap/asapplotter.py", line 90, in plot
self._plot(self._data)
File "/usr/local/asap2/asap/asapplotter.py", line 479, in _plot
plotit(x,y,m)
File "/usr/local/asap2/asap/asaplotbase.py", line 218, in plot
origx = rcParams['xtick.labelsize']
KeyError: 'xtick.labelsize'
How this happened:
d=scantable('2005-02-14_151649_t001.rpf')
sel=selector()
sel.set_ifs(0)
d.set_selection(sel)
q=d.auto_quotient()
print q
q.set_freqframe('LSRK')
q.set_unit('km/s')
q.recalc_azel()
q.gain_el()
q.opacity(0.111)
s1=q.get_scan([0,1])
print s1
s1.get_restfreqs()
plotter.plot(s1)
The data file in question can be found at /u/jlovell/asap_test/t001
Note:
See TracTickets
for help on using tickets.

This crept in on an update I did yesterday and is due to a lower version of matplotlib. I have reloved this.