Add missing deps and fix device bug#72
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #72 +/- ##
===========================================
+ Coverage 39.25% 50.45% +11.20%
===========================================
Files 10 9 -1
Lines 912 660 -252
===========================================
- Hits 358 333 -25
+ Misses 554 327 -227 ☔ View full report in Codecov by Harness. |
|
|
Then the code should treat them as such. For now, whenever one tries to plot something, one would get an ImportError. I can change the code so it is optional if you like |
Ah, I see I missed the import in the |
That one, right? I'll remove it :) |
All of the functions imported from Thus have to check whether pyvisgrid.plotting.animations can be imported and then add the functions to the |
Ah, missed those two there, sorry, my bad. I think it's easier to remove them from module init for now. |
Yeah, I also think that this is the easiest way but sadly it is potentially breaking for certain scripts that i.e. use |
|
I mean, in that case you should install pyvisgrid via the |
Small PR to fix missing cartopy and mergedeep dependencies introduced in #50.
Also fixes
Gridder.from_pyvisgento ensure thatvis_datais a numpy array when obtained from pyvisgen.