Using Arviz with Pymc3 and Tkinter
See original GitHub issueHi! I am using pymc3 for MCMC( pmx.sample() ) and then az.summary(trace).In Jupyter notebook everything works fine,but when i use Tkinter (I am making a GUI) ,and press the button I assigned for arviz summary command,nothing happends(in the command line of notebook doesnt appear error or something similar).The rest of the GUI runs without problems.
Code Example
import arviz as az
def Summary_MCMC():
az.summary(trace,var_names=["rpl","b","period","Rstar","Mstar","mean"])
myLabel15= Label(root,text="See your parameters after the MCMC",fg="white",bg="black")
myLabel15.grid(row=43, column=4)
myButton15 = Button(root, text="Summary", padx=40, pady=11, command=Summary_MCMC, fg="blue", bg="white")
myButton15.grid(row=43, column=5)
arviz version 0.11.2 pymc3 version 3.11.2 pymc3-ext version 0.1.0 tkinter version 8.6.10
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Arviz error when using plot functions of pymc3 - PyMC Discourse
This is the latest update on a test code ( I installed pymc3 after cloning it using this command: “ python setup.py install...
Read more >ArviZ Quickstart — ArviZ 0.14.0 documentation
For much more powerful querying, analysis and plotting, we can use built-in ArviZ utilities to convert PyMC3 objects to xarray datasets.
Read more >Community — ArviZ dev documentation
This page covers how can someone participate in the ArviZ community (this someone could be you!), gives an overview of the ecosystem of...
Read more >problem while processing pymc3 data · Issue #1279 - GitHub
I'm unable to sample a blackbox likelihood in pymc3. There is an exception raised when arviz is asked to process the trace.
Read more >PyMC3 and Arviz: Visualizing highest posterior density for ...
I would like to visualize posterior density that corresponds to it's condition. How can I plot hpd for each group? EDIT: Issue has...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Xamoutsa Closing is just us trying to keep things organized. Feel free to keep asking for help but do know none of us are tkinter experts so frankly speaking their docs and sites may be more helpful. However we are happy to share any knowledge we do have!
We call
plt.show
internally which is why you see the output from plots.You need to search how to show pandas dataframe or transform it to something that can be shown in the gui (either as a text or image).
I will close this issue, as this is not a bug in arviz.