Merge remote-tracking branch 'JuliaPlots/master'

This commit is contained in:
Leon Wabeke 2017-02-24 12:13:05 +02:00
commit 2d61b413d6

View File

@ -31,6 +31,7 @@ const _plotly_attr = merge_with_base_supported([
:hover, :hover,
:inset_subplots, :inset_subplots,
:bar_width, :bar_width,
:clims,
]) ])
const _plotly_seriestype = [ const _plotly_seriestype = [
@ -438,6 +439,11 @@ function plotly_series(plt::Plot, series::Series)
end end
end end
clims = sp[:clims]
if is_2tuple(clims)
d_out[:zmin], d_out[:zmax] = clims
end
# set the "type" # set the "type"
if st in (:path, :scatter, :scattergl) if st in (:path, :scatter, :scattergl)
d_out[:type] = st==:scattergl ? "scattergl" : "scatter" d_out[:type] = st==:scattergl ? "scattergl" : "scatter"