Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • P PyFstat
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

ATTENTION: This Gitlab instance will undergo extended maintenance on 2023-04-12 at 06:00 UTC. The downtime will approximately take 1 hour. Please plan ahead accordingly. For questions please contact atlas_admin@aei.mpg.de

  • Gregory Ashton
  • PyFstat
  • Merge requests
  • !12

displayless matplotlib import workaround also in helper_functions.py

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged David Keitel requested to merge displayless-matplotlib into master Jan 11, 2018
  • Overview 0
  • Commits 1
  • Changes 1

Addresses the first test failure on CIT mentioned in #12 (closed). The same workaround is already present in core.py, not sure why on other systems I hadn't seen the import problem triggered from within helper_functions.py like it now does.

Note other files still have the plain import, but in all scenarios I tried, fixing these two seems to be sufficient. I'd assume enforcing agg once per session is sufficient, and only in some special circumstances are the helper_functions called before the import from core, whereas grid_based_searches and mcmc_based_searches always have had the import from core before they call matplotlib themselves.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: displayless-matplotlib