From b9b7edc72d53d4858572caf2881fd2f1b82fac6a Mon Sep 17 00:00:00 2001 From: Naoki Saito Date: Sun, 2 Dec 2018 15:37:25 -0800 Subject: [PATCH] vmin, vmax in KW were suppressed for :wireframe --- src/backends/pyplot.jl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/backends/pyplot.jl b/src/backends/pyplot.jl index 0a581a3f..3683a074 100644 --- a/src/backends/pyplot.jl +++ b/src/backends/pyplot.jl @@ -390,7 +390,11 @@ function py_add_series(plt::Plot{PyPlotBackend}, series::Series) vmin, vmax = clims = get_clims(sp) # Dict to store extra kwargs - extrakw = KW(:vmin => vmin, :vmax => vmax) + if st == :wireframe + extrakw = KW() # vmin, vmax cause an error for wireframe plot + else + extrakw = KW(:vmin => vmin, :vmax => vmax) + end # holds references to any python object representing the matplotlib series handles = []