Skip to content

Commit

Permalink
chore: remove treeviews
Browse files Browse the repository at this point in the history
  • Loading branch information
sathvikbhagavan committed Dec 4, 2023
1 parent 43f93d0 commit e068304
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
SymbolicUtils = "d1185830-fcd6-423d-90d6-eec64667417b"
TreeViews = "a2a6695c-b41b-5b7d-aed9-dbfdeacea5d7"

[weakdeps]
SymPy = "24249f21-da20-56a4-8eb1-6a02cf4ae2e6"
Expand Down Expand Up @@ -74,7 +73,6 @@ Setfield = "0.7, 0.8, 1"
SpecialFunctions = "0.7, 0.8, 0.9, 0.10, 1.0, 2"
StaticArrays = "1.1"
SymbolicUtils = "1.4"
TreeViews = "0.3"
julia = "1.6"

[extras]
Expand Down
1 change: 0 additions & 1 deletion src/Symbolics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ include("arrays.jl")
export @register, @register_symbolic
include("register.jl")

using TreeViews
export @variables, Variable
include("variable.jl")

Expand Down
7 changes: 0 additions & 7 deletions src/variable.jl
Original file line number Diff line number Diff line change
Expand Up @@ -377,13 +377,6 @@ macro variables(xs...)
esc(_parse_vars(:variables, Real, xs))
end

TreeViews.hastreeview(x::Symbolic) = issym(x)

function TreeViews.treelabel(io::IO,x::Symbolic,
mime::MIME"text/plain" = MIME"text/plain"())
show(io,mime,Text(getname(x)))
end

const _fail = Dict()

_getname(x, _) = nameof(x)
Expand Down

0 comments on commit e068304

Please sign in to comment.