Update Gnuplot.jl

This commit is contained in:
gcalderone 2018-08-31 16:50:29 +02:00 committed by GitHub
parent cc6510f034
commit 1ec6172a28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@ __precompile__(true)
module Gnuplot module Gnuplot
using NormalizeStructure using StructC14N
using ColorTypes using ColorTypes
using Printf using Printf
@ -199,7 +199,7 @@ function parseKeywords(; kwargs...)
ylog=Bool, ylog=Bool,
zlog=Bool) zlog=Bool)
kw = NormalizeStructure.normalize(template; kwargs...) kw = canonicalize(template; kwargs...)
out = Vector{String}() out = Vector{String}()
ismissing(kw.xrange ) || (push!(out, "set xrange [" * join(kw.xrange , ":") * "]")) ismissing(kw.xrange ) || (push!(out, "set xrange [" * join(kw.xrange , ":") * "]"))
ismissing(kw.yrange ) || (push!(out, "set yrange [" * join(kw.yrange , ":") * "]")) ismissing(kw.yrange ) || (push!(out, "set yrange [" * join(kw.yrange , ":") * "]"))