Skip to content

Implement fancy indexing for GraphicFeatures #101

Description

@kushalkolar

We need to implement fancy indexing for indexable graphic features so that these things are possible:

line = plot.add_line(array, colors=(0., 0., 0., 0.))

line.colors[array > 5] = "r"

Can probably be implemented in cleanup_slice by using the mask and getting the indices, np.where(array > 5) etc.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    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