From 7a2a9b5ecfa69a4a94ad3c6ab9da190e1e28aca5 Mon Sep 17 00:00:00 2001 From: mscheltienne Date: Tue, 6 Feb 2024 16:29:23 +0100 Subject: [PATCH] a couple more clean-ups --- tutorials/segmentation/10_entropy.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tutorials/segmentation/10_entropy.py b/tutorials/segmentation/10_entropy.py index b0019e46..f68b185c 100644 --- a/tutorials/segmentation/10_entropy.py +++ b/tutorials/segmentation/10_entropy.py @@ -66,6 +66,7 @@ ModK.reorder_clusters(order=[4, 2, 0, 3, 1]) ModK.rename_clusters(new_names=["A", "B", "C", "D", "F"]) ModK.plot() +plt.show() # %% # Segmentation @@ -115,7 +116,7 @@ # Shannon entropy # --------------- # -# The Shannon entropy :footcite:t:`shannon1948mathematical` of the microstate sequence +# The Shannon entropy\ :footcite:p:`shannon1948mathematical` of the microstate sequence # describes how flat the microstate class distribution is. The two extremes are: # # - A flat distribution. In this example, the maximum entropy would be observed if each