We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38c7d5b commit 40e43ffCopy full SHA for 40e43ff
1 file changed
src/analyse/momentum.jl
@@ -6,6 +6,11 @@ function plot_momentum!(ax, df::DataFrame, axis::Symbol; absolute = false, kw...
6
end
7
8
9
+# If having `range step cannot be zero` error from Makie, try Plots.jl instead
10
+# Ref:
11
+# - https://github.com/JuliaPlots/Makie.jl/issues/1579
12
+# - https://github.com/JuliaPlots/Makie.jl/issues/1040
13
+# - https://github.com/JuliaPlots/Makie.jl/issues/931
14
function plot_momentum!(ax, df::DataFrame; axis = [:x, :y, :z], colors = nothing, kw...)
15
if isnothing(colors)
16
scenes = [plot_momentum!(ax, df, axis[i]; color = RGB(rand(3)...), kw...) for i in 1:length(axis)]
0 commit comments