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

Refactoring ccftime plot to use objects #103

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

heavelock
Copy link

For increased readibility I decided to do some refactoring of the ccftime plotting method. Instead of using general methods I've changed plot and axis to objects I'm directly referring to. I've also added a plt.close() in case the --show parameter is set to False because in my config the plot was being shown in both cases.

Optimizes imports
PEP8
Changes to the order of execution
@codecov
Copy link

codecov bot commented Nov 4, 2017

Codecov Report

Merging #103 into master will increase coverage by 0.06%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #103      +/-   ##
==========================================
+ Coverage   74.28%   74.34%   +0.06%     
==========================================
  Files          17       17              
  Lines        2477     2491      +14     
==========================================
+ Hits         1840     1852      +12     
- Misses        637      639       +2
Impacted Files Coverage Δ
msnoise/s03compute_cc.py 72.8% <0%> (+0.84%) ⬆️

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 7f0f0ee...c4d4333. Read the comment docs.

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.

None yet

1 participant