-
Notifications
You must be signed in to change notification settings - Fork 11
Plot meta data: data availability #109
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
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #109 +/- ##
==========================================
+ Coverage 98.75% 98.88% +0.13%
==========================================
Files 7 7
Lines 723 808 +85
==========================================
+ Hits 714 799 +85
Misses 9 9 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
It appears testing matplotlib outputs is what is throwing the last errors. The errors are not (only) produced by the new functions added, but by older ones already merged. Options to fix this across all test files using matplotlib at once (according to chatgpt) include:
to workflow actions, |
|
@bwalraven Thanks for this PR. I will have a brief look at the CI errors. |
|
The problem indeed does not stem from this PR. I reran CI in #106 just to see how it works there. Maybe the errors, which are only in the windows CI runs, stems from actions/runner-images#12677 |
|
It is strange that this error regarding tkinter only appears in |
|
There is a test in fig, ax = plt.subplots(figsize=(9, 3))
_ = plg.plot_map.scatter_lines(x0, y0, x1, y1, c="g", ax=ax)and this does not fail. So, why does the fig, ax = plt.subplots()in C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\tkinter\__init__.py:2345: TclError |
|
Good question.. the error also doesn't appear for the python3.10 version, which (coincidentally?) is what I ran locally when writing the functions. |
that hopefully fixes the issues with windows CI runs
|
@bwalraven I have now set the CI config to use Now all test pass 🎉 and test coverage looks great 👍. I had a very very brief look at the code and the updated notebook. Things look fine to me and the PR could be merged now. Is there anything where you think a more detailed review or discussion of your implementation is required? Since this PR is about plotting functions, the details of the implementation are IMO not that crucial. |
|
Thanks for your efforts on this @cchwala! |
Uh oh!
There was an error while loading. Please reload this page.