Skip to content

Commit cdc882b

Browse files
committed
use explicit imports
1 parent e455120 commit cdc882b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/core.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
using Interpolations: linear_interpolation, deduplicate_knots!
22
using Trapz: trapz
3-
using Unitful
4-
using UnitfulAstro
3+
using Unitful: Unitful, @derived_dimension, @u_str, NoUnits, Quantity, dimension, uconvert, uparse, ustrip
4+
import UnitfulAstro
55

66
"""Default unit for wavelengths."""
7-
const wave_unit = Unitful.angstrom
7+
const wave_unit = u"angstrom"
88

99
# Dispatch methods for AbstractFilter constructors
1010
_convert_wave(w) = w * wave_unit

src/plots.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using RecipesBase
1+
using RecipesBase: @recipe, @series
22

33
@recipe function f(filt::AbstractFilter)
44
label --> filtername(filt)

0 commit comments

Comments
 (0)