-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include the main example as page in docs #13
Conversation
Looks good! Can you remove the Manifest from the docs? I will try to run it later as well and then we can merge 😃 |
What is the best way to delete the file? I did not add the file, just updated after adding the packages. It was added in commit 9551b07 |
Sorry Jelmer, was super busy (we have the KM3NeT bootcamp this week as well). I'd suggest to simply delete it with |
I just removed the For some reason, the doc building is stuck at the
|
OK, I hunted it down to the for-loop which creates the plots. For some reason, that one is hanging for me in the background when the examples are executing while building the doc. for (k, startFlav) in enumerate([L"\nu_e", L"\nu_\mu", L"\nu_\tau"])
for (l, endFlav) in enumerate([L"\nu_e", L"\nu_\mu", L"\nu_\tau"])
# create an oscillogram for every start- and endFlav combination
p = heatmap(energies*u"GeV", coszenith, data_points[k,l,:,:], xscale=:log10,
xlabel="Energy", ylabel=L"\cos(\theta_z)", title=latexstring(startFlav, L"\rightarrow", endFlav),
clim=(0,1));
# save each plot
filename = "water_nu_$(k)_nu_$(l).svg"
savefig(p, filename)
end
# instead of showing the output for each flavour, we break here
break
end I don't know why this happens, maybe related to the backend of Plots? I see a |
Anyways, it builds on the CI, so let's go on for now ;) |
Great! Building the docs worked fine for me (on Windows). So I don't know what could cause the issue. |
Fixes #12 and adds the example as part of the docs, which runs the code and plots the output directly in the HTML.