plot_transection: bugfix for add_arrow()#778
Merged
yunjunz merged 3 commits intoinsarlab:mainfrom May 23, 2022
Merged
Conversation
+ utils/plot.plot_colorbar(): use len(unique_values) instead of cmap_lut while checking for discrete colorbar ticks + view: rm the useless plt.subplots(num), as it shows up in notebooks with %matplotlib widget + docs/installation: minor comment simplification
+ iono_tec: printout CENTER_LINE_UTC and local solar time + diff.check_reference(): simple refactor and bugfix when file1 is absolute w/o REF_DATE.
+ fix the "IndexError: index 2 is out of bounds for axis 0 with size 2"
Member
Author
|
@yjzhenglamarmota thank you for sending your data offline. I was able to reproduce the error. Could you please confirm whether this PR fix the issue on your end? |
Contributor
Yes, thank you! |
yjzhenglamarmota
approved these changes
May 23, 2022
Contributor
yjzhenglamarmota
left a comment
There was a problem hiding this comment.
My original issue is resolved.
yuankailiu
pushed a commit
to yuankailiu/MintPy
that referenced
this pull request
Jun 2, 2022
+ plot_transection.py: fix the "IndexError: index 2 is out of bounds for axis 0 with size 2" due to utils/plot.add_arrow() + utils/plot.plot_colorbar(): use len(unique_values) instead of cmap_lut while checking for discrete colorbar ticks + view: rm the useless plt.subplots(num), as it shows up in notebooks with %matplotlib widget + iono_tec: printout CENTER_LINE_UTC and local solar time + diff.check_reference(): simple refactor and bugfix when file1 is absolute w/o REF_DATE. + docs/installation: minor comment simplification
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of proposed changes
fix the
plot_transection.pybug (add_arrow does not support geocoded file in plot_transections.py #777) identified by @yjzhenglamarmota.plus a few minor changes in:
Reminders