Skip to content

Commit

Permalink
fix plotting for unity again
Browse files Browse the repository at this point in the history
  • Loading branch information
teuben committed Nov 4, 2024
1 parent e2ae82b commit 1b91e63
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions bin/rsr_tsys.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# inspect and plot the chassis and band (C/B) based Tsys (or with -t the Spectrum)

_version = "1-aug-2023"
_version = "4-nov-2024"

_help = """Usage: rsr_tsys.py [options] OBSNUM
Expand All @@ -12,9 +12,9 @@
-t Show spectrum instead of tsys
-r --rms RMS Use this RMS (in K) for Tsys jitter to determine a BADCB [Default: 25.0]
-h --help This help
-v --version The script version
-v --version The script version (%s)
"""
""" % _version

import sys
import numpy as np
Expand Down Expand Up @@ -59,6 +59,8 @@
import matplotlib
if plotfile == None:
matplotlib.use('qt5agg')
else:
matplotlib.use('agg')
import matplotlib.pyplot as plt
print('mpl backend tsys',matplotlib.get_backend())

Expand Down

0 comments on commit 1b91e63

Please sign in to comment.