Skip to content

sync subsets of controllers in GridPlot using subplot names #218

Closed

Description

@kushalkolar

idea from @ArjunPutcha

Activity

  1. ArjunPutcha commented on Jun 29, 2023

    @ArjunPutcha
    Collaborator

    Do you think this is something that should only be done upon initialization of gridplot, or should be a mutable feature after initialization?

  2. ArjunPutcha commented on Jun 29, 2023

    @ArjunPutcha
    Collaborator

    If we should only define this on initialization, do you think the following way is intuitive:
    grid_plot = GridPlot(shape=(1,3), names = ['red', 'ir', 'violet'], controllers=['violet'])

    Where passing in an array of strings automatically defines unique controllers only for those subplots?

    Or if it can be modified after initialization, something like:
    gridplot.sync_controllers(names = [])

  3. kushalkolar commented on Jun 29, 2023

    @kushalkolar
    MemberAuthor

    Making it mutable would be nice!

  4. kushalkolar commented on Jun 29, 2023

    @kushalkolar
    MemberAuthor

    Maybe giving a list of lists, where the plots that correspond to each sub-list are synced, example:

    gridplot = GridPlot(
      ..., 
      names=["red", "ir", "violet", "gamma"],
      controllers=[["red", "ir"], ["violet", "gamma"]]
    )
  5. self-assigned this
    on Jun 29, 2023
  6. linked a pull request that will close this issueSync Subplots by Name #267on Jun 29, 2023
  7. kushalkolar commented on Jan 23, 2024

    @kushalkolar
    MemberAuthor

    done in #382

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions