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

removed matplotlib.use('agg') from tests #2763

Merged
merged 1 commit into from
Jun 16, 2020
Merged

Conversation

orbeckst
Copy link
Member

@orbeckst orbeckst commented Jun 16, 2020

Fixes #2191

Changes made in this Pull Request:

  • removed matplotlib.use('agg') from tests
  • use MPLBACKEND=agg in the CI environments
    • Travis
    • appveyor
    • Azure pipelines

PR Checklist

  • Tests?
  • Docs?
  • CHANGELOG updated?
  • Issue raised/referenced?

- fix #2191
- use MPLBACKEND=agg in the CI environments
  - Travis
  - appveyor
  - Azure pipelines
- update CHANGELOG
@orbeckst
Copy link
Member Author

This PR also removes the warning

 ~/mdanalysis/benchmarks/env/80c5ba7efaa89366b97da3ced85c0c44/lib/python3.6/site-packages/MDAnalysisTests/__init__.py:125: MatplotlibDeprecationWarning: The 'warn' parameter of use() is deprecated since Matplotlib 3.1 and will be removed in 3.3.  If any parameter follows 'warn', they should be pass as keyword, not positionally.

@codecov
Copy link

codecov bot commented Jun 16, 2020

Codecov Report

Merging #2763 into develop will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #2763   +/-   ##
========================================
  Coverage    91.14%   91.14%           
========================================
  Files          177      177           
  Lines        23767    23767           
  Branches      3122     3122           
========================================
  Hits         21663    21663           
  Misses        1484     1484           
  Partials       620      620           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c761ba3...d8fa7bf. Read the comment docs.

@richardjgowers richardjgowers merged commit 34288cc into develop Jun 16, 2020
PicoCentauri pushed a commit to PicoCentauri/mdanalysis that referenced this pull request Mar 30, 2021
- fix MDAnalysis#2191
- use MPLBACKEND=agg in the CI environments
  - Travis
  - appveyor
  - Azure pipelines
- update CHANGELOG
@IAlibay IAlibay deleted the set-mpl-backend branch May 29, 2022 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Import of Test Examples changes matplotlib backend
3 participants