Skip to content

Commit

Permalink
Remove type annotation to enable 2D->3D
Browse files Browse the repository at this point in the history
  • Loading branch information
asinghvi17 authored Dec 15, 2024
1 parent 95c1086 commit 51fc4a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CairoMakie/src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ function project_line_points(scene, plot::T, positions::AbstractArray{<: Makie.V
# Standard transform from input space to clip space
# Note that this is type unstable, so there is a function barrier in place.
space = (plot.space[])::Symbol
points = Makie.apply_transform(transform_func(plot), positions, space)::AbstractVector{Point{N, FT}}
points = Makie.apply_transform(transform_func(plot), positions, space)

return project_transformed_line_points(scene, plot, points, colors, linewidths)
end
Expand Down

0 comments on commit 51fc4a5

Please sign in to comment.