Changeset 2586


Ignore:
Timestamp:
07/05/12 12:57:16 (12 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: No (for a new darwin11 @ CASA for OSX)

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs: test_sdplot[testplot01], or run asap.asapplotter.plot_azel with matplotlib1.1

Put in Release Notes: No

Module(s): sdplot (CASA) and asapplotter

Description:

Handled update of matplotlib version in a new darwin11 package (distributed
in Jul., 2012).
A method, timezone, doesn't exists in matplotlib.dates, and
pytz.timezone should be called instead.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asapplotter.py

    r2576 r2586  
    12671267        visible = rcParams['plotter.gui']
    12681268        from matplotlib import pylab as PL
    1269         from matplotlib.dates import DateFormatter, timezone
     1269        from matplotlib.dates import DateFormatter
     1270        from pytz import timezone
    12701271        from matplotlib.dates import HourLocator, MinuteLocator,SecondLocator, DayLocator
    12711272        from matplotlib.ticker import MultipleLocator
Note: See TracChangeset for help on using the changeset viewer.