We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8eeecf4 commit 6f2f717Copy full SHA for 6f2f717
src/PyPlot.jl
@@ -248,14 +248,14 @@ for f in (:surf,:mesh,:plot_surface,:plot_wireframe,:contour3D,:contourf3D)
248
@eval begin
249
function $f(X::AbstractVector, Y::AbstractVector, Z::AbstractMatrix, args...; kws...)
250
m, n = length(X), length(Y)
251
- $f(repmat(reshape(X,1,m),n,1), repmat(Y,1,m), Z, args...; kws...)
+ $f(repeat(transpose(X),outer=(n,1)), repeat(Y,outer=(1,m)), Z, args...; kws...)
252
end
253
function $f(X::AbstractMatrix, Y::AbstractVector, Z::AbstractMatrix, args...; kws...)
254
if size(X,1) != 1 && size(X,2) != 1
255
throw(ArgumentError("if 2nd arg is column vector, 1st arg must be row or column vector"))
256
257
258
259
260
261
0 commit comments