ePSIC-DLS / particlespy

Package for analysing particles in electron microscopy data sets.
GNU General Public License v3.0
19 stars 9 forks source link

Add kwargs to plotting and fix 1D plotting bug #63

Closed TomSlater closed 3 years ago

TomSlater commented 3 years ago

Added kwargs for all matplotlib plotting functionality.

Fixed bug in which 1D histograms would not display in new figure.

codecov[bot] commented 3 years ago

Codecov Report

Merging #63 (e6b2618) into master (5f51e63) will increase coverage by 1.35%. The diff coverage is 92.85%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #63      +/-   ##
==========================================
+ Coverage   84.94%   86.29%   +1.35%     
==========================================
  Files          15       15              
  Lines         983      978       -5     
==========================================
+ Hits          835      844       +9     
+ Misses        148      134      -14     
Impacted Files Coverage Δ
ParticleSpy/api.py 91.17% <88.88%> (+4.07%) :arrow_up:
ParticleSpy/ptcl_class.py 86.25% <94.11%> (+6.83%) :arrow_up:
ParticleSpy/tests/test_plotting.py 100.00% <100.00%> (ø)
TomSlater commented 3 years ago

This implements #48 .