Skip to content
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

Add ability to plot tables in PlotViewer #1103

Merged
merged 1 commit into from
Oct 4, 2024

Conversation

ejeschke
Copy link
Owner

@ejeschke ejeschke commented Jun 7, 2024

This PR enhances the Plot viewer and integrates it more cleanly into a channel.

The main changes are that the Toolbar and Info plugins now adapt their GUI to the type of viewer that is showing in the channel. The table viewer now has controls to plot columns and this will create a Plotable object that is inserted in the channel and can be viewed using the plot viewer.

The Toolbar and Info bar GUIs for the plot viewer now have some controls for things that used to be embedded in the viewer itself--this makes more room for the plot.

@ejeschke
Copy link
Owner Author

ejeschke commented Jun 7, 2024

No hurry, @pllim. This is mostly copying a little code from a plugin you wrote to a viewer you wrote. We have a use case here.

@ejeschke
Copy link
Owner Author

ejeschke commented Jun 7, 2024

Rebased

@pllim
Copy link
Collaborator

pllim commented Jun 7, 2024

I probably won't have time till end of June. Is that too late?

@ejeschke
Copy link
Owner Author

ejeschke commented Jun 8, 2024

Yeah, probably. Don't worry about it.

@pllim
Copy link
Collaborator

pllim commented Jun 21, 2024

I might be able to review this next week if you still need help. Please let me know!

@ejeschke ejeschke marked this pull request as draft June 23, 2024 00:32
@ejeschke
Copy link
Owner Author

I might be able to review this next week if you still need help. Please let me know!

No, I'm going to be adding to this, so don't worry about it for now.

- modified Toolbar and Info plugins so that they can switch GUIs according
  to the active viewer in a channel
  - When viewing a table you can pick columns to plot in the Info bar
    and make a plot that becomes its own Plotable object in the channel
- added methods to access viewers from channel object
- a few improvements to the plot viewer
@ejeschke ejeschke marked this pull request as ready for review October 4, 2024 02:12
@ejeschke ejeschke merged commit 6b07169 into ejeschke:main Oct 4, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants