Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
boriskaus committed Jul 12, 2023
1 parent 3c96ec4 commit a88dd45
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/LaMEM_ModelGeneration/LaMEM_ModelGeneration.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ This returns a string with the documentation for a parameter `field` that is wit
Note that this structure must be a help structure of the current one.
"""
function get_doc(structure, field::Symbol)
#=
alldocs = Docs.meta(LaMEM_Model);
var = eval(Meta.parse("Docs.@var($structure)"))
@show var
#=
fields_local = alldocs[var].docs[Union{}].data[:fields]
str = fields_local[field]
Expand Down
2 changes: 1 addition & 1 deletion src/MakieExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function plot_initial_setup(model::LaMEM.Model; x=nothing, y=nothing, z=nothing,
display(fig)
=#
h = Plots.heatmap(x_vec, z_vec, data, xlabel=x_str, ylabel=z_str, title=title_str, aspect_ratio=:equal)
h = heatmap(x_vec, z_vec, data, xlabel=x_str, ylabel=z_str, title=title_str, aspect_ratio=:equal)
display(h)

return h
Expand Down

0 comments on commit a88dd45

Please sign in to comment.