Skip to content

Commit f6ec9a2

Browse files
committed
Fix deprecation comments
1 parent 85bb907 commit f6ec9a2

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"
1010
[compat]
1111
RecipesBase = "1.0"
1212
Unitful = "0.16, 0.17, 0.18, 1.0"
13-
julia = "1.0 - 1.8.1"
13+
julia = "1.0"
1414

1515
[extras]
1616
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"

src/UnitfulRecipes.jl

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
11
module UnitfulRecipes
22

3-
@warn """
4-
UnitfulRecipes has been deprecated.
5-
6-
```
7-
using Unitful, Plots
8-
```
9-
should suffice to plot unitful data.
10-
"""
11-
123
using RecipesBase
134
using Unitful: Quantity, unit, ustrip, Unitful, dimension, Units
145
export @P_str
156

167
const clims_types = (:contour, :contourf, :heatmap, :surface)
178

9+
function __init__()
10+
@warn """
11+
UnitfulRecipes has been deprecated.
12+
13+
```
14+
using Unitful, Plots
15+
```
16+
should suffice to plot unitful data.
17+
"""
18+
end
19+
1820
#==========
1921
Main recipe
2022
==========#

0 commit comments

Comments
 (0)