Merge pull request #1857 from BoundaryValueProblems/master

vmin, vmax in KW were suppressed for :wireframe
This commit is contained in:
Michael Krabbe Borregaard 2018-12-03 08:09:34 +01:00 committed by GitHub
commit a882685169
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -378,7 +378,11 @@ function py_add_series(plt::Plot{PyPlotBackend}, series::Series)
vmin, vmax = clims = get_clims(sp) vmin, vmax = clims = get_clims(sp)
# Dict to store extra kwargs # 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 # holds references to any python object representing the matplotlib series
handles = [] handles = []