Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plot GP dist test is flaky #6656

Open
Tracked by #7053
ricardoV94 opened this issue Apr 7, 2023 · 5 comments
Open
Tracked by #7053

Plot GP dist test is flaky #6656

ricardoV94 opened this issue Apr 7, 2023 · 5 comments

Comments

@ricardoV94
Copy link
Member

ricardoV94 commented Apr 7, 2023

https://github.com/pymc-devs/pymc/actions/runs/4587854474/jobs/8190466483?pr=6635

@michaelosthege
Copy link
Member

That's not special to plot_gp_dist - it fails in the line pyplot.subplots() (!)

https://github.com/pymc-devs/pymc/actions/runs/4587854474/jobs/8190466483?pr=6635#step:7:188

@ricardoV94 ricardoV94 changed the title Plot GP dist is flaky Plot GP dist test is flaky Apr 22, 2023
@ricardoV94
Copy link
Member Author

Any idea why (and only sometimes)?

@michaelosthege
Copy link
Member

No, I never saw it before, and I'm no expert in tkinter/matplotlib backends..

@QuLogic
Copy link

QuLogic commented Oct 13, 2023

Since this is CI, I assume you don't actually need the interactivity. It would be best to set the backend to a non-interactive one, by setting the MPLBACKEND=Agg environment variable. Then you won't have to worry about Tk being broken.

@ricardoV94
Copy link
Member Author

Sounds good @QuLogic, do you want to take a stab at it yourself?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants