Skip to content

Commit f6e7395

Browse files
committed
Update sgpanel.jl
1 parent 245c9d0 commit f6e7395

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sgpanel.jl

+2
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ SGPANEL_DEFAULT = Dict(:layout=>:panel, # it can be :panel, :lattice - panel sho
5050

5151

5252
function _sgpanel(ds, panelby::IMD.MultiColumnIndex, plts::Vector{<:SGMarks}; mapformats=true, nominal::Union{Nothing,IMD.ColumnIndex,IMD.MultiColumnIndex}=nothing, xaxis=Axis(), x2axis=Axis(), yaxis=Axis(), y2axis=Axis(), legend::Union{Bool,Legend,Vector{Legend}}=true, threads=nrow(ds) > 10^6, opts...)
53+
# check the consistency of the passed grouped data set
54+
IMD._check_consistency(ds)
5355
IMD._get_fmt(ds) != mapformats && throw(ArgumentError("the input data set uses mapformats = $(IMD._get_fmt(ds)), but the sgplot is called with mapformats = $(mapformats)"))
5456

5557
# read opts

0 commit comments

Comments
 (0)