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

Temporary fix for show_plan method #72

Merged
merged 1 commit into from
Nov 5, 2021

Conversation

elbeejay
Copy link
Contributor

@elbeejay elbeejay commented Nov 4, 2021

Slightly modifies the show_plan() method to set x/y limits using metadata if it is available, otherwise previous behavior is retained at this time. Closes #71.

Although will have to be re-visited if the method is moved to plan.py and as the dimensions/coordinate handling changes.

@codecov
Copy link

codecov bot commented Nov 5, 2021

Codecov Report

Merging #72 (f177677) into develop (06490fb) will decrease coverage by 0.09%.
The diff coverage is 0.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop      #72      +/-   ##
===========================================
- Coverage    87.67%   87.57%   -0.10%     
===========================================
  Files            9        9              
  Lines         2693     2696       +3     
===========================================
  Hits          2361     2361              
- Misses         332      335       +3     
Impacted Files Coverage Δ
deltametrics/cube.py 79.47% <0.00%> (-0.80%) ⬇️

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 06490fb...f177677. Read the comment docs.

Copy link
Contributor

@amoodie amoodie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah this is fine as a quick fix. I think I implemented something with setting the extent argument in the imshow call to get it working correctly, but I need to get a bunch of things merged in still, sorry about that.

@elbeejay
Copy link
Contributor Author

elbeejay commented Nov 5, 2021

bit wary about this docs error but I guess we'll see what happens

@elbeejay elbeejay merged commit a8367c6 into sandpiper-toolchain:develop Nov 5, 2021
@amoodie amoodie mentioned this pull request Nov 5, 2021
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.

Fix cube.show_plan()
2 participants