Skip to content

Commit 075862c

Browse files
IckaserBeastyBlacksmithsostock
authored
Drop UnitfulLatexify as a dependency for v1 (#5174)
* Excise UnitfulLatexify as a distinct package, set proper compat bounds on Latexify and Unitful * Update Project.toml Co-authored-by: Sebastian Stock <[email protected]> * Unitful + Latexify extension won't work on old Julia anyway * tighter syntax? * Manually trigger latexify extension from Plots with Requires * Ugly hack doesn't work anyway * Put UnitfulLatexify back in * Assuming julia compat bumps up to 1.10, pull UnitfulLatexify back out --------- Co-authored-by: Simon Christ <[email protected]> Co-authored-by: Sebastian Stock <[email protected]>
1 parent edd52c5 commit 075862c

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

Project.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
3838
TOML = "fa267f1f-6049-4f14-aa54-33bafae1ed76"
3939
UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
4040
UnicodeFun = "1cfade01-22cf-5700-b092-accc4b62d6e1"
41-
UnitfulLatexify = "45397f5d-5981-4c77-b2b3-fc36d6e9b728"
4241
Unzip = "41fe7b60-77ed-43a1-b4f0-825fd5a5650d"
4342

4443
[weakdeps]
@@ -68,7 +67,7 @@ InspectDR = "0.4"
6867
JLFzf = "0.1"
6968
JSON = "0.21, 1"
7069
LaTeXStrings = "1"
71-
Latexify = "0.14 - 0.16"
70+
Latexify = "0.16.9"
7271
Measures = "0.3"
7372
NaNMath = "0.3, 1"
7473
PGFPlots = "3"
@@ -92,7 +91,7 @@ Statistics = "1"
9291
StatsBase = "0.33 - 0.34"
9392
UnicodeFun = "0.4"
9493
UnicodePlots = "3.4"
95-
UnitfulLatexify = "1"
94+
Unitful = "1.25"
9695
Unzip = "0.1 - 0.2"
9796
julia = "1.10"
9897

ext/UnitfulExt.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import RecipesBase
88
@ext_imp_use :import Unitful Quantity unit ustrip Unitful dimension Units NoUnits LogScaled logunit MixedUnits Level Gain uconvert
99
import LaTeXStrings: LaTeXString
1010
import Latexify: latexify
11-
using UnitfulLatexify
1211

1312
const MissingOrQuantity = Union{Missing, <:Quantity, <:LogScaled}
1413

test/test_quality.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
:LaTeXStrings,
1414
:Requires,
1515
:Pkg,
16-
:UnitfulLatexify,
1716
],
1817
),
1918
ambiguities = false,

test/test_unitful.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using Plots, Test
22
using Unitful
33
using Unitful: m, cm, s, DimensionError
4-
using Latexify, UnitfulLatexify
4+
using Latexify
55
# Some helper functions to access the subplot labels and the series inside each test plot
66
xguide(pl, idx = length(pl.subplots)) = Plots.get_guide(pl.subplots[idx].attr[:xaxis])
77
yguide(pl, idx = length(pl.subplots)) = Plots.get_guide(pl.subplots[idx].attr[:yaxis])

0 commit comments

Comments
 (0)