Addresses #96 in response to this PR raised by @tverbele.
moves plot_beliefs and plot_likelihood in most of the demos (not all, due to some differences in the more pedagogical demos) into pymdp.utils.py and imports them from there, in the demos in which their in-line definition is removed.
mimicked the same function imports/replacements in run-through unit-tests for the demos
Addresses #96 in response to this PR raised by @tverbele.
plot_beliefs
andplot_likelihood
in most of the demos (not all, due to some differences in the more pedagogical demos) intopymdp.utils.py
and imports them from there, in the demos in which their in-line definition is removed.