File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
3838TOML = " fa267f1f-6049-4f14-aa54-33bafae1ed76"
3939UUIDs = " cf7118a7-6976-5b1a-9a39-7adc72f591a4"
4040UnicodeFun = " 1cfade01-22cf-5700-b092-accc4b62d6e1"
41+ UnitfulLatexify = " 45397f5d-5981-4c77-b2b3-fc36d6e9b728"
4142Unzip = " 41fe7b60-77ed-43a1-b4f0-825fd5a5650d"
4243
4344[weakdeps ]
@@ -52,7 +53,7 @@ FileIOExt = "FileIO"
5253GeometryBasicsExt = " GeometryBasics"
5354IJuliaExt = " IJulia"
5455ImageInTerminalExt = " ImageInTerminal"
55- UnitfulExt = " Unitful"
56+ UnitfulExt = [ " Unitful" , " UnitfulLatexify " ]
5657
5758[compat ]
5859Aqua = " 0.8"
@@ -92,6 +93,7 @@ StatsBase = "0.33 - 0.34"
9293UnicodeFun = " 0.4"
9394UnicodePlots = " 3.4"
9495Unitful = " 1.25"
96+ UnitfulLatexify = " 2"
9597Unzip = " 0.1 - 0.2"
9698julia = " 1.6"
9799
Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ import RecipesBase
88@ext_imp_use :import Unitful Quantity unit ustrip Unitful dimension Units NoUnits LogScaled logunit MixedUnits Level Gain uconvert
99import LaTeXStrings: LaTeXString
1010import Latexify: latexify
11+ if ! isdefined (Base, :get_extension )
12+ import UnitfulLatexify # On Julia <1.9, this glue package loads the extension.
13+ end
1114
1215const MissingOrQuantity = Union{Missing, <: Quantity , <: LogScaled }
1316
You can’t perform that action at this time.
0 commit comments