diff --git a/src/backends/gr.jl b/src/backends/gr.jl index 9041b4b2..d9f041b2 100644 --- a/src/backends/gr.jl +++ b/src/backends/gr.jl @@ -148,7 +148,7 @@ function gr_polyline(x, y, func = GR.polyline; arrowside = :none, arrowstyle = : end end -function gr_polyline3d(x, y, z, func = GR.polyline3d; arrowside = :none, arrowstyle = :simple) +function gr_polyline3d(x, y, z, func = GR.polyline3d) iend = 0 n = length(x) while iend < n-1 @@ -176,14 +176,6 @@ function gr_polyline3d(x, y, z, func = GR.polyline3d; arrowside = :none, arrowst # if we found a start and end, draw the line segment, otherwise we're done if istart > 0 && iend > 0 func(x[istart:iend], y[istart:iend], z[istart:iend]) - if arrowside in (:head,:both) - gr_set_arrowstyle(arrowstyle) - GR.drawarrow(x[iend-1], y[iend-1], z[iend-1], x[iend], y[iend], z[iend]) - end - if arrowside in (:tail,:both) - gr_set_arrowstyle(arrowstyle) - GR.drawarrow(x[istart+1], y[istart+1], z[istart+1], x[istart], y[istart], z[istart]) - end else break end