From 11b08e767a31b9b6a528b6f8deb5917a1f0f5ae8 Mon Sep 17 00:00:00 2001 From: Abhinav Natarajan Date: Mon, 5 Dec 2022 23:09:54 +0000 Subject: [PATCH] edit docs, bump version to 1.0.0 --- Project.toml | 2 +- examples/basic_example.jl | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index 0a85219..a38810e 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "RedClust" uuid = "bf1adee6-87fe-4679-8d23-51fe99940a25" authors = ["Abhinav Natarajan "] -version = "1.0.0-beta" +version = "1.0.0" [deps] Clustering = "aaaa29a8-35af-508c-8bc3-b662a17a0fe5" diff --git a/examples/basic_example.jl b/examples/basic_example.jl index 9b8f642..05f89e1 100644 --- a/examples/basic_example.jl +++ b/examples/basic_example.jl @@ -35,6 +35,9 @@ guidefontsize = 16, tickfontsize = 16, colorbar_tickfontsize = 16, legend_font_pointsize = 16) + +# seed the default RNG so that documentation remains stable +seed!(44) #!setup # Next we define some convenience functions for plotting. @@ -183,7 +186,9 @@ begin histogram(result.p, normalize = :pdf, ylabel = "Density", xlabel = "p", title = "Posterior Distribution of p", - label = "Empirical density", legend_font_pointsize=12) + label = "Empirical density", + legend_font_pointsize=12, + legend_position = :best) density!(result.p, color=:black, linewidth = 2, linestyle=:dash, label = "Kernel estimate") end