show arg fix; add image to all3D
This commit is contained in:
parent
928c306803
commit
99fe4f615d
@ -805,14 +805,14 @@ function py_add_series(plt::Plot{PyPlotBackend}, series::Series)
|
|||||||
push!(handles, handle)
|
push!(handles, handle)
|
||||||
needs_colorbar = true
|
needs_colorbar = true
|
||||||
|
|
||||||
# TODO: this should probably be handled generically
|
# # TODO: this should probably be handled generically
|
||||||
# expand extrema... handle is a QuadMesh object
|
# # expand extrema... handle is a QuadMesh object
|
||||||
for path in handle[:properties]()["paths"]
|
# for path in handle[:properties]()["paths"]
|
||||||
verts = path[:vertices]
|
# verts = path[:vertices]
|
||||||
xmin, ymin = minimum(verts, 1)
|
# xmin, ymin = minimum(verts, 1)
|
||||||
xmax, ymax = maximum(verts, 1)
|
# xmax, ymax = maximum(verts, 1)
|
||||||
expand_extrema!(sp, xmin, xmax, ymin, ymax)
|
# expand_extrema!(sp, xmin, xmax, ymin, ymax)
|
||||||
end
|
# end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@ -541,10 +541,8 @@ function _plot!(plt::Plot, d::KW, args...)
|
|||||||
|
|
||||||
current(plt)
|
current(plt)
|
||||||
|
|
||||||
# note: lets ignore the show param and effectively use the semicolon at the end of the REPL statement
|
# do we want to force display?
|
||||||
# # do we want to show it?
|
if plt[:show]
|
||||||
# if haskey(d, :show) && d[:show]
|
|
||||||
if get(d, :show, default(:show))
|
|
||||||
gui()
|
gui()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
typealias FuncOrFuncs @compat(Union{Function, AVec{Function}})
|
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
|
# missing
|
||||||
convertToAnyVector(v::@compat(Void), d::KW) = Any[nothing], nothing
|
convertToAnyVector(v::@compat(Void), d::KW) = Any[nothing], nothing
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user