Closed ashwani-rathee closed 3 years ago
Plots
should be included inProject.toml
with an appropriate compat.
@johnnychen94 Hey,how can i do that? The last time I did something similiar,I used below command for project.toml generation "Pkg.generate("MusicProcessing")" #5
You could do it by activating the current project and adding it:
$ julia --project=.
pkg> add Plots
and then manually modifying Project.toml
to add a compat entry for Plots
( Plots = [1]
, maybe).
little confused about where to add the chelsea.png in src/assets? or in democards/examples/covers
In a relative directory assets/chelsea.png
and it's generated in runtime. You can take a look at other examples, e.g., https://github.com/JuliaImages/juliaimages.github.io/blob/18356b56e102c4b7d97cfbf3f9947536244a1c4a/docs/examples/image_quality_and_benchmarks/structural_similarity_index.jl#L46
This adds plots and cover properly,should I combine the graphs together?
Similar to #183, I do think this demo can be written in a more concise while still informative way. There will be many new users looking at the demo so I hope they can be polished into some kind of "standard" form. I'll wait for a few more days so that you get more time to think about it.
@johnnychen94 I did try to update by looking at canny rework and shortening the graph code by creating array,list,loop usage. Also updated the language used as I show in canny rework.Though I am not sure what a standard demo is supposed to look like :)
Curious to ask, have you ever tried out the partial build functionality of DemoCards?
julia> using DemoCards
julia> preview_demos("docs/examples/spatial_transformation/histogram_matching.jl")
If you haven't, then I'd recommend you to try this out because it significantly reduces the building time.
Actually,I have.It's pretty good at what it's supposed to do,though it did confused me as it directs to index.html and not the demo directly.
Demo for histogram matching has been added with this #164
Needs review
closes #165