-
Notifications
You must be signed in to change notification settings - Fork 76
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
fix nested toolbar in specviz2d/mosviz 2d profile viewer #1778
Conversation
1fb9160
to
554375a
Compare
Codecov ReportBase: 87.81% // Head: 87.81% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## main #1778 +/- ##
=======================================
Coverage 87.81% 87.81%
=======================================
Files 95 95
Lines 10165 10165
=======================================
Hits 8926 8926
Misses 1239 1239
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
raise KeyError(f"The SRCTYPE keyword in the header of file {fname}" | ||
raise KeyError(f"The SRCTYPE keyword in the header of file {fname} " | ||
"is not populated (expected values: EXTENDED or POINT)") from e |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not really applicable to the fix here, but ran into it while testing mosviz and I don't think it warrants its own PR...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
@@ -99,7 +99,7 @@ def set_plot_axes(self): | |||
|
|||
|
|||
@viewer_registry("mosviz-profile-2d-viewer", label="Spectrum 2D (Mosviz)") | |||
class MosvizProfile2DView(BqplotImageView, JdavizViewerMixin): | |||
class MosvizProfile2DView(JdavizViewerMixin, BqplotImageView): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤯
…iz 2d profile viewer
…8-on-v3.0.x Backport PR #1778 on branch v3.0.x (fix nested toolbar in specviz2d/mosviz 2d profile viewer)
Description
This pull request fixes the nested toolbar in the 2d spectrum viewers in specviz2d and mosviz (see #1679 - which was supposed to replace the original toolbar with the nested toolbar, but forgot to change the inheritance order of this viewer).
Before:
After:
Change log entry
CHANGES.rst
? If you want to avoid merge conflicts,list the proposed change log here for review and add to
CHANGES.rst
before merge. If no, maintainershould add a
no-changelog-entry-needed
label.Checklist for package maintainer(s)
This checklist is meant to remind the package maintainer(s) who will review this pull request of some common things to look for. This list is not exhaustive.
trivial
label.