Skip to content

Commit

Permalink
tring to fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bmorris3 committed Dec 3, 2018
1 parent 5288ce4 commit 0b02d81
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion arcesetc/plots.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import matplotlib.pyplot as plt
import numpy as np
import astropy.units as u
from .utils import (closest_target, archive, scale_flux,
Expand Down Expand Up @@ -87,6 +86,8 @@ def plot_order_counts(sptype, wavelength, V, exp_time=None,
wave, flux = matrix_row_to_spectrum(matrix, closest_order)
flux *= scale_flux(archive[target], V)

import matplotlib.pyplot as plt

fig, ax = plt.subplots()

if exp_time is not None and signal_to_noise is None:
Expand Down Expand Up @@ -188,6 +189,8 @@ def plot_order_sn(sptype, wavelength, V, exp_time=None, signal_to_noise=None,
wave, flux = matrix_row_to_spectrum(matrix, closest_order)
flux *= scale_flux(archive[target], V)

import matplotlib.pyplot as plt

fig, ax = plt.subplots()

if exp_time is not None:
Expand Down

0 comments on commit 0b02d81

Please sign in to comment.