-
Notifications
You must be signed in to change notification settings - Fork 10
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
Use upstream updates to plugin plots #55
Use upstream updates to plugin plots #55
Conversation
ac76c8c
to
d03f949
Compare
wasn't failing before because jdaviz didn't enforce not setting non-exposed attributes
90d2d51
to
c19297b
Compare
self.plot.figure.axes[1].label = 'power' | ||
self.plot.figure.fig_margin = {'top': 60, 'bottom': 60, 'left': 65, 'right': 15} |
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.
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.
Correction: the line above is not responsible for the figure/viewer axis label spacing.
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.
let's address the main viewer padding separately. It may be hard to get right in general, especially with such a large possible range in flux values.
* update freq analysis plot to use glue-viewers * improve axes styling/padding (in plugin plots) * update jdaviz pin to 3.8 * update tests * add binning.show_live_preview to user-api (wasn't failing before because jdaviz didn't enforce not setting non-exposed attributes)
This updates the plot in frequency analysis to account for changes upstream in spacetelescope/jdaviz#2498 (which adds tool and pan/zoom support), and in doing so requires jdaviz 3.8.
Note that this also means that without this PR, the former implementation may be broken once jdaviz 3.8 is released.
Waiting for: jdaviz 3.8