I fixed a bug that occured when using a custom figure with vp.plot() e.g. like this: vp.plot(plot_style={"corner":{"fig": plt.figure(figsize=(6,6))}}).
Furthermore, I remove the buggy show_figure parameter of vp.plot(). The user just has to call plt.plot() after the vp.plot() if she wants to display the figure outside of jupiter notebooks. This seemed like the most straightforward way. I did the same in pyvbmc.py when plotting the iterations.
I fixed a bug that occured when using a custom figure with
vp.plot()
e.g. like this:vp.plot(plot_style={"corner":{"fig": plt.figure(figsize=(6,6))}})
.Furthermore, I remove the buggy
show_figure
parameter ofvp.plot()
. The user just has to callplt.plot()
after thevp.plot()
if she wants to display the figure outside of jupiter notebooks. This seemed like the most straightforward way. I did the same inpyvbmc.py
when plotting the iterations.