-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new
smooth_templates.jl
example (#35)
New `examples/templates/smooth_template.jl` added. This uses PyPlot rather than Plots.jl as I have been because I couldn't figure out how to get the color bars to scale how I wanted. This example required adding several new dependencies to the `docs/Project.toml`. This example is run on the docs build CI job and the plots from this example are included in `docs/src/fitting/fitting_intro.md`. This required adding steps to setup python and install matplotlib. I tried to use PyPlot.jl's default MiniConda installation but this failed sporadically so reverting to `setup-python` which hasn't failed yet. My plotting code uses tex rending so I also added a step to add those dependencies to the job. matplotlib v3.9 is currently not supported by PyPlot.jl so we are restricting matplotlib to 3.8.*.
- Loading branch information
Showing
6 changed files
with
96 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,19 @@ | ||
[deps] | ||
DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab" | ||
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f" | ||
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" | ||
InitialMassFunctions = "e9251ff4-c148-4db3-bf46-89407750fae0" | ||
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" | ||
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7" | ||
PyPlot = "d330b81b-6aea-500a-939a-2ce795aea3ee" | ||
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91" | ||
|
||
[compat] | ||
DelimitedFiles = "1" | ||
Distributions = "0.25" | ||
Documenter = "1" | ||
InitialMassFunctions = "0.1" | ||
Plots = "1" | ||
Printf = "<0.0.1, 1" | ||
PyPlot = "2" | ||
StatsBase = "0.34" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters