Skip to content

Fix for Matplotlib issues in TravisCI #475

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

Merged
merged 15 commits into from
Jan 27, 2014
Merged

Fix for Matplotlib issues in TravisCI #475

merged 15 commits into from
Jan 27, 2014

Conversation

fonnesbeck
Copy link
Member

No description provided.

Christopher Fonnesbeck and others added 15 commits January 23, 2014 11:28
This commit makes two changes to avoid Matplotlib display errors from
non-interactive shells.

1. Use Agg backend in test_plots.py.
2. Import pyplot within plotting functions. This allows plotting
   functions to still be imported into top-level __init__.py without
   selecting a another backend before Agg can be selected in tests.

This also has the advantage that users running scripts in a
non-interactive shell will be able to specify the backend after the
top-level pymc import.
fonnesbeck pushed a commit that referenced this pull request Jan 27, 2014
Fix for Matplotlib issues in TravisCI
@fonnesbeck fonnesbeck merged commit 24df99e into master Jan 27, 2014
@twiecki twiecki deleted the fix_travis branch January 27, 2014 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants