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

Add additional functionality into Plotter class. #661

Merged
merged 10 commits into from
Jul 22, 2022
Merged

Add additional functionality into Plotter class. #661

merged 10 commits into from
Jul 22, 2022

Conversation

jswright-dstl
Copy link
Contributor

This PR adds the ability to pass custom arguments to figure initialisation as highlighted in #655. For example, figsize can be passed to Plotter in initialisation to change the figure size.
Additionally, the method to set equal axes in 3d plots. This uses the data in the figure to set the axes.

@jswright-dstl jswright-dstl requested a review from a team as a code owner June 20, 2022 13:40
@jswright-dstl jswright-dstl requested review from sdhiscocks and orosoman-dstl and removed request for a team June 20, 2022 13:40
stonesoup/plotter.py Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Jun 23, 2022

Codecov Report

Merging #661 (eb92633) into main (aaa895b) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #661      +/-   ##
==========================================
+ Coverage   94.43%   94.45%   +0.01%     
==========================================
  Files         168      168              
  Lines        8429     8451      +22     
  Branches     1630     1638       +8     
==========================================
+ Hits         7960     7982      +22     
  Misses        348      348              
  Partials      121      121              
Flag Coverage Δ
integration 67.58% <29.16%> (-0.12%) ⬇️
unittests 92.15% <100.00%> (+0.07%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
stonesoup/plotter.py 94.17% <100.00%> (+0.76%) ⬆️

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 aaa895b...eb92633. Read the comment docs.

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.

3 participants