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

support colorbar customization #78

Open
5 tasks
kswang1029 opened this issue Mar 7, 2023 · 2 comments
Open
5 tasks

support colorbar customization #78

kswang1029 opened this issue Mar 7, 2023 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@kswang1029
Copy link
Contributor

kswang1029 commented Mar 7, 2023

Need new functions for the Image class

including

  • visibility (show / hide)
  • orientation (right / top / bottom)
  • label (no label, a custom string)
  • ticks density
  • colors of border, ticks, tick values, and label
    etc...

note that in the settings dialog, we can customizing the colorbar a LOT.

@confluence
Copy link
Collaborator

This can already be done with various overlay functions on the session, but we can add a function grouping the colorbar options together. This should be on the session object; the same overlay settings are used for all images.

@kswang1029 kswang1029 added this to the v4.0-stable milestone May 11, 2023
@I-Chenn
Copy link
Contributor

I-Chenn commented Jun 14, 2023

@confluence , @kswang1029:
If we want to configure all the items in colorbar within a single function, there will be 26 parameters in that function, which is a bit bloated. May I group them into 5 functions, say: colorbar_visibility, colorbar_label, colorbar_number, colorbar_ticks and colorbar_border, just like the grouping at frontend GUI?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Status: Icebox
Development

Successfully merging a pull request may close this issue.

3 participants