Commits
Jorge Lopez authored eafa69f46d3
23 23 | import matplotlib.transforms |
24 24 | import numpy as np |
25 25 | import pylab as pb |
26 26 | from casatasks import casalog |
27 27 | from casatools import (atmosphere, ctsys, measures, ms, msmetadata, quanta, |
28 28 | table) |
29 29 | from matplotlib.ticker import (FormatStrFormatter, MultipleLocator, |
30 30 | ScalarFormatter) |
31 31 | from six.moves import input, range |
32 32 | |
33 + | # CAS-13722, CAS-13385 |
34 + | import warnings |
35 + | import matplotlib.cbook |
36 + | warnings.filterwarnings("ignore",category=matplotlib.cbook.MatplotlibDeprecationWarning) |
33 37 | |
34 38 | PLOTBANDPASS_REVISION_STRING = "$Id: task_plotbandpass.py,v 1.102 2018/01/21 14:45:41 thunter Exp $" |
35 39 | TOP_MARGIN = 0.25 # Used if showatm=T or showtksy=T |
36 40 | BOTTOM_MARGIN = 0.25 # Used if showfdm=T |
37 41 | MAX_ATM_CALC_CHANNELS = 512 |
38 42 | |
39 43 | markeredgewidth = 0.0 |
40 44 | |
41 45 | # This is a color sequence found online which has distinguishable colors |
42 46 | overlayColors = [ |