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
plot_weather.py fails sometimes #528
Comments
I've seen that error in the past when trying to remove the I'm wondering if the range of values is somehow wrong. The date looks okay for one day. PAN001 consistently has 1041 or 1040 entries in that range. Has matplotlib or numpy been updated recently? (Or I guess since this has been working) |
I've not updated matplotlib or numpy recently. I'm inclined to think there
is a bug in our code rather than in the deps. I'm guessing that some extra
logging is in order.
…On Sun, Jul 1, 2018 at 6:47 PM Wilfred Tyler Gee ***@***.***> wrote:
I've seen that error in the past when trying to remove the
bbox_inches='tight' in favor of a self.fig.tight_layout(). But nothing
has changed here recently so I don't think it would have to do with that.
I'm wondering if the range of values is somehow wrong. The date looks okay
for one day. PAN001 consistently has 1041 or 1040 entries in that range.
Has matplotlib or numpy been updated recently? (Or I guess since this has
been working)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#528 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABYmU9i_Y4sOLBru5FTfW1_9Qn34swErks5uCVFqgaJpZM4U-dCX>
.
|
Could easily be in our code but it's run without problems for a long time on PAN001. Has it ever worked reliably on your system? |
No, I don't think it has ever been reliable on PAN006.
…On Sun, Jul 1, 2018 at 8:35 PM Wilfred Tyler Gee ***@***.***> wrote:
Could easily be in our code but it's run without problems for a long time
on PAN001. Has it ever worked reliably on your system?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#528 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABYmU_-C2TBhsyolO4Si4c9B-imeBDMjks5uCWrqgaJpZM4U-dCX>
.
|
You can try just removing the |
This was fixed via a recommendation here: matplotlib/matplotlib#883. Namely, @jamessynge added
Should create a PR for this. |
I will test this on PAN001, where the plot was already working, and make sure it is consistent. Then let's get the one-word PR in. :) |
In some situations (computers? matplotlib or numpy versions? we haven't been able to figure out) the bounding box for the weather plot produces a plot that is way too wide. See issue for links and this solution. Closes panoptes#528
The latest weather plot on PAN006 is from yesterday morning, with more recent attempts failing with errors like this:
@wtgee Could you make suggestions as to how to proceed? matplotlib is not my top skill, but I'm guessing 700K pixels wide is a real no-no.
The text was updated successfully, but these errors were encountered: