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

Fork/develop #3

Merged
merged 7 commits into from
Nov 3, 2018
Merged

Fork/develop #3

merged 7 commits into from
Nov 3, 2018

Conversation

TAlonglong
Copy link
Contributor

Additions to get better control when called from satpy

Not all options in style are added. Thats left TODO

…ad a specified font when loaded from outside
… to align text according as given in style. Added load font if style['font'] is not None ie a file.
TAlonglong added a commit to TAlonglong/satpy that referenced this pull request Nov 23, 2017
…e used when calling save_dataset to add text to an image using pydecorate. eg save_dataset(...., text_overlay={'text': 'THIS IS THE TEXT TO BE ADDED', 'align':{'top_bottom':'bottom', 'left_right':'right'}, 'font':'/usr/share/fonts/truetype/msttcorefonts/Arial.ttf', 'font_size':25, 'height':30, 'bg':'black', 'bg_opacity':255, 'line':'white'}). Not all options available as style in pydecorate are implemented. This is left TODO. This PR is dependent on pytroll/pydecorate#3 to be completed
@coveralls
Copy link

Pull Request Test Coverage Report for Build 5

  • 3 of 25 (12.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-1.8%) to 44.104%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pydecorate/decorator_agg.py 1 6 16.67%
pydecorate/decorator_base.py 2 19 10.53%
Totals Coverage Status
Change from base Build 4: -1.8%
Covered Lines: 187
Relevant Lines: 424

💛 - Coveralls

@coveralls
Copy link

coveralls commented Nov 3, 2018

Pull Request Test Coverage Report for Build 13

  • 3 of 25 (12.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-1.8%) to 44.104%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pydecorate/decorator_agg.py 1 6 16.67%
pydecorate/decorator_base.py 2 19 10.53%
Totals Coverage Status
Change from base Build 4: -1.8%
Covered Lines: 187
Relevant Lines: 424

💛 - Coveralls

@codecov
Copy link

codecov bot commented Nov 3, 2018

Codecov Report

Merging #3 into master will decrease coverage by 1.78%.
The diff coverage is 12%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master      #3      +/-   ##
=========================================
- Coverage   45.88%   44.1%   -1.79%     
=========================================
  Files           5       5              
  Lines         401     424      +23     
=========================================
+ Hits          184     187       +3     
- Misses        217     237      +20
Impacted Files Coverage Δ
pydecorate/__init__.py 100% <ø> (ø) ⬆️
pydecorate/decorator_base.py 41.96% <10.52%> (-1.61%) ⬇️
pydecorate/decorator_agg.py 65.21% <16.66%> (-4.63%) ⬇️

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 1f1a181...716d5b0. Read the comment docs.

@djhoese djhoese merged commit 7f46ef6 into pytroll:master Nov 3, 2018
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.

3 participants