Skip to content

Commit

Permalink
Removed printObject, which is not used anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkobunse committed Aug 3, 2020
1 parent 30944fc commit 4428855
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/PGFPlots.jl
Original file line number Diff line number Diff line change
Expand Up @@ -322,19 +322,6 @@ function printList(o::IO, a::AbstractVector; brackets=false)
end
end

function printObject(o::IO, object)
string_object = string(object)
if length(string_object) > 0
print(o, "\n ")
end
print(o, join(map(strip, split(string_object, ",")), ",\n "))
if length(string_object) > 0
println(o)
end
end

printObject(o::IO, object::AbstractVector) = printList(o, object, brackets=true)

function nextOptionHelper(o::IO, isFirst::Bool, brackets::Bool, breakLine::Bool=true)
if isFirst && brackets
print(o, "[\n ")
Expand Down

0 comments on commit 4428855

Please sign in to comment.