plotlyjs fix
This commit is contained in:
parent
d09ca46141
commit
ded9f332f6
@ -55,14 +55,10 @@ end
|
||||
|
||||
function _add_annotations{X,Y,V}(plt::Plot{PlotlyJSPackage}, anns::AVec{@compat(Tuple{X,Y,V})})
|
||||
# set or add to the annotation_list
|
||||
@show typeof(anns), typeof(get(plt.plotargs, :annotation_list, nothing))
|
||||
if !haskey(plt.plotargs, :annotation_list)
|
||||
plt.plotargs[:annotation_list] = Any[]
|
||||
end
|
||||
append!(plt.plotargs[:annotation_list], anns)
|
||||
# else
|
||||
# plt.plotargs[:annotation_list] = anns
|
||||
# end
|
||||
end
|
||||
|
||||
# ----------------------------------------------------------------
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user