Merge pull request #2793 from daschw/gr-3d

add legend line in GR for 3d paths
This commit is contained in:
Daniel Schwabeneder
2020-06-17 14:25:37 +02:00
committed by GitHub
+1 -1
View File
@@ -1878,7 +1878,7 @@ function gr_display(sp::Subplot{GRBackend}, w, h, viewport_canvas)
st == :shape && gr_polyline(x, y)
end
if st in (:path, :straightline)
if st in (:path, :straightline, :path3d)
gr_set_transparency(lc, get_linealpha(series))
if series[:fillrange] === nothing || series[:ribbon] !== nothing
GR.polyline([xpos - 0.07, xpos - 0.01], [ypos, ypos])