Skip to content

Commit 9a73625

Browse files
committed
Add deprecation notices and bump version
1 parent 6e1d43e commit 9a73625

File tree

4 files changed

+27
-2
lines changed

4 files changed

+27
-2
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "UnitfulRecipes"
22
uuid = "42071c24-d89e-48dd-8a24-8a12d9b8861f"
33
authors = ["Benoit Pasquier", "David Gustavsson", "Jan Weidner"]
4-
version = "1.6.0"
4+
version = "1.6.1"
55

66
[deps]
77
RecipesBase = "3cdcf5f2-1ef4-517c-9805-6587b60abb01"
@@ -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"
13+
julia = "1.0 - 1.8.1"
1414

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

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
*for plotting data with units seamlessly in Julia*
44

5+
## Deprecation
6+
7+
As of Plots.jl `v1.34.1`, UnitfulRecipes is included in Plots, and is no longer
8+
necessary. Instead, loading both Unitful.jl and Plots.jl suffices to plot
9+
unitful data.
10+
11+
## Archive
12+
513
<p>
614
<a href="https://jw3126.github.io/UnitfulRecipes.jl/stable/">
715
<img src="https://img.shields.io/github/workflow/status/jw3126/UnitfulRecipes.jl/Documentation?style=for-the-badge&label=Documentation&logo=Read%20the%20Docs&logoColor=white">

docs/src/index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
*for plotting data with units seamlessly in Julia*
44

5+
## Deprecation
6+
7+
As of Plots.jl `v1.34.1`, UnitfulRecipes is included in Plots, and is no longer
8+
necessary. Instead, loading both Unitful.jl and Plots.jl suffices to plot
9+
unitful data.
10+
11+
## Archive
12+
513
[UnitfulRecipes.jl](https://github.com/jw3126/UnitfulRecipes.jl) provides recipes for plotting figures ([Plots.jl](https://github.com/JuliaPlots/Plots.jl)) when using data with units ([Unitful.jl](https://github.com/PainterQubits/Unitful.jl)).
614

715

src/UnitfulRecipes.jl

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

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

0 commit comments

Comments
 (0)