diff --git a/src/backends/pyplot.jl b/src/backends/pyplot.jl index 339db4a6..2fbe714e 100644 --- a/src/backends/pyplot.jl +++ b/src/backends/pyplot.jl @@ -805,14 +805,14 @@ function py_add_series(plt::Plot{PyPlotBackend}, series::Series) push!(handles, handle) needs_colorbar = true - # TODO: this should probably be handled generically - # expand extrema... handle is a QuadMesh object - for path in handle[:properties]()["paths"] - verts = path[:vertices] - xmin, ymin = minimum(verts, 1) - xmax, ymax = maximum(verts, 1) - expand_extrema!(sp, xmin, xmax, ymin, ymax) - end + # # TODO: this should probably be handled generically + # # expand extrema... handle is a QuadMesh object + # for path in handle[:properties]()["paths"] + # verts = path[:vertices] + # xmin, ymin = minimum(verts, 1) + # xmax, ymax = maximum(verts, 1) + # expand_extrema!(sp, xmin, xmax, ymin, ymax) + # end end diff --git a/src/plot.jl b/src/plot.jl index 8b9fdbd2..663f3003 100644 --- a/src/plot.jl +++ b/src/plot.jl @@ -541,10 +541,8 @@ function _plot!(plt::Plot, d::KW, args...) current(plt) - # note: lets ignore the show param and effectively use the semicolon at the end of the REPL statement - # # do we want to show it? - # if haskey(d, :show) && d[:show] - if get(d, :show, default(:show)) + # do we want to force display? + if plt[:show] gui() end diff --git a/src/series_args.jl b/src/series_args.jl index 1826458b..ec422e2b 100644 --- a/src/series_args.jl +++ b/src/series_args.jl @@ -7,7 +7,7 @@ typealias FuncOrFuncs @compat(Union{Function, AVec{Function}}) -all3D(d::KW) = trueOrAllTrue(st -> st in (:contour, :heatmap, :surface, :wireframe, :contour3d), get(d, :seriestype, :none)) +all3D(d::KW) = trueOrAllTrue(st -> st in (:contour, :heatmap, :surface, :wireframe, :contour3d, :image), get(d, :seriestype, :none)) # missing convertToAnyVector(v::@compat(Void), d::KW) = Any[nothing], nothing